Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 608154 - dev-python/PyQt4-4.11.4-r1 - In file included from sipQtCoreQVector1800.cpp:24:0: sipAPIQtCore.h:28:17: fatal error: sip.h: No such file or directory
Summary: dev-python/PyQt4-4.11.4-r1 - In file included from sipQtCoreQVector1800.cpp:2...
Status: RESOLVED DUPLICATE of bug 568452
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-03 21:07 UTC by Guido Winkelmann
Modified: 2017-02-03 21:23 UTC (History)
0 users

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


Attachments
PyQt4-build.log.bz2 (PyQt4-build.log.bz2,26.09 KB, application/x-bzip)
2017-02-03 21:09 UTC, Guido Winkelmann
Details
build environment (PyQt4-environment,127.32 KB, text/plain)
2017-02-03 21:09 UTC, Guido Winkelmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Guido Winkelmann 2017-02-03 21:07:38 UTC
dev-python/PyQt4-4.11.4-r1 fails to build.

Apparently, this package used to build once in the past, since I still have this exact version installed, however, a rebuild fails reliably at this point.

A file sip.h is present on my system in these locations:

/usr/include/python2.7/sip.h
/usr/include/python3.4/sip.h

Last lines from the build:
====
cd QtCore/ && make -f Makefile 
make[1]: Entering directory '/var/tmp/portage/dev-python/PyQt4-4.11.4-r1/work/PyQt-x11-gpl-4.11.4-python3_4/QtCore'
x86_64-pc-linux-gnu-g++ -c -march=corei7-avx -O2 -pipe -g -ggdb -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_DEBUG -DQT_PLUGIN -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4 -I. -I/usr/include/python3.4m -I../../PyQt-x11-gpl-4.11.4/qpy/QtCore -I. -o sipQtCoreQVector1800.o sipQtCoreQVector1800.cpp
In file included from sipQtCoreQVector1800.cpp:24:0:
sipAPIQtCore.h:28:17: fatal error: sip.h: No such file or directory
 #include <sip.h>
                 ^
compilation terminated.
make[1]: *** [Makefile:686: sipQtCoreQVector1800.o] Error 1
make[1]: Leaving directory '/var/tmp/portage/dev-python/PyQt4-4.11.4-r1/work/PyQt-x11-gpl-4.11.4-python3_4/QtCore'
make: *** [Makefile:55: sub-QtCore-make_default-ordered] Error 2
 * ERROR: dev-python/PyQt4-4.11.4-r1::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=dev-python/PyQt4-4.11.4-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/PyQt4-4.11.4-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/PyQt4-4.11.4-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/PyQt4-4.11.4-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/PyQt4-4.11.4-r1/work/PyQt-x11-gpl-4.11.4-python3_4'
 * S: '/var/tmp/portage/dev-python/PyQt4-4.11.4-r1/work/PyQt-x11-gpl-4.11.4'
====

Output emerge --info '=dev-python/PyQt4-4.11.4-r1::gentoo':
====
Portage 2.3.3 (python 3.4.5-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-4.9.4, glibc-2.23-r3, 4.7.0+ x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.7.0+-x86_64-Intel-R-_Core-TM-_i7-3930K_CPU_@_3.20GHz-with-gentoo-2.3
KiB Mem:    32917404 total,  24738176 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gentoo: Fri, 03 Feb 2017 17:30:01 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.22.3_rc4::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo, 3.5.2::gentoo
dev-util/cmake:           3.7.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.22.4::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.12.6::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.4::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

kde
    location: /var/lib/layman/kde
    masters: gentoo
    priority: 0

local
    location: /usr/local/portage
    masters: gentoo

qt
    location: /var/lib/layman/qt
    masters: gentoo
    priority: 1

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-11.x"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7-avx -O2 -pipe -g -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=corei7-avx -O2 -pipe -g -ggdb"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ http://ftp.halifax.rwth-aachen.de/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac aacs acl acpi alsa amd64 avx bdplus berkdb bittorrent bluetooth bluray branding bzip2 cacert cairo cdda cdr clang cli consolekit cracklib crypt cups cxx dbus ddate declarative dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fontforge fortran gbm gdbm gif git glamor gpg gpm gstreamer gtk iconv icu idn imagemagick ipv6 jbig joystick jpeg jpeg2k kde kipi lcms ldap libass libnotify lm_sensors lzma mad mmx mng modules mp3 mp4 mpeg multilib multimedia multitarget musicbrainz ncurses nls nptl offensive ogg openexr opengl openmp openssl opus otr pam pango pcre pdf phonon plasma png policykit postproc ppds python qml qrcode qt3support qt4 qt5 rdesktop readline samba sasl sdl seccomp semantic-desktop session speex spell spice sqlite sse sse2 sse3 ssl ssse3 startup-notification subversion svg tcpd theora thumbnail tiff truetype udev udf udisks unicode upower usb usbredir v4l virgl virt-network vnc vorbis wavpack webkit widgets wxwidgets x264 x265 xattr xcb xcomposite xinerama xml xpm xscreensaver xv xvid zlib" ABI_X86="64" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4 python3_5" QEMU_SOFTMMU_TARGETS="sparc sparc64 x86_64" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="radeon nouveau fbdev vesa radeonsi amdgpu" 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

dev-python/PyQt4-4.11.4-r1::gentoo was built with the following:
USE="X dbus declarative kde opengl phonon script sql svg webkit -compat -debug -designer -doc -examples -help -multimedia -scripttools -testlib -xmlpatterns" ABI_X86="64" PYTHON_TARGETS="python2_7 python3_4 -python3_5"
====

Output of emerge -pqv '=dev-python/PyQt4-4.11.4-r1::gentoo'
====
[ebuild   R   ] dev-python/PyQt4-4.11.4-r1  USE="X dbus declarative kde multimedia* opengl phonon script sql svg webkit -compat -debug -designer -doc -examples -help -scripttools -testlib -xmlpatterns" PYTHON_TARGETS="python2_7 python3_4 (-python3_5)"
====
Comment 1 Guido Winkelmann 2017-02-03 21:09:00 UTC
Created attachment 462376 [details]
PyQt4-build.log.bz2
Comment 2 Guido Winkelmann 2017-02-03 21:09:33 UTC
Created attachment 462378 [details]
build environment