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

Bug 140300

Summary: xorg-server-1.1.1 doesn't compile
Product: Gentoo Linux Reporter: Yang Dehua <yangdh>
Component: Current packagesAssignee: Tim Yamin (RETIRED) <plasmaroo>
Status: RESOLVED FIXED    
Severity: normal CC: Patrick.Fourniols, ppc64, x11
Priority: High    
Version: 2006.0   
Hardware: PPC64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Yang Dehua 2006-07-13 22:13:45 UTC
Just tried to emerge xorg-server-1.1.1 under my ppc64, but failed with errors the same as Bug 66223. It seems the Bug 66223 reappears.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-07-14 02:20:30 UTC
Reopen with emerge --info and actual errors, please.
Comment 2 Yang Dehua 2006-07-14 04:58:49 UTC
The error messages:

 powerpc64-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include -I../../../include -I../../../include -I../../../include -I../../../include -I../../../include -I../../../include -I../../../hw/xfree86 -I../../../hw/xfree86/include -I../../../hw/xfree86/common -I../../../hw/xfree86/os-support -I../../../hw/xfree86/os-support/bus -I../../../os -I./../ddc -I./../i2c -I./../loader -I./../rac -I./../parser -I./../scanpci -I./../vbe -I./../int10 -I./../vgahw -I./../dixmods/extmod -DHAVE_XORG_CONFIG_H -DXF86PM -DXFree86Server -DXFree86LOADER -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I../../../include -I../../../include -I../../../Xext -I../../../composite -I../../../damageext -I../../../xfixes -I../../../Xi -I../../../mi -I../../../miext/shadow -I../../../miext/damage -I../../../render -I../../../randr -I../../../fb -O2 -mcpu=970 -mtune=970 -maltivec -mabi=altivec -mpowerpc64 -fno-strict-aliasing -fomit-frame-pointer -pipe -MT xf86KbdLnx.lo -MD -MP -MF .deps/xf86KbdLnx.Tpo -c xf86KbdLnx.c  -fPIC -DPIC -o .libs/xf86KbdLnx.o
In file included from /usr/include/asm/memory.h:4,
                 from /usr/include/asm-ppc64/atomic.h:16,
                 from /usr/include/asm/atomic.h:8,
                 from /usr/include/asm-ppc64/processor.h:16,
                 from /usr/include/asm/processor.h:8,
                 from /usr/include/linux/prefetch.h:15,
                 from /usr/include/linux/list.h:5,
                 from /usr/include/linux/wait.h:21,
                 from /usr/include/linux/keyboard.h:20,
                 from xf86KbdLnx.c:169:
/usr/include/asm-ppc64/memory.h:26:34: error: macro "eieio" passed 1 arguments, but takes just 0
In file included from /usr/include/asm/memory.h:4,
                 from /usr/include/asm-ppc64/atomic.h:16,
                 from /usr/include/asm/atomic.h:8,
                 from /usr/include/asm-ppc64/processor.h:16,
                 from /usr/include/asm/processor.h:8,
                 from /usr/include/linux/prefetch.h:15,
                 from /usr/include/linux/list.h:5,
                 from /usr/include/linux/wait.h:21,
                 from /usr/include/linux/keyboard.h:20,
                 from xf86KbdLnx.c:169:
/usr/include/asm-ppc64/memory.h:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
make[5]: *** [xf86KbdLnx.lo] Error 1
make[5]: Leaving directory `/var/tmp/portage/xorg-server-1.1.1/work/xorg-server-1.1.1/hw/xfree86/common'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/var/tmp/portage/xorg-server-1.1.1/work/xorg-server-1.1.1/hw/xfree86/common'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/xorg-server-1.1.1/work/xorg-server-1.1.1/hw/xfree86'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/xorg-server-1.1.1/work/xorg-server-1.1.1/hw/xfree86'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xorg-server-1.1.1/work/xorg-server-1.1.1/hw'
make: *** [all-recursive] Error 1

And the emerge info:

Portage 2.1-r1 (default-linux/ppc/ppc64/2006.0/multilib, gcc-4.1.1, glibc-2.4-r3, 2.6.17-ck1-r1 ppc64)
=================================================================
System uname: 2.6.17-ck1-r1 ppc64 PPC970, altivec supported
Gentoo Base System version 1.12.1
ccache version 2.3 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
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-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r4
ACCEPT_KEYWORDS="ppc64"
AUTOCLEAN="yes"
CBUILD="powerpc64-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=970 -mtune=970 -maltivec -mabi=altivec -mpowerpc64 -fno-strict-aliasing -fomit-frame-pointer -pipe"
CHOST="powerpc64-unknown-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 /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/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -mcpu=970 -mtune=970 -maltivec -mabi=altivec -mpowerpc64 -fno-strict-aliasing -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.gentoo.or.kr http://distfiles.gentoo.org http://ftp.tsinghua.edu.cn/mirror/gentoo http://mirror.usu.edu/mirrors/gentoo"
LANG="en_US.UTF-8"
LINGUAS="zh_CN en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage.multilib"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc64 X a52 aac aalib accessibility alsa altivec apache2 asf aspell berkdb bitmap-fonts browserplugin bzip2 cairo cdr cjk cli crypt cups curl dba dbus dlloader dri dts dvd dvdnav dvdr eds emboss encode esd exif faac faad2 fb ffmpeg flac foomaticdb fortran gd gd-external gdbm gif gimpprint glitz gmp gnome gpm gstreamer gtk gtk2 gtkhtml hal ibm imagemagick imlib ipv6 isdnlog java jpeg jpeg2k kde lcms ldap libg++ libwww mad mbox mikmod mng motif mp3 mpeg mpg mysql nas ncurses nls nptl nptlonly ogg opengl oss pam pcre pdflib perl png postgres ppds pppd python qt qt3 qt4 quicktime readline reflection samba sasl sdl session slang spell spl sqlite ssl svg tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode v4l v4l2 vcd video_cards_radeon vidix vorbis x264 xanim xcomposite xine xml xml2 xmms xorg xv xvid xvmc zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_zh_CN linguas_en userland_GNU video_cards_ati video_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Comment 3 Markus Rothe (RETIRED) gentoo-dev 2006-07-17 06:06:06 UTC
we have seen this in bug #66398 and bug #80207. seems to be releated.
Comment 4 Markus Rothe (RETIRED) gentoo-dev 2006-08-13 07:50:54 UTC
yang, could you please try to sync your portage tree, reemerge linux headers and then compile xorg-server-1.1.1 again? IIRC some automated fixed were messed up some time ago.

please reopen, if this problem still occures.
Comment 5 Yang Dehua 2006-08-21 22:22:16 UTC
After syncing to the newest ebuilds I emerged linux-headers-2.6.11-r4 and glibc-2.4-r3 again, then tried to emerge xorg-server-1.1.1, but the problem still persists:

/vgahw -I./../dixmods/extmod -DHAVE_XORG_CONFIG_H -DXF86PM -DXFree86Server -DXFree86LOADER -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I../../../include -I../../../include -I../../../Xext -I../../../composite -I../../../damageext -I../../../xfixes -I../../../Xi -I../../../mi -I../../../miext/shadow -I../../../miext/damage -I../../../render -I../../../randr -I../../../fb -O2 -mcpu=970 -mtune=970 -maltivec -mabi=altivec -mpowerpc64 -fno-strict-aliasing -fomit-frame-pointer -pipe -MT xf86DefModeSet.lo -MD -MP -MF .deps/xf86DefModeSet.Tpo -c xf86DefModeSet.c  -fPIC -DPIC -o .libs/xf86DefModeSet.o
In file included from /usr/include/asm/memory.h:4,
                 from /usr/include/asm-ppc64/atomic.h:16,
                 from /usr/include/asm/atomic.h:8,
                 from /usr/include/asm-ppc64/processor.h:16,
                 from /usr/include/asm/processor.h:8,
                 from /usr/include/linux/prefetch.h:15,
                 from /usr/include/linux/list.h:5,
                 from /usr/include/linux/wait.h:21,
                 from /usr/include/linux/keyboard.h:20,
                 from xf86KbdLnx.c:169:
/usr/include/asm-ppc64/memory.h:26:34: error: macro "eieio" passed 1 arguments, but takes just 0
In file included from /usr/include/asm/memory.h:4,
                 from /usr/include/asm-ppc64/atomic.h:16,
                 from /usr/include/asm/atomic.h:8,
                 from /usr/include/asm-ppc64/processor.h:16,
                 from /usr/include/asm/processor.h:8,
                 from /usr/include/linux/prefetch.h:15,
                 from /usr/include/linux/list.h:5,
                 from /usr/include/linux/wait.h:21,
                 from /usr/include/linux/keyboard.h:20,
                 from xf86KbdLnx.c:169:
/usr/include/asm-ppc64/memory.h:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
make[5]: *** [xf86KbdLnx.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: Leaving directory `/var/tmp/portage/xorg-server-1.1.1-r1/work/xorg-server-1.1.1/hw/xfree86/common'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/var/tmp/portage/xorg-server-1.1.1-r1/work/xorg-server-1.1.1/hw/xfree86/common'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/xorg-server-1.1.1-r1/work/xorg-server-1.1.1/hw/xfree86'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/xorg-server-1.1.1-r1/work/xorg-server-1.1.1/hw/xfree86'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xorg-server-1.1.1-r1/work/xorg-server-1.1.1/hw'
make: *** [all-recursive] Error 1

!!! ERROR: x11-base/xorg-server-1.1.1-r1 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  ebuild.sh, line 1248:   Called x-modular_src_compile
  x-modular.eclass, line 331:   Called x-modular_src_make
  x-modular.eclass, line 326:   Called die

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

Do I need linux-headers-2.6.16?
Comment 6 Markus Rothe (RETIRED) gentoo-dev 2006-08-22 02:01:06 UTC
I'm sorry, this was my fault! :-/

please sync and update to linux-headers-2.6.16, which are now stable on ppc64.

thanks for reporting this! :-)