Re: emake failed

David Haller <[email protected]> Wed, 21 Dec 2016 05:07:11 +0100
Newsgroups gmane.linux.gentoo.user.german
Organization What?
Message-ID <[email protected]>
Hallo,

Am Tue, 20 Dec 2016, Sebastian schrieb:
>mittlerweile verweigern schon 2 Programme ihren bau. Leider bekomme ich aus 
>den Fehlermeldungen nicht raus was mir weiterhilft. Der gcc wird erstmal ca 1h 
>gebaut bevor die Fehlermeldung erscheint.
[..]
=================================================================
                        Package Settings
=================================================================

>dev-python/PyQt5-5.5.1::gentoo was built with the following:
>USE="dbus declarative gui network opengl printsupport svg widgets -debug -
>designer -doc -examples -gles2 -help -multimedia -positioning -sensors -
>serialport -sql -testlib -webchannel -webkit -websockets -x11extras -
>xmlpatterns" ABI_X86="64" PYTHON_TARGETS="python2_7 python3_4 -python3_5"
[..]                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> * ERROR: dev-python/PyQt5-5.5.1::gentoo failed (compile phase):
> *   emake failed
[..]
>x86_64-pc-linux-gnu-g++ -c -mtune=amdfam10 -O2 -pipe -fno-exceptions -
>std=gnu++0x -Wall -W -D_REENTRANT -fPIC -DSIP_PROTECTED_IS_PUBLIC -
>Dprotected=public -DQT_NO_DEBUG -DQT_PLUGIN -DQT_CORE_LIB -I. -I. -isystem 
>/usr/include/python3.4m -I../../PyQt-gpl-5.5.1/qpy/QtCore -isystem 
 ^^^^^^^^^^^^^^^^^^^^^^
>/usr/include/qt5 -isystem /usr/include/qt5/QtCore -I. -
>I/usr/lib64/qt5/mkspecs/linux-g++ -o sipQtCoreQtKeyboardModifiers.o 
>sipQtCoreQtKeyboardModifiers.cpp
>In file included from sipQtCoreQt.cpp:24:0:
>sipAPIQtCore.h:28:17: fatal error: sip.h: No such file or directory
> #include <sip.h>
>                 ^
>compilation terminated.

Ist 'dev-python/sip' für Python 3.4 installiert?

# equery files dev-python/sip | grep 'sip\.h'
# equery uses -i dev-python/sip | grep target
# equery uses -i dev-python/PyQt5 | grep target

Die Ausgabe der letztern beiden müssen übereinstimmen. Aha, schon
geschnibbelt gehabt: du hast 

PYTHON_SINGLE_TARGET="python2_7"
PYTHON_TARGETS="python2_7 python3_4"

in make.conf, baust also für 2.7 und 3.4, dazu passt auch obige
Ausgabe, aber scheinbar hast du dev-python/sip nicht für python3.4
gebaut. Durchsuch mal dein /etc/portage/ (z.B. mit mc) nach useflags
für dev-python/sip...


>libtool: link: (cd ".libs" && rm -f "libgfortran.so.3" && ln -s 
>"libgfortran.so.3.0.0" "libgfortran.so.3")
>libtool: link: (cd ".libs" && rm -f "libgfortran.so" && ln -s 
>"libgfortran.so.3.0.0" "libgfortran.so") 
>libtool: link: /usr/x86_64-pc-linux-gnu/bin/ar rc .libs/libgfortran.a  
[..]
>_mod_r16.o misc_specifics.o dprod_r8.o f2c_specifics.o
>libtool: link: /usr/x86_64-pc-linux-gnu/bin/ranlib .libs/libgfortran.a
>libtool: link: ( cd ".libs" && rm -f "libgfortran.la" && ln -s 
>"../libgfortran.la" "libgfortran.la" )
[..]
>make[1]: Leaving directory '/var/tmp/portage/sys-devel/gcc-4.9.4/work/build'
>Makefile:20667: recipe for target 'bootstrap-lean' failed
>make: *** [bootstrap-lean] Error 2

Das ist alles ohne Fehler, der Fehler war irgendwo vorher, bau
mal mit '-j1' statt -j5, dann kann man die logs besser lesen, weil
nicht 5 makes durcheinander schreiben.

HTH,
-dnh

-- 
printk(KERN_ERR "BIGMAC: Would you like that for here or to go?\n");
	linux-2.6.19/drivers/net/sunbmac.c