Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 277826 - gnome-extra/bug-buddy-2.24.2 fails to emerge with glibc 2.10
Summary: gnome-extra/bug-buddy-2.24.2 fails to emerge with glibc 2.10
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
Depends on:
Blocks: glibc-2.10
  Show dependency tree
Reported: 2009-07-14 15:57 UTC by Morgan Wesström
Modified: 2009-09-03 21:20 UTC (History)
1 user (show)

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

Temporary fix provides explicit header includes where necessary (bug-buddy-explicit-include.patch,2.85 KB, patch)
2009-08-29 14:20 UTC, Attila Tóth
Details | Diff
Ebuild diff to apply patch #202615 (bug-buddy.diff,704 bytes, patch)
2009-08-29 14:21 UTC, Attila Tóth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Morgan Wesström 2009-07-14 15:57:21 UTC
gnome-extra/bug-buddy-2.24.2 fails to emerge with glibc 2.10. bug-buddy 2.26.0 works though.

Reproducible: Always

Steps to Reproduce:
1. Emerge glibc 2.10
2. Emerge bug-buddy 2.24.2

Actual Results:  
	/bin/sh ./libtool --tag=CXX   --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I./src  -I./src -I./../../google-breakpad/src/   -O2 -march=pentium4 -mtune=pentium4 -pipe -fomit-frame-pointer -MT src/processor/minidump.lo -MD -MP -MF $depbase.Tpo -c -o src/processor/minidump.lo src/processor/ &&\
	mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I./src -I./src -I./../../google-breakpad/src/ -O2 -march=pentium4 -mtune=pentium4 -pipe -fomit-frame-pointer -MT src/processor/minidump.lo -MD -MP -MF src/processor/.deps/minidump.Tpo -c src/processor/  -fPIC -DPIC -o src/processor/.libs/minidump.o
libtool: compile:  i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I./src -I./src -I./../../google-breakpad/src/ -O2 -march=pentium4 -mtune=pentium4 -pipe -fomit-frame-pointer -MT src/processor/basic_source_line_resolver.lo -MD -MP -MF src/processor/.deps/basic_source_line_resolver.Tpo -c src/processor/ -o src/processor/basic_source_line_resolver.o >/dev/null 2>&1
src/processor/ In member function ‘void google_breakpad::MinidumpMemoryRegion::SetDescriptor(MDMemoryDescriptor*)’:
src/processor/ error: ‘uint64_t’ was not declared in this scope
src/processor/ error: template argument 1 is invalid
make[2]: *** [src/processor/minidump.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/tmp/portage/gnome-extra/bug-buddy-2.24.2/work/bug-buddy-2.24.2/google-breakpad'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/portage/gnome-extra/bug-buddy-2.24.2/work/bug-buddy-2.24.2'
make: *** [all] Error 2

Expected Results:  
It should emerge without errors.

Portage 2.2_rc33 (default/linux/x86/2008.0, gcc-4.4.0, glibc-2.10.1-r0, 2.6.30-gentoo-r2 i686)
System uname: Linux-2.6.30-gentoo-r2-i686-Intel-R-_Xeon-TM-_CPU_2.66GHz-with-glibc2.0
Timestamp of tree: Tue, 14 Jul 2009 15:30:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.5.4-r3
dev-util/cmake:      2.6.4
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.30
CFLAGS="-O2 -march=pentium4 -mtune=pentium4 -pipe -fomit-frame-pointer"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4 -mtune=pentium4 -pipe -fomit-frame-pointer"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms 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"
USE="X X509 a52 aac accessibility acl acpi alsa automount bash-completion berkdb branding bzip2 cairo cdda cddb cdio cdparanoia cdr cleartype cli consolekit cracklib crypt cups custom-cflags custom-optimization dbus device-mapper dga disk-partition djvu dri dts dvd dvdr eds encode esd faac faad fat ffmpeg flac fortran fuse gdbm geoip gif gimp git glib glitz gnome gnomecd gpm gstreamer gtk hal hddtemp iconv idn imlib isdnlog java java6 jpeg lame lcms libnotify live lm_sensors lzma lzo mad matroska md5sum midi mmx mmxext mp2 mp3 mpeg mplayer mudflap musepack nautilus ncurses network nls nptl nptlonly nsplugin ntfs nvidia ogg openal opengl openmp optimisememory pam pcre pdf perl png pppd python quicktime rar readline reflection reiserfs rle rtc rtsp session smp source spell spl sqlite srt sse sse2 ssh ssl subversion suid svg sysfs tcl tcpd tga threads tiff tk truetype twolame unicode usb vcd vdpau vorbis win32codecs wxwindows x264 x86 xml xorg xulrunner xv xvid xvmc yv12 zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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" FOO2ZJS_DEVICES="hp1000" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" USERLAND="GNU" VIDEO_CARDS="nvidia"
Comment 1 Gilles Dartiguelongue gentoo-dev 2009-07-14 16:59:23 UTC
If 2.26 builds fine, this is good enough for us.
Comment 2 Attila Tóth 2009-08-29 14:20:22 UTC
Created attachment 202615 [details, diff]
Temporary fix provides explicit header includes where necessary
Comment 3 Attila Tóth 2009-08-29 14:21:33 UTC
Created attachment 202616 [details, diff]
Ebuild diff to apply patch #202615
Comment 4 Attila Tóth 2009-08-29 14:22:36 UTC
(In reply to comment #1)
> If 2.26 builds fine, this is good enough for us.

Here's a temporary fix for those who run experimental toolchain and stable userland.
Comment 5 Romain Perier (RETIRED) gentoo-dev 2009-09-03 21:20:43 UTC
uint64_t is defined into stdint.h, so probably #include <cstdint> would be better ?

Then no revbump needed for a compilation bug (trivial fix, and if the package doesn't build for a user, then he just needs to re-emerge it)