Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
View Bug Activity | Format For Printing | XML | Clone This Bug
Portage 2.0.54-r2 (default-linux/x86/no-nptl, gcc-3.4.5, glibc-2.3.5-r2, 2.6.16-gentoo-r7 i66) ================================================================= System uname: 2.6.16-gentoo-r7 i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.6.14 dev-lang/python: 2.4.2 dev-python/pycrypto: [Not Present] dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i386-pc-linux-gnu" CFLAGS="-mcpu=athlon-xp -O3 -pipe" CHOST="i386-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/lb/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platx/config/ /usr/share/texmf/xdvi/" CONFIG_PROTECT_MASK="/etc/gconf /etc/rc.d /etc/terminfo /etc/wget /etc/env.d" CXXFLAGS="-mcpu=athlon-xp -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://www.las.ic.unicamp.br/pub/gentoo/ http://ftp.twaren.net/Linux/Gentoo/" LANG="es_ES.UTF-8" LINGUAS="es" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext S3TC X aac aalib acpi alsa alsai apm arts artworkextra asf asm asyncaudacious audiofile avi bash-completion beagle berkdb bitmap-fonts bonobo bootsplash bzip2 ciro cdda cddb cdio cdparanoia cdr cdrom cg cli cpudetection crypt cscope css cups curl curlwappers dbase dbus dcraw dict directfb dnd dpms dri dts dvb dvd dvdr dvdread dvi dxr3 editor ds emboss encode epiphany escreen esd examples exif exim expat extraicons extras fam fat fbcn fbsplash ffmpeg figlet firefox flash fluidsynth font-server fontconfig foomaticdb fortran tp gaim gcj gdb gdbm gif gimp gkrellm glitz gmail gmailtimestamps gnome gnome-print gnomecanas gnomedb gnustep gpm gs gstreamer gtalk gtk gtk2 gtkhtml guionly gvim hal hddtemp hou howlhtml icecast icon iconv icq id3 ident idn imap imlib infopipe ipv6 irc isdnlog j2ee jabber jvascript jboss jpeg kde kexi lame largeterminal latex lcms libcaca libclamav libg++ libsexy ibwww lm_sensors mad maildir mbox mbx menubar mikmod mime ming mjpeg mng motif mouse mozcaledar mozilla mp3 mp4 mp4live mpd-mad mpeg mpeg2 msn mssql musepack music mysql nas ncurses ne netbeans nethack network new-login nforce2 nls nntp ntfs nvidia nvram nvtv nxclient oav odb ogg ole openal opengl oss pam pango pcre pda pdf pdflib perl pfpro php physfs pink player pg pnp pop pop3d pppd preview-latex print ps python qt quicktime rdesktop readline reflectionreiser4 reiserfs rhythmbox rle roe rogue rplay rss rtsp ruby samba sblive scenarios scp scren sdl sendfile serial server session setup-plugin shorten skins slang sndfile sou sounds spel spl sql sqlite sqlite3 ssl stream submenu subp subtitles svg svga swat syslog tcpd teamarea tetex threads thumbnail thunar-vfs tiff transcode truetype truetype-fonts type1 type1-font udev usb vcd vcdimager vdr verbose vidix vim vim-pager vim-with-x vnc vorbis vorbisi webminminimal webservices win32codecsi wma wma123 wv xanim xatrix xbase xchat xchattext xcompositexfs xine xinerama xml xml2 xmlreader xmlrpc xmms xorg xosd xrandr xv xvid xvmc yaepg zlib liguas_es userland_GNU kernel_linux elibc_glibc" Unset: CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS PORTDIR_OVERLAY
emerge freeglut ... ... ... etc `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. mv -f libglut_la-freeglut_callbacks.o .libs/libglut_la-freeglut_callbacks.lo mv: cannot stat `libglut_la-freeglut_callbacks.o': No such file or directory make[2]: *** [libglut_la-freeglut_callbacks.lo] Error 1 make[2]: *** Se espera a que terminen otras tareas.... mv -f libglut_la-freeglut_cursor.o .libs/libglut_la-freeglut_cursor.lo mv: cannot stat `libglut_la-freeglut_cursor.o': No such file or directory make[2]: *** [libglut_la-freeglut_cursor.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/freeglut-2.4.0/work/freeglut-2.4.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/freeglut-2.4.0/work/freeglut-2.4.0' make: *** [all] Error 2 !!! ERROR: media-libs/freeglut-2.4.0 failed. !!! Function src_compile, Line 566, Exitcode 2 !!! emake failed
*** Bug 134583 has been marked as a duplicate of this bug. ***
*** Bug 134584 has been marked as a duplicate of this bug. ***
*** Bug 134585 has been marked as a duplicate of this bug. ***
This has nothing in common w/ bugzilla product. Also, fix your browser refresh...
Try emerging with CFLAGS="-march=athlon-xp -O2 -pipe", or even -O1.
Assuming that doesn't work, set MAKEOPTS="-j1" or unset it entirely in make.conf and try again.
Coment #6 (https://bugs.gentoo.org/show_bug.cgi?id=134586#c6) works fine. Thanks Joshua Baergen!
That looks a bit like an odd race condition due to parallel builds that won't be easily reproduceable at the same place.
Yeah, it's even possible that changing the optimization of the package changes the order of compile enough that the race condition is satisfied. Interesting that we haven't seen more complaints of this, though.
FYI, I had the same problem with the optimisation level set to 3. Setting it to 2 worked for me as well. Thanks.
OK, I'm going to filter -O3 to -O2.
*** Bug 139433 has been marked as a duplicate of this bug. ***
*** Bug 137919 has been marked as a duplicate of this bug. ***
Well, this doesn't look like really fixed. We should force -j1 here since there are duplicate reports w/ -Os and -O2 as well.
Unfortunately on my machine setting MAKEOPTS="-j1" and even disabling optimizations doesn`t help. If this is a race condition as you say then maybe we should consider it a bug in libtool and pass it to them ???
Everyone having this problem, what are your CFLAGS?
I tried to compile using: CFLAGS="-O2 -mtune=pentium3 -march=i686 -pipe" and CFLAGS="-O1 -mtune=pentium3 -march=i686 -pipe" and CFLAGS="-mtune=pentium3 -march=i686 -pipe" and even without CFLAGS defined Nothing helps ...
Try CFLAGS="-O2 -march=pentium3 -pipe"
*** Bug 139568 has been marked as a duplicate of this bug. ***
Thans, that helped. What does it have to do with the -mtune flag ??? It`s just beyond me :)
It's not the mtune flag, but rather the lack of -march. I'm not sure why, but it would appear that some bad code is being generated without architecture-specific optimizations enabled. Re-opening until we solve this properly.
Temporary solution: ebuild /usr/portage/media-libs/freeglut/freeglut-2.4.0.ebuild unpack cd /var/tmp/portage/freeglut-2.4.0/work/freeglut-2.4.0/ ./configure make touch .compiled (cd back to avoid complaints while cleaning /var/tmp/portage) ebuild /usr/portage/media-libs/freeglut/freeglut-2.4.0.ebuild merge
This problem was fixed by moving mcpu -> mtune in CFLAGS. The "-mcpu" option is deprecated.
(In reply to comment #24) > This problem was fixed by moving mcpu -> mtune in CFLAGS. > The "-mcpu" option is deprecated. > This has failed for people using mtune as well.
*** Bug 145385 has been marked as a duplicate of this bug. ***
I'm going to add a warning to the ebuild about this issue. Does anyone know the proper venue for reporting this issue upstream? freeglut.sourceforge.net looks quite out of date.
(In reply to comment #18) > I tried to compile using: > > CFLAGS="-O2 -mtune=pentium3 -march=i686 -pipe" > and > CFLAGS="-O1 -mtune=pentium3 -march=i686 -pipe" > and > CFLAGS="-mtune=pentium3 -march=i686 -pipe" > and even without CFLAGS defined > > Nothing helps ... > CFLAGS="-mtune=athlon -mcpu=athlon -march=i686 -pipe" wroked for me on an AMD Semprom 2600+ Cheers!
Have you tried with 2.4.0-r1? It worked for me Good luck!
I got a PS3 and install Gentoo on it. On PS3, CFLAGS cann't set to "-march=G5" or "-mtune=G5",or it'll show error messages such like "cann't create excutable files". The only solution seems to use the manually-compile method mentioned above.
on mac mini: CFLAGS="-O2 -mtune=powerpc -fno-strict-aliasing -pipe" ..freeglut does not compile, and forces me to set -march.. so when: CFLAGS="-O2 -march=G4 -fno-strict-aliasing -pipe" configure: error: C compiler cannot create executables (gcc version 3.4.4 (Gentoo 3.4.4, ssp-3.4.4-1.0, pie-8.7.8))
Installing gentoo on an AMD Phenom quad core. CFLAGS="-march=k8 -O2 -msse3 -pipe" MAKEOPTS="-j5" While emerging xorg-x11 I was getting the dreaded missing lGL error during the freeglut install. After viewing MANY bug reports here and elsewhere I discovered that in /usr/lib64, my libGL.so was red blinking (ie pointing to a file that no longer exists). I removed it and ran eselect opengl set xorg-x11 and a correct link was created. I was then able to successfully emerge xorg-x11