Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 225403 - app-admin/gamin-0.1.9-r1 build failure w/ glibc-2.8: storage size of 'cr' isn't known
Summary: app-admin/gamin-0.1.9-r1 build failure w/ glibc-2.8: storage size of 'cr' isn...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
: 226469 (view as bug list)
Depends on:
Blocks: glibc-2.8
  Show dependency tree
Reported: 2008-06-08 17:31 UTC by Jose daLuz
Modified: 2008-06-14 09:12 UTC (History)
10 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Jose daLuz 2008-06-08 17:31:44 UTC
Rebuilding gamin 0.1.9-r1 (as part of system rebuild) after updating glibc from
2.7-r2 to 2.8_p20080602, I get the following error:

libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -DBINDIR=\"/usr/libexec\" -DBUILDDIR=\"..\" -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -march=k8 -O2 -pipe -ggdb -msse3 -MT gam_fork.lo -MD -MP -MF .deps/gam_fork.Tpo -c gam_fork.c -o gam_fork.o >/dev/null 2>&1
mv -f .deps/gam_error.Tpo .deps/gam_error.Plo
/bin/sh ../libtool --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../lib -DBINDIR=\""/usr/libexec"\" -DBUILDDIR=\"".."\"    -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare  -march=k8 -O2 -pipe -ggdb -msse3 -MT gam_event.lo -MD -MP -MF .deps/gam_event.Tpo -c -o gam_event.lo gam_event.c
gam_api.c: In function 'gamin_check_cred':
gam_api.c:717: error: storage size of 'cr' isn't known
gam_api.c:717: warning: unused variable 'cr'
mv -f .deps/gam_data.Tpo .deps/gam_data.Plo
make[2]: *** [gam_api.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/gam_fork.Tpo .deps/gam_fork.Plo
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -DBINDIR=\"/usr/libexec\" -DBUILDDIR=\"..\" -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -march=k8 -O2 -pipe -ggdb -msse3 -MT gam_event.lo -MD -MP -MF .deps/gam_event.Tpo -c gam_event.c  -fPIC -DPIC -o .libs/gam_event.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -DBINDIR=\"/usr/libexec\" -DBUILDDIR=\"..\" -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -march=k8 -O2 -pipe -ggdb -msse3 -MT gam_event.lo -MD -MP -MF .deps/gam_event.Tpo -c gam_event.c -o gam_event.o >/dev/null 2>&1
mv -f .deps/gam_event.Tpo .deps/gam_event.Plo
make[2]: Leaving directory `/var/tmp/paludis/app-admin-gamin-0.1.9-r1/work/gamin-0.1.9/libgamin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/paludis/app-admin-gamin-0.1.9-r1/work/gamin-0.1.9'
make: *** [all] Error 2

!!! ERROR in app-admin/gamin-0.1.9-r1:
!!! In src_compile at line 4021
!!! emake failed
Last week I rebuilt toolchain/system/world after updating gcc to 4.3.0 and
linux-headers to 2.6.25-r3. gamin built with no problems then, so this would seem to be related to the new glibc.
Portage (default-linux/amd64/2007.0/desktop, gcc-4.3.0, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r4 x86_64)
System uname: 2.6.25-gentoo-r4 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 6000+
Timestamp of tree: Sun, 08 Jun 2008 01:35:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-march=k8 -O2 -pipe -ggdb -msse3"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe -ggdb -msse3"
FEATURES="ccache distlocks fixpackages parallel-fetch sandbox sfperms splitdebug strict unmerge-orphans userfetch"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTDIR_OVERLAY="/usr/local/overlays/paludis-extras /usr/local/overlays/sunrise /usr/local/overlays/gnome /usr/local/overlays/mainline /usr/local/overlays/desktop-effects /usr/local/overlays/vmware /usr/local/overlays/berkano /usr/local/overlays/myoverlay"
USE="X a52 aac acl acpi alsa amd64 amr bash-completion berkdb bluetooth bzip2 cairo cdda cdr cli cracklib crypt css cups dbus dri dts dvd dvdr dvdread eds emboss encode esd evo fam ffmpeg flac fortran gdbm gif glitz gnome gpm gstreamer gtk hal iconv ipv6 isdnlog java jpeg kde kdehiddenvisibility kerberos ldap libnotify mad midi mikmod mmx mono mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl pic png pppd python qt3support qt4 quicktime readline reflection ruby samba sdl session spell spl sqlite sse sse2 ssl svg tcpd theora tiff truetype unicode usb userlocales vcd vorbis x264 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="cmipci hdaintel" 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="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Comment 1 Jose daLuz 2008-06-08 20:29:05 UTC
Left out the relevant part of the build output:

libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -DBINDIR=\"/usr/libexec\" -DBUILDDIR=\"..\" -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -march=k8 -O2 -pipe -ggdb -msse3 -MT gam_api.lo -MD -MP -MF .deps/gam_api.Tpo -c gam_api.c  -fPIC -DPIC -o .libs/gam_api.o

Also, there is an upstream bug on this error: However, there is no patch on this bug.
Comment 2 Rafał Mużyło 2008-06-10 00:31:35 UTC
After looking at bug 225375, I think there's a good chance that
'append-flags -D_GNU_SOURCE' in the ebuild should fix it.
Comment 3 Nikolay S. Rybaloff 2008-06-10 10:35:06 UTC
That worked for me
Comment 4 Ferenc Erki 2008-06-10 20:50:43 UTC

inherit flag-o-matic

and then for the src_compile() part:

append-flags -D_GNU_SOURCE

to the ebuild works for me too.

I don'know if it's the right way to fix it tough.
Comment 5 Ben de Groot (RETIRED) gentoo-dev 2008-06-12 11:10:34 UTC
Fix committed to portage CVS. Thanks for reporting!
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-06-14 09:12:32 UTC
*** Bug 226469 has been marked as a duplicate of this bug. ***