Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 339885 - net-dns/avahi-0.6.28.ebuild fails on configuration
Summary: net-dns/avahi-0.6.28.ebuild fails on configuration
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-06 01:17 UTC by Randy Tupas
Modified: 2011-02-07 20:26 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Randy Tupas 2010-10-06 01:17:02 UTC
avahi-0.6.28.ebuild fails on configuration:
"configure: error: Package requirements ( libdaemon >= 0.14 ) were not met:

Requested 'libdaemon >= 0.14' but version of libdaemon is 0.13"

Ebuild only requires: "RDEPEND=">=dev-libs/libdaemon-0.11-r1"


Reproducible: Always

Steps to Reproduce:
1.upgrade to unstable avahi
2.
3.

Actual Results:  
ebuild failed on configure:
"configure: error: Package requirements ( libdaemon >= 0.14 ) were not met:

Requested 'libdaemon >= 0.14' but version of libdaemon is 0.13"


Expected Results:  
sucessfully compile avahi

recommend bump RDEPEND for libdaemon to >=0.14
Comment 1 Michael Weber (RETIRED) gentoo-dev 2010-10-06 08:36:55 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
Comment 2 Sven Wegener gentoo-dev 2010-10-06 22:48:02 UTC
I've bumped the dependency to 0.14, if this doesn't fix your problem please reopen.
Comment 3 Toei Rei 2011-02-07 11:00:50 UTC
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

Comment 4 Toei Rei 2011-02-07 11:11:31 UTC
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
Comment 5 Sven Wegener gentoo-dev 2011-02-07 20:26:57 UTC
(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.