Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55782 - Using -glut causes lablgl-1.00 install to fail
Summary: Using -glut causes lablgl-1.00 install to fail
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Gentoo Team for the ML programming language family
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-01 05:30 UTC by Tom Kiermaier
Modified: 2004-08-18 04:45 UTC (History)
0 users

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 Tom Kiermaier 2004-07-01 05:30:13 UTC
I think the latest change to lablgl broke the install if you don't have glut in your use flags. Without glut in my use flags I get this when trying to install:

make[4]: Leaving directory `/var/tmp/portage/lablgl-1.00/work/lablgl-1.00/LablGlut/src'
cp lablglut "/var/tmp/portage/lablgl-1.00/image//usr/bin"
cp: cannot stat `lablglut': No such file or directory
make[3]: *** [real-install] Error 1
make[3]: Leaving directory `/var/tmp/portage/lablgl-1.00/work/lablgl-1.00/LablGlut/src'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/var/tmp/portage/lablgl-1.00/work/lablgl-1.00/LablGlut/src'
make[1]: *** [real-install] Error 2
make[1]: Leaving directory `/var/tmp/portage/lablgl-1.00/work/lablgl-1.00'
make: *** [install] Error 2

!!! ERROR: dev-ml/lablgl-1.00 failed.
!!! Function src_install, Line 63, Exitcode 2
!!! (no error message)

With glut in my use flags it installs fine. 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




raptor root # emerge info
Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0,
2.6.7-gentoo-r6)
=================================================================
System uname: 2.6.7-gentoo-r6 i686 AMD Athlon(TM) XP 2600+
Gentoo Base System version 1.5.1
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -mmmx -msse -m3dnow
-mfpmath=sse -fprefetch-loop-arrays"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -mmmx -msse -m3dnow
-mfpmath=sse -fprefetch-loop-arrays"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.seren.com/gentoo
http://www.ibiblio.org/pub/Linux/distributions/gentoo/
http://gentoo.oregonstate.edu http://gentoo.binarycompass.org/
http://gentoo.netnitco.net/ http://gentoo.mirrors.pair.com/"
MAKEOPTS="-j2"
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 acpi alsa apache2 apm arts avi berkdb bindist cdr crypt cups
encode esd fam flac foomaticdb gd gd-external gdbm gif gimpprint gpm gtk gtk2
imlib java jpeg kde libg++ libwww mad mikmod mmx motif moznocompose moznoirc
mpeg mysql ncurses nls nptl oggvorbis opengl oss pam pda pdflib perl png pwdb
python qt quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd tiff
truetype x86 xml2 xmms xv zlib"
Comment 1 Matthieu Sozeau (RETIRED) gentoo-dev 2004-07-02 02:01:56 UTC
That's weird, i have no problem emerging it with USE=-glut, and inspecting the makefiles makes me think it's not possible (make install will try to install lablglut only if the bytecode archive was built during the compile phase, which is possible only if "make glut" has been called, which in turn depends on the glut use flag). Except if "a && b" is not lazy (executing b and a in parallel), i'm clueless. Can you attach the full compilation trace ?
Comment 2 Matthieu Sozeau (RETIRED) gentoo-dev 2004-07-02 02:32:27 UTC
Hmm, this may come from the fact that you have the tcltk USE flag set. Try the new version i just commited.
Comment 3 Tom Kiermaier 2004-07-02 09:05:52 UTC
The new version works. Thanks
Comment 4 Matthieu Sozeau (RETIRED) gentoo-dev 2004-08-18 04:45:01 UTC
Forgot to mark fixed :)