Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 597240 - dev-python/PyQt5-5.5.1 fails to emerge: sip.h No such file or directory
Summary: dev-python/PyQt5-5.5.1 fails to emerge: sip.h No such file or directory
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-16 07:50 UTC by gentoo
Modified: 2016-10-18 18:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info output (emerge-info.txt,16.13 KB, text/plain)
2016-10-16 07:50 UTC, gentoo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gentoo 2016-10-16 07:50:47 UTC
Created attachment 450346 [details]
emerge --info output

When emerging PyQt5, I get this error:

cd QtCore/ && ( test -e Makefile || /usr/lib64/qt5/bin/qmake /var/tmp/portage/dev-python/PyQt5-5.5.1/work/PyQt-gpl-5.
5.1-python3_4/QtCore/QtCore.pro 'QMAKE_AR=x86_64-pc-linux-gnu-ar cqs' QMAKE_CC=x86_64-pc-linux-gnu-gcc QMAKE_LINK_C=x
86_64-pc-linux-gnu-gcc QMAKE_LINK_C_SHLIB=x86_64-pc-linux-gnu-gcc QMAKE_CXX=x86_64-pc-linux-gnu-g++ QMAKE_LINK=x86_64
-pc-linux-gnu-g++ QMAKE_LINK_SHLIB=x86_64-pc-linux-gnu-g++ QMAKE_OBJCOPY=x86_64-pc-linux-gnu-objcopy QMAKE_RANLIB= QM
AKE_STRIP= 'QMAKE_CFLAGS=-march=native -O2 -pipe -ggdb' QMAKE_CFLAGS_RELEASE= QMAKE_CFLAGS_DEBUG= 'QMAKE_CXXFLAGS=-ma
rch=native -O2 -pipe -ggdb' QMAKE_CXXFLAGS_RELEASE= QMAKE_CXXFLAGS_DEBUG= 'QMAKE_LFLAGS=-Wl,-O1 -Wl,--as-needed' QMAK
E_LFLAGS_RELEASE= QMAKE_LFLAGS_DEBUG= -o Makefile ) && make -f Makefile 
make[1]: Entering directory '/var/tmp/portage/dev-python/PyQt5-5.5.1/work/PyQt-gpl-5.5.1-python3_4/QtCore'
x86_64-pc-linux-gnu-g++ -c -march=native -O2 -pipe -ggdb -fno-exceptions -std=gnu++0x -Wall -W -D_REENTRANT -fPIC -DS
IP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_DEBUG -DQT_PLUGIN -DQT_CORE_LIB -I. -I. -isystem /usr/include/pytho
n3.4 -I../../PyQt-gpl-5.5.1/qpy/QtCore -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt
5/mkspecs/linux-g++ -o sipQtCoreQModelIndex.o sipQtCoreQModelIndex.cpp
x86_64-pc-linux-gnu-g++ -c -march=native -O2 -pipe -ggdb -fno-exceptions -std=gnu++0x -Wall -W -D_REENTRANT -fPIC -DS
IP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_DEBUG -DQT_PLUGIN -DQT_CORE_LIB -I. -I. -isystem /usr/include/pytho
n3.4 -I../../PyQt-gpl-5.5.1/qpy/QtCore -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt
5/mkspecs/linux-g++ -o sipQtCoreQDirFilters.o sipQtCoreQDirFilters.cpp
In file included from sipQtCoreQModelIndex.cpp:24:0:
sipAPIQtCore.h:28:17: fatal error: sip.h: No such file or directory
compilation terminated.
In file included from sipQtCoreQDirFilters.cpp:24:0:
sipAPIQtCore.h:28:17: fatal error: sip.h: No such file or directory
compilation terminated.
Makefile:1420: recipe for target 'sipQtCoreQModelIndex.o' failed
make[1]: *** [sipQtCoreQModelIndex.o] Error 1
make[1]: *** Waiting for unfinished jobs....
Makefile:1426: recipe for target 'sipQtCoreQDirFilters.o' failed


I got the same error when trying to emerge PyQt4, so I'm almost sure that the bug isn't in this PyQt5 ebuild, but I need help to determine what is the problem.

I saw the news item referenced in bug 568452 and re-installed all the packages that were identified by the following commands:

emerge -1v $(find /usr/lib*/python3* -name '*cpython-3[3-5].so')
emerge -1v /usr/include/python3.{3,4,5}

This did not fix the problem.
Comment 1 gentoo 2016-10-18 18:36:56 UTC
The bug went away, don't know what happened.