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

Bug 43062

Summary: xfree-4.3.0-r5 fails compilation
Product: Gentoo Linux Reporter: Gustavo Ribeiro Alves <gralves>
Component: Current packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
URL: http://forums.gentoo.org/viewtopic.php?t=138568&highlight=xfree4+3+0r5
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Log file of the failure

Description Gustavo Ribeiro Alves 2004-02-26 21:43:00 UTC
When I try to emerge xfree 4.3.0 I got errors building the GL libs.

Reproducible: Always
Steps to Reproduce:
1. emerge -Uv xfree
2.
3.

Actual Results:  
installation crashed with:
collect2: ld returned 1 exit status
make[3]: *** [glxinfo] Error 1
make[3]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r5/work/xc/programs   
    /glxinfo'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r5/work/xc/programs   
    '
make[1]: *** [install] Error 2
make[1]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r5/work/xc'
make: *** [install] Error 2

!!! ERROR: x11-base/xfree-4.3.0-r5 failed.
!!! Function src_install, Line 614, Exitcode 2
!!! (no error message) 

Expected Results:  
xfree compiled and installed

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.2-mm1)
=================================================================
System uname: 2.6.2-mm1 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.4.3.13
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -mmmx -m3dnow -msse
-mfpmath=sse,387"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -mmmx -m3dnow -msse
-mfpmath=sse,387"
DISTDIR="/home/distfiles/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib alsa apache2 auctex avi berkdb bonobo cdr crypt cups doc dvd
emacs encode esd faad fbcon foomaticdb gb gd gdbm ggi gif gnome gphoto2 gpm
gstreamer gtk gtk2 gtkhtml guile imlib java jpeg ldap libg++ libwww mad mikmod
motif mozilla mpeg mule mysql nas ncurses nls nptl oggvorbis opengl oss pam pda
pdflib perl png python quicktime radeon readline samba sdl slang spell sse ssl
svga tcltk tcpd tetex tiff truetype wxwindows x86 xemacs xerces xine xinerama
xml2 xmms xv zlib"
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2004-02-26 21:57:13 UTC
Need more info to help you with this. Set PORT_LOGDIR, and attach the created log as a plain-text file (or link to it, if the attachment is too big).
Comment 2 Gustavo Ribeiro Alves 2004-02-27 07:57:29 UTC
Created attachment 26475 [details]
Log file of the failure

Full log of the failure.
Comment 3 Gustavo Ribeiro Alves 2004-02-27 07:59:07 UTC
I sent the file gziped since it was too big (about 7M). 
Comment 4 Bryan Stine (RETIRED) gentoo-dev 2004-02-27 08:40:47 UTC
Relevant log output below:

gcc -c -mno-mmx  -ansi -pedantic -Wno-return-type -w  -I../../../../../../exports/include/X11 -I../../../../../../include/extensions -I../../../../../../extras/Mesa/src             -I../../../../../../lib/GL/mesa/src/drv/common          -I../../../../../../lib/GL/mesa/src/drv/gamma -I../../../../../../lib/GL/dri                 -I../../../../../../lib/GL/glx          -I../../../../../../exports/include             -I../../../../../../exports/include/GL               -I../../../../../../programs/Xserver/GL/dri             -I../../../../../../programs/Xserver/hw/xfree86/os-support           -I../../../../../../programs/Xserver/hw/xfree86/drivers/glint           -I../../../../../../programs/Xserver/hw/xfree86/common               -I../../../../../../lib/GL/dri/drm              -I../../../../../../lib/GL/include  -I../../../../../.. -I../../../../../../exports/include   -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L                           -D_POSIX_SOURCE -D_XOPEN_SOURCE     -D_BSD_SOURCE -D_SVID_SOURCE                              -D_GNU_SOURCE                            -DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS  -D_REENTRANT -DXUSE_MTSAFE_API    -DMALLOC_0_RETURNS_NULL -DGLXEXT -DXF86DRI -DGLX_DIRECT_RENDERING -DGLX_USE_DLOPEN -DGLX_USE_MESA  -DX_BYTE_ORDER=X_LITTLE_ENDIAN -DUSE_X86_ASM  -DUSE_3DNOW_ASM -DUSE_SSE_ASM     -fPIC ../../../../../../lib/GL/dri/drm/xf86drm.c
In file included from ../../../../../../lib/GL/dri/drm/drm.h:39,
                 from ../../../../../../lib/GL/dri/drm/xf86drm.c:70:
/usr/include/linux/config.h:4:28: linux/autoconf.h: No such file or directory
make[5]: *** [../../../../../../lib/GL/dri/drm/xf86drm.o] Error 1
make[5]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r5/work/xc/lib/GL/mesa/src/drv/gamma'
make[4]: *** [install] Error 2
make[4]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r5/work/xc/lib/GL/mesa/src/drv'
make[3]: *** [install] Error 2
make[3]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r5/work/xc/lib/GL'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r5/work/xc/lib'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r5/work/xc'
make: *** [install] Error 2

What version of linux-headers are you using?
Comment 5 Donnie Berkholz (RETIRED) gentoo-dev 2004-02-27 09:35:27 UTC

*** This bug has been marked as a duplicate of 41117 ***