Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 138446 - xorg-x11-6.8.2-r8 doesn't compile with gcc-4.1.1 on 32ul ppc64
Summary: xorg-x11-6.8.2-r8 doesn't compile with gcc-4.1.1 on 32ul ppc64
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Gentoo X packagers
Depends on:
Blocks: 139151
  Show dependency tree
Reported: 2006-06-29 03:26 UTC by Frederic Grosshans
Modified: 2006-07-18 03:41 UTC (History)
1 user (show)

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

log of the failing emerge (3721-xorg-x11-6.8.2-r8.log.gz,107.15 KB, application/x-gzip)
2006-06-29 03:32 UTC, Frederic Grosshans

Note You need to log in before you can comment on or make changes to this bug.
Description Frederic Grosshans 2006-06-29 03:26:35 UTC
xorg-x11-6.8.2-r8 doesn't compile with gcc-4.1.1 (both are stable on ppc).

The machine is a 32 bits userland ppc64 (hence the ppc keyword)

****end of error message**********
g++ -c -O2 -pipe -mcpu=G5 -mabi=altivec -fno-strict-aliasing    -I../nurbtess   -I../../libutil         -I../../include         -I../../../../include   -I../../../../include/GL -I../../../.. -I../../../../exports/include  -Dlinux -D__powerpc__ -D_POSIX_C_SOURCE=199309L                             -D_POSIX_SOURCE -D_XOPEN_SOURCE
                    -D_BSD_SOURCE -D_SVID_SOURCE                             -D_GNU_SOURCE
rm -f arcsorter.o unshared/arcsorter.o
g++ -c   -I../nurbtess  -I../../libutil         -I../../include         -I../../../../include   -I../../../../include/GL -I../../../.. -I../../../../exports/include  -Dlinux -D__powerpc__ -D_POSIX_C_SOURCE=199309L
              -D_POSIX_SOURCE -D_XOPEN_SOURCE                                 -D_BSD_SOURCE -D_SVID_SOURCE
                     -D_GNU_SOURCE                             -D_EXTENSIONS_ -DLIBRARYBUILD -DNDEBUG         -O2
-pipe -mcpu=G5 -mabi=altivec -fno-strict-aliasing -o unshared/arcsorter.o
/usr/include/bits/stdio-ldbl.h:53: error: type of 'dprintf' is unknown
/usr/include/bits/stdio-ldbl.h:53: error: invalid type in declaration before ';' token
/usr/include/bits/stdio-ldbl.h:53: error: 'int dprintf' redeclared as different kind of symbol
/usr/include/stdio.h:394: error: previous declaration of 'int dprintf(int, const char*, ...)'
make[5]: *** [arcsorter.o] Error 1
make[5]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r8/work/xc/lib/GLU/libnurbs/internals'
make[4]: *** [libnurbs/internals] Error 2
make[4]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r8/work/xc/lib/GLU'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r8/work/xc/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r8/work/xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r8/work/xc'
make: *** [World] Error 2

!!! ERROR: x11-base/xorg-x11-6.8.2-r8 failed.
Call stack:, line 1539:   Called dyn_compile, line 939:   Called src_compile
  xorg-x11-6.8.2-r8.ebuild, line 158:   Called build
  xorg-x11-6.8.2-r8.ebuild, line 974:   Called die

!!! make World failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

fred@agena ~ $ emerge --info
Portage 2.1-r1 (default-linux/ppc/ppc64/2006.0/32bit-userland/970/pmac, gcc-4.1.1, glibc-2.4-r3, 2.6.16-gentoo-r9 ppc64)
System uname: 2.6.16-gentoo-r9 ppc64 PPC970FX, altivec supported
Gentoo Base System version 1.6.15
dev-lang/python:     2.3.5, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
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/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r4
CFLAGS="-O2 -pipe -mcpu=G5 -maltivec -mabi=altivec -fno-strict-aliasing"
CONFIG_PROTECT="/etc /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/X11/app-default /etc/X11/gdm/Init /etc/X11/gdm/PostLogin /etc/X11/gdm/PostSession /etc/X11/gdm/PreSession /etc/X11/gdm/Sessions /etc/X11/gdm/modules /etc/X11/mwm /etc/X11/rstart /etc/X11/sysconfig/ /etc/X11/xdm//usr/share/texmf/ /etc/bash_completion.d/ /etc/dbus-1/ /etc/env.d /etc/gconf /etc/gimp/ /etc/gnome-vfs-2.0/modules/ /etc/init.d/ /etc/mono/ /etc/pam.d/ /etc/revdep-rebuild /etc/skel/ /etc/sound/events/ /etc/ssl/misc/ /etc/terminfo /etc/udev /etc/vim/ /etc/wget /usr/X11R6/lib/ /usr/lib/X11/"
CXXFLAGS="-O2 -pipe -mcpu=G5 -maltivec -mabi=altivec -fno-strict-aliasing"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict userpriv usersandbox"
LINGUAS="en fr zh vi el"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
USE="ppc X Xaw3d acl alsa altivec apache2 berkdb bitmap-fonts bonobo bzip2 c++ cairo cdr chm cjk cli cups dbus djvu doc dri dvd dvdr dvi eds emboss encode esd evo f77 flac font-server foomaticdb fortran freetype gcc64 gdbm gif ginac gnome gpm gstreamer gtk gtk2 guile hal imlib isdnlog jpeg libg++ libwww mad maildir math mikmod motif mozsvg mp3 mpeg mysql nautilus ncurses network nfs nls nptl nptlonly offensive ogg opengl pam pcre pdf pdflib perl png ppds pppd python qhull qt3 qt4 quicktime readline reflection samba sdl session slp sox spell spl spreadsheet ssl svg t1lib tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vim-with-x vorbis xml xorg xv zlib elibc_glibc kernel_linux linguas_en linguas_fr linguas_zh linguas_vi linguas_el userland_GNU video_cards_radeon"
Comment 1 Frederic Grosshans 2006-06-29 03:29:53 UTC
This bug is similar to bug 101894 (marked WONTFIX), but I think the fact that both gcc and xorg-x11 versions are stable on ppc make it worth "fixing", even by unkeywording gcc-4.1.1 for ppc .
Comment 2 Frederic Grosshans 2006-06-29 03:32:50 UTC
Created attachment 90407 [details]
log of the failing emerge
Comment 3 Frederic Grosshans 2006-06-29 06:27:07 UTC
If I understood correctly, the ppc profile was updated to avoid this bug (masking gcc-4). I guess the ppc64 (32ul) profile hasn't been updated accordingly.
Comment 4 Frederic Grosshans 2006-06-29 06:47:37 UTC
Comparing the two profiles, the solution might be to add  


to /usr/portage/profiles/default-linux/ppc/ppc64/2006.0/32bit-userland/packages 
or, at least the last two lines. 

This has been copied straight from /usr/portage/profiles/default-linux/ppc/ppc32/2006.0/packages . 

DISCLAIMER : I'm not a developper at all

Comment 5 Markus Rothe (RETIRED) gentoo-dev 2006-07-01 04:09:31 UTC
should be fixed. xorg-x11-7.1 stable and gcc-4.1. masked for 2006.0 32 bit userland profile.
Comment 6 Frederic Grosshans 2006-07-04 03:31:39 UTC
This solution has created bug 139151 (impossibility to downgrade glibc) for people following the profile change...
Comment 7 Markus Rothe (RETIRED) gentoo-dev 2006-07-04 07:39:00 UTC
ok. We know this problem. will be fixed in bug #139151. marking this as fixed. (keeping it clean)
Comment 8 Frederic Grosshans 2006-07-18 03:41:54 UTC
I close this bug, since everything works now. Thanks a lot !