Summary: | net-dns/avahi-0.6.28.ebuild fails on configuration | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Randy Tupas <rjtupas> |
Component: | New packages | Assignee: | Sven Wegener <swegener> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gbugs, xmw |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Randy Tupas
2010-10-06 01:17:02 UTC
Hello Randy, thanks for your report, but can you please attach a full build.log (mentioned at the end of the failed emerge process). Thanks, Michael I've bumped the dependency to 0.14, if this doesn't fix your problem please reopen. configure: error: Package requirements ( libdaemon >= 0.14 ) were not met: Package 'libdaemon' has no Name: field Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables LIBDAEMON_CFLAGS and LIBDAEMON_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. !!! Please attach the following file when seeking support: !!! /var/tmp/portage/net-dns/avahi-0.6.28/work/avahi-0.6.28/config.log happens while having libdaemon-0.14-r1 installed... [I] dev-libs/libdaemon Available versions: 0.12 0.13-r1 (~)0.14-r1 {doc examples} Installed versions: 0.14-r1(11:54:42 AM 02/07/2011)(-doc -examples) Homepage: http://0pointer.de/lennart/projects/libdaemon/ Description: Simple library for creating daemon processes in C LIBDAEMON_LIBS=/usr/lib64 emerge -1 avahi did the trick for me to get past configure() - but things fail later with: Making all in avahi-daemon make[2]: Entering directory `/var/tmp/portage/net-dns/avahi-0.6.28/work/avahi-0.6.28/avahi-daemon' CC avahi_daemon-main.o CC avahi_daemon-simple-protocol.o CC avahi_daemon-static-hosts.o CC avahi_daemon-static-services.o CC avahi_daemon-ini-file-parser.o CC avahi_daemon-setproctitle.o CC avahi_daemon-sd-daemon.o CC avahi_daemon-check-nss.o main.c: In function 'log_function': main.c:852:9: error: 'LOG_ERR' undeclared (first use in this function) main.c:852:9: note: each undeclared identifier is reported only once for each function it appears in main.c:853:9: error: 'LOG_WARNING' undeclared (first use in this function) main.c:854:9: error: 'LOG_NOTICE' undeclared (first use in this function) main.c:855:9: error: 'LOG_INFO' undeclared (first use in this function) main.c:856:9: error: 'LOG_DEBUG' undeclared (first use in this function) main.c:865:5: warning: implicit declaration of function 'daemon_log' [-Wimplicit-function-declaration] main.c: In function 'main': main.c:1508:5: error: 'daemon_log_ident' undeclared (first use in this function) main.c:1508:5: warning: statement with no effect [-Wunused-value] main.c:1583:13: error: 'daemon_log_use' undeclared (first use in this function) main.c:1583:30: error: 'DAEMON_LOG_SYSLOG' undeclared (first use in this function) main.c:1583:13: warning: statement with no effect [-Wunused-value] main.c:1624:14: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] main.c: In function 'init_rand_seed': main.c:1450:13: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] main.c: In function 'make_runtime_dir': main.c:1385:10: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] main.c: In function 'run_server': main.c:1159:14: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] make[2]: *** [avahi_daemon-main.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/net-dns/avahi-0.6.28/work/avahi-0.6.28/avahi-daemon' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-dns/avahi-0.6.28/work/avahi-0.6.28' make: *** [all] Error 2 emake failed (In reply to comment #3) > configure: error: Package requirements ( libdaemon >= 0.14 ) were not met: > > Package 'libdaemon' has no Name: field Could you try running pkg-config --debug libdaemon and check which .pc pkg-config uses. libdaemon-0.14 includes a Name field in the .pc files. |