Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
I believe this error is due to wrong quoting of depmode parms in Makefile due to the configure file. I guess this is not really an ebuild error but an error in the freeglut-2.4.0.tar.gz archive itself. Didn't know where to post this, hope here is the right place. Thanks. Fabrizio tosh log # emerge --info Portage 2.1.1_pre1-r2 (default-linux/x86/no-nptl, gcc-4.1.1/vanilla, glibc-2.3.6-r4, 2.6.15-gentoo-r1 i686) ================================================================= System uname: 2.6.15-gentoo-r1 i686 Intel(R) Pentium(R) M processor 1.50GHz Gentoo Base System version 1.12.1 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i386-pc-linux-gnu" CFLAGS="-Os -mcpu=i686 -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/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-Os -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://mirror.ovh.net/gentoo-distfiles/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ http://gentoo.ngi.it ftp://ftp.unina.it/pub/linux/distributions/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/overlay/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts cli crypt cups dri dvd eds emboss encode fbcon font-server foomaticdb fortran gcj gd gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml imlib ipv6 isdnlog jpeg kde libg++ libwww mad mikmod motif mp3 mpeg mysql ncurses nls ogg opengl oss pam pcre pdflib perl php4 png ppds pppd python qt quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts unicode usb vorbis xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_i810 video_cards_vesa video_cards_fbdev" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS make all-recursive make[1]: Entering directory `/var/tmp/portage/freeglut-2.4.0/work/freeglut-2.4.0' Making all in src make[2]: Entering directory `/var/tmp/portage/freeglut-2.4.0/work/freeglut-2.4.0/src' source='freeglut_callbacks.c' object='libglut_la-freeglut_callbacks.lo' libtool=yes \ depfile='.deps/libglut_la-freeglut_callbacks.Plo' tmpdepfile='.deps/libglut_la-freeglut_callbacks.TPlo' \ depmode=gcc3 /bin/sh ../depcomp \ /bin/sh ../libtool --mode=compile i386-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Os -mcpu=i686 -pipe -Wall -pedantic -Werror -c -o libglut_la-freeglut_callbacks.lo `test -f freeglut_callbacks.c || echo './'`freeglut_callbacks.c mkdir .libs i386-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Os -mcpu=i686 -pipe -Wall -pedantic -Werror -c freeglut_callbacks.c -MT libglut_la-freeglut_callbacks.lo -MD -MP -MF .deps/libglut_la-freeglut_callbacks.TPlo -fPIC -DPIC `-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]: 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. Call stack: ebuild.sh, line 1540: Called dyn_compile ebuild.sh, line 940: Called src_compile ebuild.sh, line 609: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant.
You don't need quotes on depmode since the string has no spaces in it. Which compiler is this?
Actually, just post your whole 'emerge --info'.
This is a dupe of #134586
(In reply to comment #3) > This is a dupe of #134586 > You think -Os is breaking it then? Fabrizio, try emerging the package with -O2 instead of -Os.
Hi all, my emerge --info is on the top of my initial comment. I tried with the O2 option but the error is still the same. Any other idea? Thanks, Fabrizio
(In reply to comment #5) > Hi all, > > my emerge --info is on the top of my initial comment. > I tried with the O2 option but the error is still the same. > Any other idea? > > Thanks, > Fabrizio > Thank you guys, after having changed the /etc/make.conf for my Pentium M processor CHOST="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer" the freeglut-2.4.0 problem has been solved. Thank you for pointing me to the right direction. Cheers, Fabrizio
Reopen to dupe.
*** This bug has been marked as a duplicate of 134586 ***