Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 262753 - x11-base/xorg-server-1.5.3-r5 doesn't compile
Summary: x11-base/xorg-server-1.5.3-r5 doesn't compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
: 262755 262756 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-03-17 00:38 UTC by Florian GYS
Modified: 2009-03-19 20:35 UTC (History)
0 users

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


Attachments
xorg-server-1.5.3-r5 build.log (build.log,1.74 MB, text/plain)
2009-03-17 22:26 UTC, Florian GYS
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Florian GYS 2009-03-17 00:38:33 UTC
xorg-server-1.5.3-r5 doesn't compile

Reproducible: Always

Steps to Reproduce:
1.emerge xorg-server-1.5.3-r5
2.
3.

Actual Results:  
Compilation fail.

Expected Results:  
should compile fine.

/usr/lib64/libXdmcp.so -lcrypto -lm -lrt                                                                                                                 
common/libinit.a(xf86Init.o): In function `ddxUseMsg':                                                                         
xf86Init.c:(.text+0x48f): undefined reference to `xf86UseMsg'                                                                 
common/libinit.a(xf86Init.o): In function `ddxGiveUp':                                                                         
xf86Init.c:(.text+0x575): undefined reference to `xf86CloseConsole'                                                           
common/libinit.a(xf86Init.o): In function `ddxProcessArgument':                                                               
xf86Init.c:(.text+0x1224): undefined reference to `xf86PathIsSafe'                                                             
xf86Init.c:(.text+0x1c24): undefined reference to `xf86ProcessArgument'                                                       
common/libinit.a(xf86Init.o): In function `InitOutput':                                                                       
xf86Init.c:(.text+0x1c84): undefined reference to `xf86OpenConsole'                                                           
xf86Init.c:(.text+0x2084): undefined reference to `xf86OpenConsole'                                                           
xf86Init.c:(.text+0x20e3): undefined reference to `xf86ModulelistFromConfig'                                                   
xf86Init.c:(.text+0x2131): undefined reference to `xf86DriverlistFromConfig'                                                   
xf86Init.c:(.text+0x2155): undefined reference to `xf86InputDriverlistFromConfig'                                             
xf86Init.c:(.text+0x2248): undefined reference to `xf86HandleConfigFile'                                                       
xf86Init.c:(.text+0x2454): undefined reference to `xf86DriverlistFromCompile'                                                 
./.libs/libosandcommon.a(xf86AutoConfig.o): In function `xf86AutoConfig':                                                     
xf86AutoConfig.c:(.text+0xd29): undefined reference to `xf86HandleConfigFile'                                                 
./.libs/libosandcommon.a(xf86DoProbe.o): In function `DoProbe':                                                               
xf86DoProbe.c:(.text+0xf): undefined reference to `xf86DriverlistFromCompile'                                                 
./.libs/libosandcommon.a(xf86Configure.o): In function `DoConfigure':                                                         
xf86Configure.c:(.text+0x762): undefined reference to `xf86DriverlistFromCompile'                                             
xf86Configure.c:(.text+0x13a0): undefined reference to `xf86HandleConfigFile'                                                 
modes/libxf86modes.a(xf86Modes.o): In function `xf86GetDefaultModes':                                                         
xf86Modes.c:(.text+0xea4): undefined reference to `xf86NumDefaultModes'                                                       
xf86Modes.c:(.text+0xebc): undefined reference to `xf86DefaultModes'                                                           
xf86Modes.c:(.text+0xf26): undefined reference to `xf86NumDefaultModes'                                                       
collect2: ld returned 1 exit status                                                                                           
make[4]: *** [Xorg] Error 1                                                                                                   
make[4]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-1.5.3-r5/work/xorg-server-1.5.3/hw/xfree86'                 
make[3]: *** [all-recursive] Error 1                                                                                           
make[3]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-1.5.3-r5/work/xorg-server-1.5.3/hw/xfree86'                 
make[2]: *** [all] Error 2                                                                                                     
make[2]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-1.5.3-r5/work/xorg-server-1.5.3/hw/xfree86'                 
make[1]: *** [all-recursive] Error 1                                                                                           
make[1]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-1.5.3-r5/work/xorg-server-1.5.3/hw'                         
make: *** [all-recursive] Error 1                                                                                             
 *                                                                                                                             
 * ERROR: x11-base/xorg-server-1.5.3-r5 failed.                                                                               
 * Call stack:                                                                                                                 
 *               ebuild.sh, line   48:  Called src_compile                                                                     
 *             environment, line 3242:  Called x-modular_src_compile                                                           
 *             environment, line 4051:  Called x-modular_src_make                                                             
 *             environment, line 4090:  Called die                                                                             
 * The specific snippet of code:                                                                                               
 *       emake || die "emake failed"                                                                                           
 *  The die message:                                                                                                           
 *   emake failed                                                                                                             
 *                                                                                                                             
 * If you need support, post the topmost build error, and the call stack if relevant.                                         
 * A complete build log is located at '/var/tmp/portage/x11-base/xorg-server-1.5.3-r5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-base/xorg-server-1.5.3-r5/temp/environment'.
 *

>>> Failed to emerge x11-base/xorg-server-1.5.3-r5, Log file:

>>>  '/var/tmp/portage/x11-base/xorg-server-1.5.3-r5/temp/build.log'

 * Messages for package x11-base/xorg-server-1.5.3-r5:

 * Forcing on xorg-x11 for new enough glxtokens.h...
 *
 * ERROR: x11-base/xorg-server-1.5.3-r5 failed.
 * Call stack:
 *               ebuild.sh, line   48:  Called src_compile
 *             environment, line 3242:  Called x-modular_src_compile
 *             environment, line 4051:  Called x-modular_src_make
 *             environment, line 4090:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 *  The die message:
 *   emake failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/x11-base/xorg-server-1.5.3-r5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-base/xorg-server-1.5.3-r5/temp/environment'.
 * 
------------------------------------------------------------------------------


Portage 2.1.6.8 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-gentoo-r3 x86_64)               
=================================================================                                                             
System uname: Linux-2.6.28-gentoo-r3-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9300_@_2.50GHz-with-glibc2.2.5                         
Timestamp of tree: Mon, 16 Mar 2009 21:45:02 +0000                                                                             
ccache version 2.4 [enabled]                                                                                                   
app-shells/bash:     4.0_p10-r1                                                                                               
dev-java/java-config: 1.3.7-r1, 2.1.7                                                                                         
dev-lang/python:     2.5.4-r2                                                                                                 
dev-util/ccache:     2.4-r8                                                                                                   
dev-util/cmake:      2.6.3                                                                                                     
sys-apps/baselayout: 2.0.0                                                                                                     
sys-apps/openrc:     0.4.3-r1                                                                                                 
sys-apps/sandbox:    1.6                                                                                                       
sys-devel/autoconf:  2.13, 2.63                                                                                               
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2                                                                           
sys-devel/binutils:  2.19.1-r1                                                                                                 
sys-devel/gcc-config: 1.4.1                                                                                                   
sys-devel/libtool:   2.2.6a                                                                                                   
virtual/os-headers:  2.6.28-r1                                                                                                 
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                                                 
CBUILD="x86_64-pc-linux-gnu"                                                                                                   
CFLAGS="-O2 -march=core2 -pipe -msse4.1"                                                                                       
CHOST="x86_64-pc-linux-gnu"                                                                                                   
CONFIG_PROTECT="/etc /usr/share/config"                                                                                       
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d"                                               
CXXFLAGS="-O2 -march=core2 -pipe -msse4.1"                                                                                     
DISTDIR="/usr/portage/distfiles"                                                                                               
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"         
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ ftp://mirror.ovh.net/gentoo-distfiles/ ftp://gentoo.imj.fr/pub/gentoo/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp6.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.ipv6.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/"                                                                                                                     
LANG="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="fr"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bluetooth branding bzip2 cairo cddb cdr cli cracklib crypt cups custom-optimization dbus dri dts dvb dvd dvdr dvdread eds emboss encode evo exif fam ffmpeg firefox firefox3 flac fortran fuse gdbm gif glib glitz gpm gstreamer gtk hal htmlhandbook iconv id3tag ipv6 isdnlog ithreads java jce jpeg jpeg2k kde kerberos laptop lcms ldap libnotify madmidi mikmod mmx mng mp3 mpeg mudflap multilib mysql ncurses networkmanager nls nptl nptlonly nsplugin ntfs nvidia ogg openexr opengl openmp pam pcre pdf perl png ppds pppd python qt3support qt4 quicktime readline reflection session smp spell spl sse sse2 sse3 sse4 ssl ssse3 startup-notification svg sysfs tcpd threads tiff truetype unicode usb v4l2 vdpau vorbis x264 xcomposite xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" 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" CAMERAS="canon ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-17 05:41:01 UTC
*** Bug 262755 has been marked as a duplicate of this bug. ***
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-17 05:41:19 UTC
*** Bug 262756 has been marked as a duplicate of this bug. ***
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-17 20:19:09 UTC
Please attach the build.log file to this bug.
Comment 4 Florian GYS 2009-03-17 22:26:06 UTC
Created attachment 185351 [details]
xorg-server-1.5.3-r5 build.log
Comment 5 Rémi Cardona (RETIRED) gentoo-dev 2009-03-19 12:20:22 UTC
I've been trying to figure this one out, but it's definitely tricky.

Could you paste the output of "emerge -pv xorg-server" ?

Do other versions of xorg-server happen to build correctly?

Thanks
Comment 6 Florian GYS 2009-03-19 13:26:37 UTC
emerge -pv xorg-server

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] x11-base/xorg-server-1.5.3-r5 [1.5.3-r4] USE="hal ipv6 nptl xorg (-3dfx) -debug -dmx -kdrive -minimal -sdl -tslib" INPUT_DEVICES="evdev keyboard synaptics -acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300 -elographics -fpit -hyperpen -jamstudio -joystick -magellan -microtouch -mouse -mutouch -palmax-penmount -spaceorb -summa -tek4957 -tslib -ur98 -virtualbox -vmmouse -void -wacom" VIDEO_CARDS="nvidia vesa -apm -ark -ast -chips -cirrus -dummy -epson -fbdev -fglrx (-geode) -glint -i128 (-i740) (-impact) (-imstt) -intel -mach64 -mga -neomagic (-newport) -nv -r128 -radeon -radeonhd -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident -tseng -v4l (-vermilion) -via -virtualbox -vmware -voodoo (-xgi)" 0kB

Total: 1 package (1 upgrade), Size of downloads: 0 kB

This is the first time I have compiling problem with xorg.All previous version were building fine.
Comment 7 Rémi Cardona (RETIRED) gentoo-dev 2009-03-19 13:33:22 UTC
(In reply to comment #6)
> This is the first time I have compiling problem with xorg.All previous version
> were building fine.

Could you try rebuilding -r4 again? I really don't see what could go wrong...

Thanks
Comment 8 Florian GYS 2009-03-19 19:37:33 UTC
Ok,

1st test:
I have recompiled xorg-server-1.5.3-r4 without problem.
2nd test:
I have made another test on xorg-server-1.5.3-r5 but it still doesn't compile.

Could it be a ccache problem? Should I clear my cache?
Comment 9 Rémi Cardona (RETIRED) gentoo-dev 2009-03-19 19:49:51 UTC
Yikes, I didn't see you were using ccache. Actually, yes, please try to clear the cache or to disable ccache entirely.

Thanks
Comment 10 Florian GYS 2009-03-19 19:58:19 UTC
It did the trick!
xorg-server-1.5.3-r5 now compile fine with ccache disabled.

This is the first time i have to disable ccache to compile a package: i had neve realized that ccache could produce compilation errors...i'm now thinking of removing it completly...what's you're thoughts about ccache?
Comment 11 Rémi Cardona (RETIRED) gentoo-dev 2009-03-19 20:18:12 UTC
(In reply to comment #10)
> It did the trick!
> xorg-server-1.5.3-r5 now compile fine with ccache disabled.

Woohoo! :D

> This is the first time i have to disable ccache to compile a package: i had
> neve realized that ccache could produce compilation errors...i'm now thinking
> of removing it completly...what's you're thoughts about ccache?

It's actually the first time I've seen ccache fail in X packages IIRC, but it's been a recurring source of headaches with Gnome packages.

As for me, I really don't encourage anyone using it. It's just not worth the trouble.

Thanks very much for finding the real cause, I was really starting to worry about the quality of our patches to the X server :)

Closing invalid.
Comment 12 Florian GYS 2009-03-19 20:35:28 UTC
Thanks a lot.

Best regards.