Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Nothing compiles [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
HeXiLeD
l33t
l33t


Joined: 20 Aug 2005
Posts: 946
Location: online

PostPosted: Sun Feb 09, 2014 7:25 pm    Post subject: Nothing compiles [SOLVED] Reply with quote

I have been having this problem over a year now and avoiding to come here with things that were caused by some people who marked stable packages too soon and or forgot their dependencies matter too.
Nothing was compiling in 3 gentoos and although i was able to fix 2 almost without knowing how i did it; the 3rd one is getting chaotic even tho it is the same hardware and almost the same build as the one i have a problem with.

Nothing compiles and when it not one thing it is the other until it gets redundant and i down see how to fix it.
udev fails due to autoconf/automake, if i fix autoconf/automake, fails due to dev-util/intltool being too old, removing it solves nothing and my other systems have the same packages working. When it is not this its because /usr/bin/glib-mkenums: /usr/local/bin/perl: bad interpreter: No such file or directory but removing, re-instaling, masking, upgrading, downgrading leads to the same, perl-cleaner fails until something else gets fixed; which never gets fixed, python-updater goes south too, removing packages and keep on removing has not solved anything so far and the list goes on.

I don't even know where to start but right now i need to solve this one:

Code:
 /usr/bin/glib-mkenums: /usr/local/bin/perl: bad interpreter

I have re-installed de-lang/perl as well as upgraded glibc and recompiled and i cannot compile packages that need this and i am tired to browse pages for solutions that lead to bugs.

Code:
# emerge --info
Portage 2.2.7 (default/linux/amd64/13.0/desktop, gcc-4.7.3, glibc-2.18-r1, 3.8.5 x86_64)
=================================================================
System uname: Linux-3.8.5-x86_64-Intel-R-_Atom-TM-_CPU_N475_@_1.83GHz-with-gentoo-2.2
KiB Mem:     2042160 total,    726060 free
KiB Swap:     503464 total,    503392 free
Timestamp of tree: Sun, 09 Feb 2014 16:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
distcc[3415] (dcc_trace_version) distcc 3.1 x86_64-pc-linux-gnu; built Dec 30 2013 09:55:18 [disabled]
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.5-r3, 3.1.4-r3, 3.2.5-r1, 3.3.3
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.14.1
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.6.3, 4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.18-r1
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=atom -O2 -pipe -mcx16 -msahf -mmovbe --param l1-cache-size=24 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=atom"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/sound/events /etc/terminfo"
CXXFLAGS="-march=atom -O2 -pipe -mcx16 -msahf -mmovbe --param l1-cache-size=24 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=atom"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical --buildpkg=y --binpkg-respect-use=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.the-best-hosting.net ftp://mirrors.tera-byte.com/pub/gentoo http://gentoo.mirrors.tera-byte.com/ http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/usr/portage/tmp/"
PORTDIR="/usr/portage/ebuilds"
PORTDIR_OVERLAY=""
SYNC="rsync://up.yours.dev/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 aperfmperf apic apm arch_perfmon berkdb bluetooth branding bts bzip2 cairo cdda cdr clflush cli cmov consolekit constant_tsc cracklib crypt cx16 cx8 cxx dbus de directfb dri ds_cpl dtes64 dts dvd dvdr emboss encode est exif fam fbcon firefox flac fortran fpu fxsr gcrypt gdbm geoip gif gnutls gpm gtk hddtemp ht iconv jpeg lahf_lm lcms libnotify lm mad mca mce mmx mng modules monitor movbe mp3 mp4 mpeg msr mtrr multilib ncurses nptl nx ogg opengl openmp pae pango pat pbe pcre pdcm pdf pebs pge png pni policykit ppds pse qt3support readline rep_good sdl sep session smp spell ss sse sse2 ssl ssmtp ssse3 startup-notification svg syscall syslog tcpd tiff tm tm2 truetype truetypem tsc udev udisks unicode upower usb vga vme vorbis wifi wxwidgets x264 xcb xml xtpr xv xvid zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="actions security evasive alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_defaultauthz_groupfile authz_host authz_owner authz_user autoindex cache dbd deflate dir disk_cache env expires ext_filterfile_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard synaptics mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_CA pt pt_PT" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="intel fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


Code:
/bin/sh: /usr/bin/glib-mkenums: /usr/local/bin/perl: bad interpreter: No such file or directory
make[2]: *** [s-enum-types-h] Error 126



emerge @preserved-rebuild <- solves nothing and it is increasingly annoying.
_________________
443640, Questioning, Unsolved, Configs, BinHost


Last edited by HeXiLeD on Wed Feb 19, 2014 4:36 am; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 31373
Location: 56N 3W

PostPosted: Sun Feb 09, 2014 8:33 pm    Post subject: Reply with quote

HeXiLeD,

Code:
/usr/local/bin/perl
Why is perl in /usr/local ?
On a standard Gentoo, nothing goes here?

Is your path in a mess
Code:
$ export $PATH
bash: export: `/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.8.2:/usr/x86_64-pc-linux-gnu/armv6j-hardfloat-linux-gnueabi/gcc-bin/4.8.2:/opt/nvidia-cg-toolkit/bin:/usr/lib64/subversion/bin:/usr/games/bin

_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
v_andal
Apprentice
Apprentice


Joined: 26 Aug 2008
Posts: 283
Location: Germany

PostPosted: Mon Feb 10, 2014 8:13 am    Post subject: Reply with quote

Looks weird. /usr/bin/glib-mkenums is part of glib. On my system it uses /usr/bin/perl not /usr/local/bin/perl. Can it be that when you've installed dev-libs/glib you have local version of perl installed in /usr/local/bin? Then possibly it was picked up during installation but then later you have removed local perl version.

I would recommend reinstalling glib to see if this would resolve the issue.
Back to top
View user's profile Send private message
HeXiLeD
l33t
l33t


Joined: 20 Aug 2005
Posts: 946
Location: online

PostPosted: Mon Feb 10, 2014 9:35 pm    Post subject: Reply with quote

The system was too broken to fix so i decided to re-install.
while following the handbook it got to the time of:

Quote:
Code Listing 1.1: Installing a kernel source


Code:
emerge  vanilla-sources


Code:
>>> Emerging (1 of 2) sys-devel/bc-1.06.95
 * Fetching files in the background. To view fetch progress, run
 * `tail -f /var/log/emerge-fetch.log` in another terminal.
 * bc-1.06.95.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                                           [ ok ]
>>> Unpacking source...
>>> Unpacking bc-1.06.95.tar.bz2 to /usr/portage/tmp/portage/sys-devel/bc-1.06.95/work
>>> Source unpacked in /usr/portage/tmp/portage/sys-devel/bc-1.06.95/work
>>> Compiling source in /usr/portage/tmp/portage/sys-devel/bc-1.06.95/work/bc-1.06.95 ...
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --with-readline --without-libedit
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.

!!! Please attach the following file when seeking support:
!!! /usr/portage/tmp/portage/sys-devel/bc-1.06.95/work/bc-1.06.95/config.log
 * ERROR: sys-devel/bc-1.06.95::gentoo failed (compile phase):
 *   econf failed
 *
 * Call stack:
 *          ebuild.sh, line   93:  Called src_compile
 *        environment, line 2155:  Called econf '--with-readline' '--without-libedit'
 *   phase-helpers.sh, line  577:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *
 * If you need support, post the output of `emerge --info '=sys-devel/bc-1.06.95::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-devel/bc-1.06.95::gentoo'`.
 * The complete build log is located at '/var/log/portage/sys-devel:bc-1.06.95:20140210-211007.log'.
 * For convenience, a symlink to the build log is located at '/usr/portage/tmp/portage/sys-devel/bc-1.06.95/temp/build.log'.
 * The ebuild environment file is located at '/usr/portage/tmp/portage/sys-devel/bc-1.06.95/temp/environment'.
 * Working directory: '/usr/portage/tmp/portage/sys-devel/bc-1.06.95/work/bc-1.06.95'
 * S: '/usr/portage/tmp/portage/sys-devel/bc-1.06.95/work/bc-1.06.95'
!!! A network error occurred while trying to send logmail:
[Errno 110] Connection timed out


Code:
# eselect binutils list
Installed binutils for target x86_64-pc-linux-gnu


Code:
 # gcc-config -l
 [1] x86_64-pc-linux-gnu-4.7.3 *

_________________
443640, Questioning, Unsolved, Configs, BinHost
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 7416
Location: Somewhere over Atlanta, Georgia

PostPosted: Mon Feb 10, 2014 10:06 pm    Post subject: Reply with quote

Okay, so all the previous evidence is destroyed. That solves that, I guess. ;)

The "configure: error: C compiler cannot create executables" message is typically caused by a syntax error in your CFLAGS variable in make.conf. Could you post you make.conf, please?

- John
_________________
This space intentionally left blank.
Back to top
View user's profile Send private message
HeXiLeD
l33t
l33t


Joined: 20 Aug 2005
Posts: 946
Location: online

PostPosted: Mon Feb 10, 2014 10:26 pm    Post subject: Reply with quote

Code:
echo "" | gcc -march=native -v -E - 2>&1 | grep cc1


It is currently compiling with.
Code:
CFLAGS="-march=atom -mcx16 -msahf --param l1-cache-size=24 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=atom -fstack-protector"


There was a mistake there that had -O2 -pipe maybe the "O" was a zero.
_________________
443640, Questioning, Unsolved, Configs, BinHost
Back to top
View user's profile Send private message
paradigm-X
Apprentice
Apprentice


Joined: 19 Sep 2013
Posts: 168

PostPosted: Tue Feb 11, 2014 12:07 am    Post subject: Reply with quote

> "Why is perl in /usr/local ? On a standard Gentoo, nothing goes here? "

When I do 'ls /usr/local', I see these four folders:

bin
lib
lib64
sbin

So, is something awry with my directory in this regard?
Back to top
View user's profile Send private message
Jaglover
Advocate
Advocate


Joined: 29 May 2005
Posts: 4564
Location: Saint Amant, Acadiana

PostPosted: Tue Feb 11, 2014 2:01 am    Post subject: Reply with quote

paradigm-X,

it is normal to have these directories. If there is anything in them then you better know what you are doing ...
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
paradigm-X
Apprentice
Apprentice


Joined: 19 Sep 2013
Posts: 168

PostPosted: Tue Feb 11, 2014 3:07 am    Post subject: Reply with quote

> "If there is anything in them, then you better know what you are doing..."

Jaglover, you are kidding me, right? :) Of course they're not empty. Why would they be empty? On the other hand, of couse I have no clue what I am doing!
Back to top
View user's profile Send private message
Jaglover
Advocate
Advocate


Joined: 29 May 2005
Posts: 4564
Location: Saint Amant, Acadiana

PostPosted: Tue Feb 11, 2014 3:29 am    Post subject: Reply with quote

No kidding. Stuff that goes to /usr/local is installed by hand and it is a great way to check out some unstable software without removing stable version, for instance. However, it is before /usr on your $PATH, meaning anything in there can be picked up by .configure and screw up your legit emerge builds.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
krinn
Advocate
Advocate


Joined: 02 May 2003
Posts: 3937

PostPosted: Tue Feb 11, 2014 10:06 am    Post subject: Reply with quote

Seems i'm too late, but rebuilding package / removing & reinstall package... while having ccache enable is certainly not helping you...

And if two of your hosts are ok with a package, it would had been faster and easier to build binary package of one of those host to install it on the problematic host.
Back to top
View user's profile Send private message
HeXiLeD
l33t
l33t


Joined: 20 Aug 2005
Posts: 946
Location: online

PostPosted: Tue Feb 11, 2014 11:13 am    Post subject: Reply with quote

I just want to drop a note in regards to this:

Quote:
Stuff that goes to /usr/local is installed by hand and it is a great way to check out some unstable software without removing stable version, for instance

In my case nothing was installed without portage. Whenever happened was with portage. Probably some "gremlin maintainer" of some package.
I have no explanation for this: /usr/local/bin/perl

I am now reinstalling my system.
_________________
443640, Questioning, Unsolved, Configs, BinHost
Back to top
View user's profile Send private message
i92guboj
Moderator
Moderator


Joined: 30 Nov 2004
Posts: 9755
Location: Córdoba (Spain)

PostPosted: Tue Feb 11, 2014 11:25 am    Post subject: Reply with quote

If that came truly from portage, and not from some crazy overlay you installed, then it should be reported and fixed.

I guess your system is gone by now. But, if it isn't, could you please show us the output for these commands:

Code:
$ equery b /usr/local/bin
$ equery b /usr/local/bin/perl

_________________
Gentoo Handbook | My website
Back to top
View user's profile Send private message
HeXiLeD
l33t
l33t


Joined: 20 Aug 2005
Posts: 946
Location: online

PostPosted: Thu Feb 13, 2014 1:09 am    Post subject: Reply with quote

Right now i am at a new install.

Code:
# equery b /usr/local/bin
 * Searching for /usr/local/bin ...

# equery b /usr/local/bin/perl
 * Searching for /usr/local/bin/perl



Code:
# emerge -pv dev-lang/perl

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] dev-lang/perl-5.16.3:0/5.16  USE="berkdb -debug -doc gdbm -ithreads" 13,420 kB

Total: 1 package (1 reinstall), Size of downloads: 13,420 kB



and at the moment i am having a problem with media-libs/mesa just like before.

Code:
libtool: compile:  x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\" -DPACKAGE_VERSION=\"9.1.6\" "" "-DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\"" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesa\" -DVERSION=\"9.1.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DYYTEXT_POINTER=1 -DHAVE_CLOCK_GETTIME=1 -DHAVE_PTHREAD=1 -DHAVE_LIBEXPAT=1 -I. -DI915 -I../../../../../include -I../../../../../src/ -I../../../../../src/mapi -I../../../../../src/mesa/ -I../../../../../src/mesa/drivers/dri/common -I../../../../../src/mesa/drivers/dri/intel -I../../../../../src/mesa/drivers/dri/intel/server -I../../../../../src/mesa/drivers/dri/common -D_GNU_SOURCE -DHAVE_PTHREAD -DTEXTURE_FLOAT_ENABLED -DUSE_X86_64_ASM -DHAVE_DLOPEN -DHAVE_POSIX_MEMALIGN -DIN_DRI_DRIVER -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DHAVE_PTHREAD -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS -DHAVE_MINCORE -DHAVE_LIBUDEV -DHAVE_LLVM=0x0301 -DFEATURE_GL=1 -fvisibility=hidden -I/usr/include/libdrm -O2 -pipe -march=atom -mcx16 -msahf --param l1-cache-size=24 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=atom -fstack-protector -Wall -std=c99 -Werror=implicit-function-declaration -Werror=missing-prototypes -fno-strict-aliasing -fno-builtin-memcmp -c i830_texstate.c  -fPIC -DPIC -o .libs/i830_texstate.o
x86_64-pc-linux-gnu-gcc: error: : No such file or directory
gmake[6]: *** [i830_texstate.lo] Error 1
gmake[6]: *** Waiting for unfinished jobs....
libtool: compile:  x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\" -DPACKAGE_VERSION=\"9.1.6\" "-DPACKAGE_STRING=\"Mesa 9.1.6\"" "-DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\"" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesa\" -DVERSION=\"9.1.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DYYTEXT_POINTER=1 -DHAVE_CLOCK_GETTIME=1 -DHAVE_PTHREAD=1 -DHAVE_LIBEXPAT=1 -I. -DI915 -I../../../../../include -I../../../../../src/ -I../../../../../src/mapi -I../../../../../src/mesa/ -I../../../../../src/mesa/drivers/dri/common -I../../../../../src/mesa/drivers/dri/intel -I../../../../../src/mesa/drivers/dri/intel/server -I../../../../../src/mesa/drivers/dri/common -D_GNU_SOURCE -DHAVE_PTHREAD -DTEXTURE_FLOAT_ENABLED -DUSE_X86_64_ASM -DHAVE_DLOPEN -DHAVE_POSIX_MEMALIGN -DIN_DRI_DRIVER -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DHAVE_PTHREAD -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS -DHAVE_MINCORE -DHAVE_LIBUDEV -DHAVE_LLVM=0x0301 -DFEATURE_GL=1 -fvisibility=hidden -I/usr/include/libdrm -O2 -pipe -march=atom -mcx16 -msahf --param l1-cache-size=24 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=atom -fstack-protector -Wall -std=c99 -Werror=implicit-function-declaration -Werror=missing-prototypes -fno-strict-aliasing -fno-builtin-memcmp -c intel_pixel_copy.c  -fPIC -DPIC -o .libs/intel_pixel_copy.o
gmake[6]: Leaving directory `/usr/portage/tmp/portage/media-libs/mesa-9.1.6/work/Mesa-9.1.6/src/mesa/drivers/dri/i915'
gmake[5]: *** [all-recursive] Error 1
gmake[5]: Leaving directory `/usr/portage/tmp/portage/media-libs/mesa-9.1.6/work/Mesa-9.1.6/src/mesa/drivers/dri'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory `/usr/portage/tmp/portage/media-libs/mesa-9.1.6/work/Mesa-9.1.6/src/mesa/drivers'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/portage/tmp/portage/media-libs/mesa-9.1.6/work/Mesa-9.1.6/src/mesa'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/portage/tmp/portage/media-libs/mesa-9.1.6/work/Mesa-9.1.6/src/mesa'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/portage/tmp/portage/media-libs/mesa-9.1.6/work/Mesa-9.1.6/src'
make: *** [all-recursive] Error 1
 * ERROR: media-libs/mesa-9.1.6::gentoo failed (compile phase):
 *   emake failed



Code:
Portage 2.2.7 (default/linux/amd64/13.0/desktop, gcc-4.7.3, glibc-2.17, 3.8.5 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.8.5-x86_64-Intel-R-_Atom-TM-_CPU_N475_@_1.83GHz-with-gentoo-2.2
KiB Mem:     2042160 total,    603756 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Tue, 11 Feb 2014 07:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.5-r3, 3.3.3
dev-util/cmake:           2.8.11.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=atom -mcx16 -msahf --param l1-cache-size=24 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=atom -fstack-protector"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/sound/events /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=atom -mcx16 -msahf --param l1-cache-size=24 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=atom -fstack-protector"
DISTDIR="/usr/portage/distfiles/"
EMERGE_DEFAULT_OPTS="--alphabetical  --buildpkg=y --binpkg-respect-use=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.the-best-hosting.net ftp://mirrors.tera-byte.com/pub/gentoo http://gentoo.mirrors.tera-byte.com/ http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages/"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/usr/portage/tmp"
PORTDIR="/usr/portage/ebuilds"
PORTDIR_OVERLAY=""
SYNC="rsync://up.yours.dev/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 aperfmperf apic apm arch_perfmon berkdb bluetooth branding bts bzip2 cairo ccache cdda cdr clflush cli cmov consolekit constant_tsc cracklib crypt cx16 cx8 cxx dbus de directfb dri ds_cpl dtes64 dts dvd dvdr emboss encode est exif fam fbcon firefox flac fortran fpu fxsr gcrypt gdbm geoip gif gnutls gpm gtk hddtemp ht iconv jpeg lahf_lm lcms libnotify lm mad mca mce mmx mng modules monitor movbe mp3 mp4 mpeg msr mtrr multilib ncurses nopl nptl nx ogg opengl openmp pae pango pat pbe pcre pdcm pdf pebs pge png pni policykit ppds pse readline rep_good sdl sep session smp spell ss sse sse2 ssl ssse3 startup-notification svg syscall syslog tcpd tiff tm tm2 truetype truetypem tsc udev udisks unicode upower usb vga vme vorbis wifi wxwidgets x264 xcb xml xtpr xv xvid zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="actions security evasive alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_defaultauthz_groupfile authz_host authz_owner authz_user autoindex cache dbd deflate dir disk_cache env expires ext_filterfile_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="cannon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard synaptics mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_CA pt pt_PT" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="intel fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


Code:
# gcc-config -l
 [1] x86_64-pc-linux-gnu-4.7.3 *


Which compiles many other packages.
_________________
443640, Questioning, Unsolved, Configs, BinHost
Back to top
View user's profile Send private message
i92guboj
Moderator
Moderator


Joined: 30 Nov 2004
Posts: 9755
Location: Córdoba (Spain)

PostPosted: Thu Feb 13, 2014 7:43 am    Post subject: Reply with quote

Does it compile with MAKEOPTS="-j1"?
_________________
Gentoo Handbook | My website
Back to top
View user's profile Send private message
HeXiLeD
l33t
l33t


Joined: 20 Aug 2005
Posts: 946
Location: online

PostPosted: Wed Feb 19, 2014 4:36 am    Post subject: Reply with quote

media-libs/mesa-9.2.5 also failed with -j3 but compiled with -j1
Re-installed proved to be a faster and less complicated option to take.
This topic is SOLVED
_________________
443640, Questioning, Unsolved, Configs, BinHost
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum