+++ This bug was initially created as a clone of Bug #195081 +++ all errors in english. I did emerge --sync && emerge --update --deep world Some packets was updated, but media-libs/mesa-7.0.1 failed. Now I have media-libs/mesa:6.5.2-r1 and x11-apps/mesa-progs:6.5.2 Reproducible: Always Actual Results: gentoo user # emerge mesa Calculating dependencies... done! >>> Verifying ebuild Manifests... >>> Emerging (1 of 1) media-libs/mesa-7.0.1 to / * MesaLib-7.0.1.tar.bz2 RMD160 ;-) ... [ ok ] * MesaLib-7.0.1.tar.bz2 SHA1 ;-) ... [ ok ] * MesaLib-7.0.1.tar.bz2 SHA256 ;-) ... [ ok ] * MesaLib-7.0.1.tar.bz2 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking MesaLib-7.0.1.tar.bz2 ;-) ... [ ok ] * QA Notice: USE Flag 'amd64-fbsd' not in IUSE for media-libs/mesa-7.0.1 * QA Notice: USE Flag 'kernel_FreeBSD' not in IUSE for media-libs/mesa-7.0.1 >>> Unpacking source... >>> Unpacking MesaLib-7.0.1.tar.bz2 to /var/tmp/portage/media-libs/mesa-7.0.1/work * Removing DO_DEBUG defs in dri drivers... >>> Source unpacked. >>> Compiling source in /var/tmp/portage/media-libs/mesa-7.0.1/work/Mesa-7.0.1 ... (cd configs && rm -f current && ln -s linux-dri-x86-64 current) make default make[1]: Entering directory `/var/tmp/portage/media-libs/mesa-7.0.1/work/Mesa-7.0.1' make[2]: Entering directory `/var/tmp/portage/media-libs/mesa-7.0.1/work/Mesa-7.0.1/src' ../configs/current:38: *** missing separator. Stop. make[2]: Leaving directory `/var/tmp/portage/media-libs/mesa-7.0.1/work/Mesa-7.0.1/src' make[1]: *** [default] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-libs/mesa-7.0.1/work/Mesa-7.0.1' make: *** [linux-dri-x86-64] Error 2 * * ERROR: media-libs/mesa-7.0.1 failed. * Call stack: * ebuild.sh, line 1687: Called dyn_compile * ebuild.sh, line 1025: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * mesa-7.0.1.ebuild, line 206: Called die * The specific snippet of code: * emake -j1 ${CONFIG} || die "Build failed" * The die message: * Build failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/media-libs/mesa-7.0.1/temp/build.log'. * * Messages for package media-libs/mesa-7.0.1: * * ERROR: media-libs/mesa-7.0.1 failed. * Call stack: * ebuild.sh, line 1687: Called dyn_compile * ebuild.sh, line 1025: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * mesa-7.0.1.ebuild, line 206: Called die * The specific snippet of code: * emake -j1 ${CONFIG} || die "Build failed" * The die message: * Build failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/media-libs/mesa-7.0.1/temp/build.log'. * gentoo user # emerge --info Portage 2.1.3.12 (default-linux/amd64/2006.1, gcc-4.2.0, glibc-2.6-r0, 2.6.22-gentoo-r6 x86_64) ================================================================= System uname: 2.6.22-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3000+ Timestamp of tree: Mon, 08 Oct 2007 10:20:01 +0000 ccache version 2.4 [disabled] app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.3.5-r2, 2.4.4-r4 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.10-r5 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r3 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O3 -pipe" CHOST="x86_64-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/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=athlon64 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl http://src.gentoo.pl" LANG="C" LC_ALL="C" LINGUAS="pl ru en" MAKEOPTS="-j2" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/xeffects" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X alsa amd64 apm arts avi bitmap-fonts cdr cli cracklib crypt cups djvu doc dri dvd encode foomatic foomaticdb fortran gdbm gif gpm gstreamer hal iconv icq imlib isdnlog jpeg kde ldap libg++ libwww midi mpeg mudflap ncurses nls nptl nptlonly odbc ogg oggvorbis opengl openmp oss pam pcre pdflib perl png ppds pppd python qt readline reflection sasl session slang spell spl ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode usb userlocales utf8 v4l xine xml2 xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl ru en" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Please *reopen* the bug in feature after providing requested info instead of filing a duplicate. :/
*** Bug 195081 has been marked as a duplicate of this bug. ***
xorg-server depend from this bug.
../configs/current:38: *** missing separator. Stop. Please attach the file configs/current, found in the Mesa work directory.
Created attachment 133237 [details] current->linux-dri-x86-64 Path to this file: /var/tmp/portage/media-libs/mesa-7.0.1/work/Mesa-7.0.1/configs/linux-dri-x86-64
Looks like your gcc's broken: gcc-config: No gcc profile is active! gcc-config: No gcc profile is active; please select one! [1] x86_64-pc-linux-gnu-3.4.5 [2] x86_64-pc-linux-gnu-3.4.5-hardened [3] x86_64-pc-linux-gnu-3.4.5-hardenednopie [4] x86_64-pc-linux-gnu-3.4.5-hardenednopiessp [5] x86_64-pc-linux-gnu-3.4.5-hardenednossp [6] x86_64-pc-linux-gnu-4.1.2 [7] x86_64-pc-linux-gnu-4.2.0/include
(In reply to comment #6) > Looks like your gcc's broken: > > gcc-config: No gcc profile is active! > gcc-config: No gcc profile is active; please select one! > [1] x86_64-pc-linux-gnu-3.4.5 > [2] x86_64-pc-linux-gnu-3.4.5-hardened > [3] x86_64-pc-linux-gnu-3.4.5-hardenednopie > [4] x86_64-pc-linux-gnu-3.4.5-hardenednopiessp > [5] x86_64-pc-linux-gnu-3.4.5-hardenednossp > [6] x86_64-pc-linux-gnu-4.1.2 > [7] x86_64-pc-linux-gnu-4.2.0/include > I saw it, but if I do: gcc-config x86_64-pc-linux-gnu-4.2.0 source /etc/profile (eventually first export REAL_CHOST="x86_64-pc-linux-gnu") I haven't any positive solution!
Try gcc-config 7 source /etc/profile then run gcc-config -l and make sure an asterix is against 7 to show it's current before trying to build.
Thanks for help! But I run emerge --sync emerge gcc (newest version 4.2.2) emerge mesa and all done successfully! Naturally, problem was in gcc. Thanks a lot again.
I just got this problem on a fresh (x86) install -- the new gcc doesn't get merged before MESA in 'emerge -e system' with the gtk USE flag enabled. I'm not sure what package breaks the gcc profile before mesa gets built though.
It's likely to be gcc-config or gcc itself -- I can't imagine any other packages trying to run gcc-config or fiddle around with its config files.
*** Bug 202855 has been marked as a duplicate of this bug. ***
*** Bug 213091 has been marked as a duplicate of this bug. ***