Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 126141

Summary: When building pwlib with gcc-4.1, several errors interrupt the ebuild.
Product: Gentoo Linux Reporter: Robert Marmorstein <rmmarm>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Severity: minor CC: ben, sbriesen
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 117482    
Attachments: Patch to make pwlib compile with gcc-4.1

Description Robert Marmorstein 2006-03-14 05:17:00 UTC
Several Extra Qualifier bugs, also a few bugs caused by friend functions not being in the scope of the functions they are called from.  In particular, fixes an error with psprintf not being in scope which can break other packages that depend on pwlib.

Emerge info:

Gentoo Base System version 1.12.0_pre16
Portage 2.1_pre6-r1 (default-linux/x86/2005.1, gcc-4.1.0-beta20060210, glibc-2.4-r0, 2.6.15-gentoo-r7 i686)
System uname: 2.6.15-gentoo-r7 i686 AMD Athlon(tm) XP 2200+
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/m
ozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
LINGUAS="en he grc"
USE="x86 3dnow X Xaw3d aalib acpi ada aim alsa apache apache2 apm asf audiofile avi berkdb bidi bindist bitmap-fonts browserplugin bzip2 calendar cdr crypt cscop
e ctype cups curl curlwrappers dba dedicated dga dio divx4linux doc dri dvd dvdr eds emboss encode esd fastcgi ffmpeg fftw firefox flac flash flatfile foomatic f
oomaticdb fortran ftp gb gcj gd gdbm ggi gif gmp gphoto2 gpm gstreamer gtk gtk2 hal iconv icq imagemagick imap imlib ipv6 jabber jack java jikes jpeg kde kdexdel
tas ladcca lcms libg++ libwww mad mbox mcal mikmod mime ming mmap mmx mng motif mozcalendar mozilla mp3 mpeg mysql mysqli nas ncurses network new-login nls nocd
nptl nptlonly nsplugin objc ogg oggvorbis openal opengl oscar oss pam pcntl pcre pda pdf pdflib perl php pie plotutils plugin png posix postgres ppds python qt q
uicktime quotes readline sasl scanner sdl session shared slang sockets softmmu speex spell spl sse ssl svg sysvipc szip tcltk tcpd tetex theora tidy tiff truetyp
e truetype-fonts type1-fonts unicode usb v4l v4l2 videos vorbis win32codecs wmf wxwindows xcomposite xine xinerama xml xml2 xmms xpm xscreensaver xsl xv xvid yah
oo zlib elibc_glibc kernel_linux linguas_en linguas_he linguas_grc userland_GNU"
Comment 1 Robert Marmorstein 2006-03-14 05:18:33 UTC
Created attachment 82089 [details, diff]
Patch to make pwlib compile with gcc-4.1

This patch fixes the above mentioned bugs and allows pwlib to compile with my gcc-4.1 setup.
Comment 2 Mark Loeser (RETIRED) gentoo-dev 2006-04-21 22:14:44 UTC
Looks like pwlib-1.10.0 is fixed.

Thanks for the patch though :)
Comment 3 RĂ©mi Cardona (RETIRED) gentoo-dev 2006-12-03 09:57:14 UTC
*** Bug 126790 has been marked as a duplicate of this bug. ***