Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 218441 - openrc-0.2.2 fails to build with glibc-2.3.6
Summary: openrc-0.2.2 fails to build with glibc-2.3.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-19 16:58 UTC by onox
Modified: 2008-04-23 18:55 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 onox 2008-04-19 16:58:18 UTC
make[2]: Leaving directory `/var/tmp/portage/sys-apps/openrc-0.2.2/work/openrc-0.2.2/src/libeinfo'
===> src/librc (all)
make[2]: Entering directory `/var/tmp/portage/sys-apps/openrc-0.2.2/work/openrc-0.2.2/src/librc'
sed -e 's:@PREFIX@::g' -e 's:@LIB@:lib:g' -e 's:@SYSCONFDIR@:/etc:g' -e 's:.*@PKG_PREFIX@.*:#undef RC_PKG_PREFIX:g' -e 's:@LOCAL_PREFIX@:/usr/local:g' rc.h.in > rc.h
i686-pc-linux-gnu-gcc -mtune=i686 -O2 -pipe -fforce-addr -msse2 -D_BSD_SOURCE -D_XOPEN_SOURCE=600 -I../includes -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   -MM librc.c librc-daemon.c librc-depend.c librc-misc.c librc-stringlist.c > .depend
i686-pc-linux-gnu-gcc -mtune=i686 -O2 -pipe -fforce-addr -msse2 -D_BSD_SOURCE -D_XOPEN_SOURCE=600 -I../includes -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     -c -o librc.o librc.c
In file included from librc.h:67,
                 from librc.c:34:
rc.h:284: error: syntax error before "STAILQ_ENTRY"
rc.h:284: warning: no semicolon at end of struct or union
rc.h:285: warning: type defaults to `int' in declaration of `RC_DEPTYPE'
rc.h:285: error: ISO C forbids data definition with no type or storage class
rc.h:293: error: syntax error before "STAILQ_HEAD"
rc.h:293: warning: no semicolon at end of struct or union
rc.h:295: error: syntax error before "entries"
rc.h:295: warning: type defaults to `int' in declaration of `entries'
rc.h:295: error: ISO C forbids data definition with no type or storage class
rc.h:296: warning: type defaults to `int' in declaration of `RC_DEPINFO'
rc.h:296: error: ISO C forbids data definition with no type or storage class
rc.h:298: error: syntax error before ',' token
rc.h:298: warning: type defaults to `int' in declaration of `RC_DEPTREE'
rc.h:298: error: ISO C forbids data definition with no type or storage class
rc.h:324: error: syntax error before '*' token
rc.h:324: warning: type defaults to `int' in declaration of `rc_deptree_load'
rc.h:324: error: ISO C forbids data definition with no type or storage class
rc.h:331: warning: type defaults to `int' in declaration of `RC_DEPTREE'
rc.h:331: warning: declaration of 'RC_DEPTREE' shadows a global declaration
rc.h:298: warning: shadowed declaration is here
rc.h:331: error: syntax error before '*' token
rc.h:340: warning: type defaults to `int' in declaration of `RC_DEPTREE'
rc.h:340: warning: declaration of 'RC_DEPTREE' shadows a global declaration
rc.h:298: warning: shadowed declaration is here
rc.h:340: error: syntax error before '*' token
rc.h:350: warning: type defaults to `int' in declaration of `RC_DEPTREE'
rc.h:350: warning: declaration of 'RC_DEPTREE' shadows a global declaration
rc.h:298: warning: shadowed declaration is here
rc.h:350: error: syntax error before '*' token
rc.h:354: error: syntax error before '*' token
librc.c: In function `rc_service_mark':
librc.c:586: warning: implicit declaration of function `TAILQ_FOREACH'
librc.c:586: warning: nested extern declaration of `TAILQ_FOREACH'
librc.c:586: error: syntax error before '{' token
librc.c: At top level:
librc.c:602: warning: type defaults to `int' in declaration of `free'
librc.c:602: warning: parameter names (without types) in function declaration
librc.c:602: error: conflicting types for 'free'
/usr/include/stdlib.h:597: error: previous declaration of 'free' was here
librc.c:602: error: conflicting types for 'free'
/usr/include/stdlib.h:597: error: previous declaration of 'free' was here
librc.c:602: error: ISO C forbids data definition with no type or storage class
librc.c:603: error: syntax error before "return"
librc.c: In function `rc_service_state':
librc.c:630: warning: nested extern declaration of `TAILQ_FOREACH'
librc.c:630: error: syntax error before '{' token
librc.c:636: error: break statement not within loop or switch
librc.c: At top level:
librc.c:643: error: syntax error before "return"
librc.c: In function `rc_services_in_runlevel':
librc.c:748: warning: implicit declaration of function `TAILQ_EMPTY'
librc.c:748: warning: nested extern declaration of `TAILQ_EMPTY'
librc.c: In function `rc_services_in_state':
librc.c:787: warning: nested extern declaration of `TAILQ_FOREACH'
librc.c:787: error: syntax error before '{' token
librc.c:793: warning: nested extern declaration of `TAILQ_EMPTY'
librc.c: At top level:
librc.c:797: warning: type defaults to `int' in declaration of `rc_stringlist_free'
librc.c:797: warning: parameter names (without types) in function declaration
librc.c:797: error: conflicting types for 'rc_stringlist_free'
librc.h:118: error: previous declaration of 'rc_stringlist_free' was here
librc.c:797: error: conflicting types for 'rc_stringlist_free'
librc.h:118: error: previous declaration of 'rc_stringlist_free' was here
librc.c:797: error: ISO C forbids data definition with no type or storage class
librc.c:799: error: syntax error before "return"
librc.c: In function `rc_services_scheduled_by':
librc.c:873: warning: nested extern declaration of `TAILQ_FOREACH'
librc.c:873: error: syntax error before '{' token
librc.c: At top level:
librc.c:882: warning: type defaults to `int' in declaration of `rc_stringlist_free'
librc.c:882: warning: parameter names (without types) in function declaration
librc.c:882: error: ISO C forbids data definition with no type or storage class
librc.c:884: error: syntax error before "return"
librc.c:863: warning: unused parameter 'service'
make[2]: *** [librc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/sys-apps/openrc-0.2.2/work/openrc-0.2.2/src/librc'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-apps/openrc-0.2.2/work/openrc-0.2.2/src'
make: *** [all] Error 2

Portage 2.1.4.4 (hardened/x86/2.6, gcc-3.4.6, glibc-2.3.6-r5, 2.6.22-hardened-r6 i686)
=================================================================
System uname: 2.6.22-hardened-r6 i686 Intel(R) Pentium(R) M processor 1600MHz
Timestamp of tree: Sat, 19 Apr 2008 15:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mtune=i686 -O2 -pipe -fforce-addr -msse2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-mtune=i686 -O2 -pipe -fforce-addr -msse2"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-detect distlocks metadata-transfer parallel-fetch sandbox sfperms strict test unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo "
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa apache2 applet avahi berkdb bluetooth bzip2 cairo caps cddb cdr chroot cracklib crypt dbus dri dvd dvdr esd exif extensions fam fastcgi ffmpeg firefox fontconfig gcrypt gedit glitz gnome gnutls gpm graphviz gstreamer gtk gtkhtml hal hardened hdaps hpn icecast imagemagick ipv6 irda jack java javascript jpeg keyring lapack libnotify libsamplerate lm_sensors mad md5sum mdnsresponder-compat midi mikmod mmap mmx mp3 mpeg nautilus ncurses network networkmanager nptl nptlonly nsplugin ogg openal opengl oss pam pango pcmcia pcre pdf php pic pidgin png policykit prediction python readline real rtc rtsp sdl sftp sse sse2 ssl stream svg syslog t1lib tcpd theora threads tiff truetype unicode upnp urandom usb v4l vim-syntax vlm vorbis wifi win32codecs wxwindows x264 x86 xattr xinerama xml xorg xscreensaver xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authz_host dir mime mime_magic negotiation rewrite setenvif status vhost_alias headers info log_config logio deflate filter env" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="joystick synaptics keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Roy Marples 2008-04-19 17:21:21 UTC
Your sys/queue.h from glibc needs updating.
Comment 2 onox 2008-04-19 17:26:07 UTC
Could the ebuild of baselayout-2.0.0rc6 put back in portage? Now I have to go back to baselayout-1.2 :(