Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 16643 - emerge xfree fails whilst compiling glx
Summary: emerge xfree fails whilst compiling glx
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-01 20:22 UTC by Markus Nigbur (RETIRED)
Modified: 2004-03-06 11:28 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Nigbur (RETIRED) gentoo-dev 2003-03-01 20:22:38 UTC
emerge xfree fails whilst compiling glx
processor: amd k6-2 400
CFLAGS: -march=k6-2 -O3 -pipe

Reproducible: Always
Steps to Reproduce:
1. emerge xfree (4.2.1-r2)
2. ebuild /usr/portage/x11-base/xfree/xfree-4.3.0.ebuild merge
3.

Actual Results:  
make[4]: Entering directory `/var/tmp/porttmp/portage/xfree-
4.3.0/work/xc/lib/GL/GL' 
gcc -m32    -c -
o ../../../lib/GL/glx/glapi_x86.o ../../../lib/GL/glx/glapi_x86.S 
../../../lib/GL/glx/glapi_x86.S:2:22: assyntax.h: No such file or directory 
../../../lib/GL/glx/glapi_x86.S:3:26: glapioffsets.h: No such file or directory 
make[4]: *** [../../../lib/GL/glx/glapi_x86.o] Error 1 
make[4]: Leaving directory `/var/tmp/porttmp/portage/xfree-
4.3.0/work/xc/lib/GL/GL' 
make[3]: *** [install] Error 2 
make[3]: Leaving directory `/var/tmp/porttmp/portage/xfree-
4.3.0/work/xc/lib/GL' 
make[2]: *** [install] Error 2 
make[2]: Leaving directory `/var/tmp/porttmp/portage/xfree-4.3.0/work/xc/lib' 
make[1]: *** [install] Error 2 
make[1]: Leaving directory `/var/tmp/porttmp/portage/xfree-4.3.0/work/xc' 
make: *** [install] Error 2 

!!! ERROR:  x11-base/xfree-4.3.0 failed. 
!!! Function src_install, Line 346, Exitcode 2 
!!!  (no error message)
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2003-04-19 05:39:03 UTC
Markus, can you test the masked xfree-4.3.0-r2 ebuild please?
Comment 2 Markus Nigbur (RETIRED) gentoo-dev 2003-04-30 09:11:09 UTC
just did it, emerge will fail with this error:

../../../config/makedepend/makedepend: error: cannot open "Makefile.bak"

really wierd, this amd k6-2 box is the only box of mine that make problems with basically anything.
already tried different CFLAGS/CXXFLAGS but nothing worked yet.

i guess something is b0rked with her...
Comment 3 Luca Barbato gentoo-dev 2003-04-30 10:16:46 UTC
hm, do you have enough space?
Comment 4 Markus Nigbur (RETIRED) gentoo-dev 2003-04-30 12:33:47 UTC
wtf?
you'r right. actually my / run out of disk space
this really shouldn't happen, since i mounted some space of my fileserver to /var, but this damn nfs mount didn't work ;)

thanks for the tip.

going to give it a new try in some mins
Comment 5 Markus Nigbur (RETIRED) gentoo-dev 2003-05-11 08:03:39 UTC
uh, forgot to say: worked
Comment 6 Blu3 2004-03-05 16:14:08 UTC
shuttle bin # df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/ide/host0/bus0/target0/lun0/part4
                      37550784   6515212  31035572  18% /


installing in lib/GL/GL...
make[4]: Entering directory `/var/tmp/portage/xfree-4.3.0-r5/work/xc/lib/GL/GL'
gcc    -c -o ../../../lib/GL/glx/glapi_x86.o ../../../lib/GL/glx/glapi_x86.S
../../../lib/GL/glx/glapi_x86.S:2:22: assyntax.h: No such file or directory
../../../lib/GL/glx/glapi_x86.S:3:26: glapioffsets.h: No such file or directory
make[4]: *** [../../../lib/GL/glx/glapi_x86.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r5/work/xc/lib/GL/GL'
make[3]: *** [install] Error 2

I don't think it's fixed...


shuttle bin # emerge info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.5.69)
=================================================================
System uname: 2.5.69 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -pipe"
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 /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa caps crypt cups dga dnd ethereal gd gdbm gif gnome gpm gps gtk gtk2 gtkhtml imagemagick imlib imlib2 ipv6 java jpeg kde libg++ mikmod mmap mmx nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses nls pam pdflib perl png postgres python qt readline samba snmp spell sse ssl truetype usb x86 xml2 xv zlib"
Comment 7 Blu3 2004-03-05 16:56:28 UTC
shuttle bin # find / -name glapioffsets.h
/var/tmp/portage/xfree-4.3.0-r5/work/xc/extras/Mesa/src/glapioffsets.h
Comment 8 Blu3 2004-03-06 10:55:19 UTC
Hmm, I 'fixed' the xfree compile.  /usr/bin/g++, gcc, cpp were coming up with strange could not locate/execute errors.  I deleted those files and symlinked the /usr/i686../gcc-bin files and things worked again.
Comment 9 Donnie Berkholz (RETIRED) gentoo-dev 2004-03-06 11:28:24 UTC
Did you set a umask that rendered them unexecutable? I've seen that happen.