Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 145512 - x11-base/xorg-server-1.1.1 fails compile phase with sys-kernel/linux-headers-2.6.17
Summary: x11-base/xorg-server-1.1.1 fails compile phase with sys-kernel/linux-headers-...
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal
Assignee: Tim Yamin (RETIRED)
URL:
Whiteboard:
Keywords:
: 146156 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-08-29 12:19 UTC by Sandro Bonazzola (RETIRED)
Modified: 2006-09-21 12:53 UTC (History)
3 users (show)

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


Attachments
xgl-xerver-1.1.1 compile error log (xgl-server-1.1.1.log,14.61 KB, text/plain)
2006-08-29 13:32 UTC, Pierre Y.
Details
My emerge --info (emerge-info.txt,3.17 KB, text/plain)
2006-08-29 13:34 UTC, Pierre Y.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sandro Bonazzola (RETIRED) gentoo-dev 2006-08-29 12:19:20 UTC
x86_64-pc-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/usr/include/drm -DUSESTDRES -DHAVE_SYSV_IPC -DHAVE_XORG_CONFIG_H -DXF86PM -DHAVE_ACPI -DHAVE_APM -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 -march=athlon64 -Os -pipe -fforce-addr -ffast-math -msse2 -ftracer -m3dnow -MT lnx_video.lo -MD -MP -MF .deps/lnx_video.Tpo -c lnx_video.c  -fPIC -DPIC -o .libs/lnx_video.o
In file included from /usr/include/asm/processor.h:8,
                 from /usr/include/asm-x86_64/timex.h:14,
                 from /usr/include/asm/timex.h:8,
                 from /usr/include/linux/timex.h:61,
                 from /usr/include/linux/sched.h:11,
                 from /usr/include/asm-x86_64/compat.h:8,
                 from /usr/include/asm/compat.h:4,
                 from /usr/include/linux/compat.h:21,
                 from /usr/include/asm-x86_64/mtrr.h:28,
                 from /usr/include/asm/mtrr.h:8,
                 from lnx_video.c:50:
/usr/include/asm-x86_64/processor.h:70: error: expected specifier-qualifier-list before 'cpumask_t'
In file included from /usr/include/asm/semaphore.h:8,
                 from /usr/include/linux/sched.h:20,
                 from /usr/include/asm-x86_64/compat.h:8,
                 from /usr/include/asm/compat.h:4,
                 from /usr/include/linux/compat.h:21,
                 from /usr/include/asm-x86_64/mtrr.h:28,
                 from /usr/include/asm/mtrr.h:8,
                 from lnx_video.c:50:
/usr/include/asm-x86_64/semaphore.h:47: error: expected specifier-qualifier-list before 'wait_queue_head_t'
/usr/include/asm-x86_64/semaphore.h: In function 'sema_init':
/usr/include/asm-x86_64/semaphore.h:73: error: 'struct semaphore' has no member named 'wait'
In file included from /usr/include/linux/sched.h:32,
                 from /usr/include/asm-x86_64/compat.h:8,
                 from /usr/include/asm/compat.h:4,
                 from /usr/include/linux/compat.h:21,
                 from /usr/include/asm-x86_64/mtrr.h:28,
                 from /usr/include/asm/mtrr.h:8,
                 from lnx_video.c:50:
/usr/include/linux/completion.h: At top level:
/usr/include/linux/completion.h:15: error: expected specifier-qualifier-list before 'wait_queue_head_t'
/usr/include/linux/completion.h: In function 'init_completion':
/usr/include/linux/completion.h:27: error: 'struct completion' has no member named 'wait'
In file included from /usr/include/linux/sched.h:38,
                 from /usr/include/asm-x86_64/compat.h:8,
                 from /usr/include/asm/compat.h:4,
                 from /usr/include/linux/compat.h:21,
                 from /usr/include/asm-x86_64/mtrr.h:28,
                 from /usr/include/asm/mtrr.h:8,
                 from lnx_video.c:50:
/usr/include/linux/futex.h: At top level:
/usr/include/linux/futex.h:97: error: expected ')' before '*' token
make[5]: *** [lnx_video.lo] Error 1
make[5]: Leaving directory `/var/tmp/portage/xorg-server-1.1.1/work/xorg-server-1.1.1/hw/xfree86/os-support/linux'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/xorg-server-1.1.1/work/xorg-server-1.1.1/hw/xfree86/os-support'
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
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-08-29 13:23:19 UTC
emerge --info? It compiles just fine here.

Comment 2 Pierre Y. 2006-08-29 13:32:22 UTC
Created attachment 95417 [details]
xgl-xerver-1.1.1 compile error log
Comment 3 Pierre Y. 2006-08-29 13:34:02 UTC
Created attachment 95418 [details]
My emerge --info
Comment 4 Tim Yamin (RETIRED) gentoo-dev 2006-08-29 13:34:57 UTC
emerge sync, remerge headers, try again. If it still fails reopen bug.
Comment 5 Sandro Bonazzola (RETIRED) gentoo-dev 2006-08-29 13:57:51 UTC
cvs update -dP && emerge linux-headers && emerge xorg-server. Same error.
my emerge --info:
Portage 2.1.1_rc1-r1 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.4
Last Sync: Tue, 29 Aug 2006 16:50:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r3
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
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.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS=" -march=athlon64 -Os -pipe -fforce-addr -ffast-math -msse2 -ftracer -m3dnow "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS=" -march=athlon64 -Os -pipe -fforce-addr -ffast-math -msse2 -ftracer -m3dnow "
DISTDIR="/home/ftp/distfiles"
FEATURES="autoconfig ccache collision-protect cvs distlocks elog java-strict metadata-transfer multilib-strict sandbox sfperms sign strict stricter test userfetch userpriv"
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ ftp://ftp.unina.it/pub/linux/distributions/gentoo http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ "
LANG="it_IT.utf8"
LINGUAS="it"
PKGDIR="/home/ftp/packages"
PORTAGE_RSYNC_EXTRA_OPTS=" --timeout=400 --progress "
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/overlays/portage /usr/local/overlays/tinyos /usr/local/overlays/gentoo-java-experimental"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 7zip X a52 aac aalib acl acpi alsa amr apache2 arts asf audiofile avi berkdb bitmap-fonts bl bzip2 cairo canvas caps ccache cdb cddb cdparanoia cdr chroot cli cpudetection crypt css cups curl dba dbus dga directfb dlloader dmi dri dts dv dvd dvdr dvdread dynagraph elibc_glibc emboss encode erandom esd exif expat extrafilters fame ffmpeg firefox flac fltk foomaticdb gd gdbm ggi gif gimp gimpprint glibc-omitfp glut gmp gnokii gnome gnutls gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml guile hal iconv idn ieee1394 imagemagick imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog ithreads java jbig jikes jpeg jpeg2k justify kde kdeenablefinal kdehiddenvisibility kernel_linux lcms ldap libcaca linguas_it linuxthreads-tls lm_sensors logitech-mouse logrotate lzo lzw lzw-tiff mad mailwrapper matroska mbox mdb mhash mikmod mjpeg mmap mng motif mozsvg mp3 mpeg mpm-worker musepack musicbrainz mysql ncurses nls nptl nptlonly nsplugin numeric nvidia odbc offensive ogg on-the-fly-crypt openexr opengl oss pam pcre pcsc-lite pdf pdflib perl php png povray ppds pppd python qt3 qt4 quicktime rdesktop readline reflection rtc samba scanner sdl session slang smime smp sndfile snmp speex spell spl ssl subversion svg sysfs syslog tcltk tcpd test tetex tga theora threads tidy tiff timidity truetype truetype-fonts type1-fonts unicode usb userland_GNU userlocales utf8 v4l v4l2 vcd vda video_cards_nv video_cards_nvidia vorbis vorbis-psy wmf xcomposite xine xinerama xml xml2 xmms xorg xpm xscreensaver xv xvid xvmc yv12 zeroconf zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS
Comment 6 Pierre Y. 2006-08-29 14:07:11 UTC
Same here ?

(In reply to comment #4)
> emerge sync, remerge headers, try again. If it still fails reopen bug.

Which headers ?

I synced then # emerge linux-headers (2.6.17)

But I still have the same bug with xorg-server-1.1.1 (portage) and xorg-server-1.1.1-r1 (xgl-coffee)

Comment 7 Hanno Böck gentoo-dev 2006-08-29 17:54:21 UTC
This only fails on amd64 with linux-headers-2.6.17, which is not keyworded on amd64.
Comment 8 Pierre Y. 2006-08-29 23:12:01 UTC
(In reply to comment #7)
> This only fails on amd64 with linux-headers-2.6.17, which is not keyworded on
> amd64.

Should I try to unmerge linux-headers-2.6.17 and re-emerge previous keyworded version ?
Comment 9 Pierre Y. 2006-08-30 11:00:32 UTC
(In reply to comment #8)
> (In reply to comment #7)
> > This only fails on amd64 with linux-headers-2.6.17, which is not keyworded on
> > amd64.
> 
> Should I try to unmerge linux-headers-2.6.17 and re-emerge previous keyworded
> version ?

OK, compiles nicely when downgrading to 2.6.16 headers.
Comment 10 Sandro Bonazzola (RETIRED) gentoo-dev 2006-08-30 12:45:17 UTC
(In reply to comment #7)
> This only fails on amd64 with linux-headers-2.6.17, which is not keyworded on
> amd64.

I know it's not keyworded ~amd64, the bug aims to help with the development of linux-headers and xorg-server ebuilds.
Comment 11 Joshua Baergen (RETIRED) gentoo-dev 2006-08-31 10:06:46 UTC
Re-assigning.  Plasmaroo, send it back if it's an X problem.
Comment 12 Tim Yamin (RETIRED) gentoo-dev 2006-09-03 16:12:16 UTC
*** Bug 146156 has been marked as a duplicate of this bug. ***
Comment 13 Stefan de Konink 2006-09-03 16:36:09 UTC
Probably VNC should be added too...
Comment 14 Tim Yamin (RETIRED) gentoo-dev 2006-09-16 05:28:32 UTC
Whoops, so I added the patch ages ago to the patchset but didn't name it correctly and hence it didn't get applied. Fixed in 2.6.17-r1, thanks!
Comment 15 Sandro Bonazzola (RETIRED) gentoo-dev 2006-09-21 12:53:20 UTC
Verified, works fine for me.