Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 217666 - net-misc/dhcpcd-3.2.3 needs to depend on newer glibc
Summary: net-misc/dhcpcd-3.2.3 needs to depend on newer glibc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-14 15:35 UTC by David Butler
Modified: 2008-10-07 13:02 UTC (History)
0 users

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 David Butler 2008-04-14 15:35:30 UTC
dhcpcd would not build against glibc 2.4-r3

Reproducible: Always

Actual Results:  
>>> Unpacking source...
>>> Unpacking dhcpcd-3.2.3.tar.bz2 to /var/tmp/portage/net-misc/dhcpcd-3.2.3/work
 * ZeroConf support enabled
 * DUID support enabled
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/net-misc/dhcpcd-3.2.3/work/dhcpcd-3.2.3 ...
echo "#define VERSION \"3.2.3\""> version.h
i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -D_BSD_SOURCE -D_XOPEN_SOURCE=600 -std=c99 -pedantic -Wall -Wunused -Wimplicit -Wshadow -Wformat=2 -Wmissing-declarations -Wno-missing-prototypes -Wwrite-strings -Wbad-function-cast -Wnested-externs -Wcomment -Winline -Wchar-subscripts -Wcast-align -Wno-format-nonliteral -Wdeclaration-after-statement -Wsequence-point -Wextra -DINFODIR=\"/var/lib/dhcpcd\"  -DENABLE_OPENRC-c -o arp.o arp.c
In file included from arp.h:34,
                 from arp.c:48:
interface.h:88:3: error: #error "your sys/queue.h is too old and lacks STAILQ"
In file included from arp.h:34,
                 from arp.c:48:
interface.h:99: error: expected specifier-qualifier-list before 'STAILQ_ENTRY'
interface.h:101: error: expected ')' before 'route_t'
interface.h:106: error: expected specifier-qualifier-list before 'STAILQ_ENTRY'
interface.h:108: error: expected ')' before 'address_t'
interface.h:140: warning: 'struct address_head' declared inside parameter list
interface.h:140: warning: its scope is only this definition or declaration, which is probably not what you want
make: *** [arp.o] Error 1
 *
 * ERROR: net-misc/dhcpcd-3.2.3 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line  680:  Called die
 * The specific snippet of code:
 *       emake CC="$(tc-getCC)" INFODIR=/var/lib/dhcpcd || die
 *  The die message:
 *   (no error message)
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/net-misc/dhcpcd-3.2.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/dhcpcd-3.2.3/temp/environment'.
 *


dhcpcd needs to depend against a glibc that has sys/queue.h with STAILQ, what ever version that is...

An easy, however slightly sloppy solution would be to have the ebuild depend on a recent glibc in portage
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2008-10-07 13:02:35 UTC
[14:33] <rsmarples> dberkholz (or anyone with a bugzie dev account): be a darling and close bugs #215295, #216005, #217666 and #222381 as dhcpcd-4 is now in stable and closes those issues