Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 573804 - =dev-python/PyQt4-4.11.4 fatal error: sip.h: No such file or directory
Summary: =dev-python/PyQt4-4.11.4 fatal error: sip.h: No such file or directory
Status: RESOLVED DUPLICATE of bug 568452
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-03 20:35 UTC by Robert Cabrera
Modified: 2016-02-05 01:49 UTC (History)
0 users

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


Attachments
build log (build.log,53.96 KB, text/plain)
2016-02-03 20:35 UTC, Robert Cabrera
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Cabrera 2016-02-03 20:35:08 UTC
Created attachment 424578 [details]
build log

dev-python/PyQt4-4.11.4 is failing to build on my ~amd64 laptop. I updated my machine to GCC-5.3 as instructed in the  2015-10-22 news item this past weekend. There were several hiccups and build failures I was able to work around, however, no matter what I've tried I've been unable to get this to rebuild and re-emerge. Every attempt fails with the following output:

In file included from /usr/include/dbus-1.0/dbus/dbus-bus.h:30:0,
                 from /usr/include/dbus-1.0/dbus/dbus.h:31,
                 from /usr/include/dbus-1.0/dbus/dbus-python.h:33,
                 from ../../PyQt-x11-gpl-4.11.4/dbus/dbus.cpp:23:
/usr/include/dbus-1.0/dbus/dbus-connection.h:451:21: note: declared here
 DBUS_DEPRECATED int dbus_watch_get_fd      (DBusWatch        *watch);
                     ^
../../PyQt-x11-gpl-4.11.4/dbus/dbus.cpp: In function ‘PyObject* DBusQtMainLoop(PyObject*, PyObject*, PyObject*)’:
../../PyQt-x11-gpl-4.11.4/dbus/dbus.cpp:352:51: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
     static char *argnames[] = {"set_as_default", 0};
                                                   ^
 * python3_4: running run_in_build_dir default
make -j3 -s 
In file included from sipQtCoreQAbstractTableModel.cpp:24:0:
sipAPIQtCore.h:28:17: fatal error: sip.h: No such file or directory
compilation terminated.
In file included from sipQtCoreQSysInfo.cpp:24:0:
sipAPIQtCore.h:28:17: fatal error: sip.h: No such file or directory
compilation terminated.
In file included from sipQtCoreQSet0101QAbstractState.cpp:24:0:
sipAPIQtCore.h:28:17: fatal error: sip.h: No such file or directory
compilation terminated.
Makefile:689: recipe for target 'sipQtCoreQSysInfo.o' failed
make[1]: *** [sipQtCoreQSysInfo.o] Error 1
make[1]: *** Waiting for unfinished jobs....
Makefile:686: recipe for target 'sipQtCoreQAbstractTableModel.o' failed
make[1]: *** [sipQtCoreQAbstractTableModel.o] Error 1
Makefile:692: recipe for target 'sipQtCoreQSet0101QAbstractState.o' failed
make[1]: *** [sipQtCoreQSet0101QAbstractState.o] Error 1
Makefile:54: recipe for target 'sub-QtCore-make_default-ordered' failed
make: *** [sub-QtCore-make_default-ordered] Error 2
 * ERROR: dev-python/PyQt4-4.11.4::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=dev-python/PyQt4-4.11.4::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/PyQt4-4.11.4::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/PyQt4-4.11.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/PyQt4-4.11.4/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/PyQt4-4.11.4/work/PyQt-x11-gpl-4.11.4-python3_4'
 * S: '/var/tmp/portage/dev-python/PyQt4-4.11.4/work/PyQt-x11-gpl-4.11.4'

 * Messages for package dev-python/PyQt4-4.11.4:

 * ERROR: dev-python/PyQt4-4.11.4::gentoo failed (compile phase):
 *   emake failed

My emerge --info:
Portage 2.2.27 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop/kde, gcc-5.3.0, glibc-2.22-r1, 4.2.0-pf3 x86_64)                                                                                    
=================================================================                                                                                                                                          
System uname: Linux-4.2.0-pf3-x86_64-Intel-R-_Core-TM-2_CPU_T7200_@_2.00GHz-with-gentoo-2.2                                                                                                                
KiB Mem:     3333536 total,    569852 free                                                                                                                                                                 
KiB Swap:    4200960 total,   4200920 free                                                                                                                                                                 
Timestamp of repository gentoo: Wed, 03 Feb 2016 19:45:01 +0000                                                                                                                                            
sh bash 4.3_p42-r2                                                                                                                                                                                         
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1                                                                                                                                                                      
app-shells/bash:          4.3_p42-r2::gentoo                                                                                                                                                               
dev-java/java-config:     2.2.0::gentoo                                                                                                                                                                    
dev-lang/perl:            5.22.1::gentoo                                                                                                                                                                   
dev-lang/python:          2.7.11-r2::gentoo, 3.4.3-r7::gentoo, 3.5.1-r2::gentoo                                                                                                                            
dev-util/cmake:           3.4.3::gentoo                                                                                                                                                                    
dev-util/pkgconfig:       0.29::gentoo                                                                                                                                                                     
sys-apps/baselayout:      2.2::gentoo                                                                                                                                                                      
sys-apps/openrc:          0.20.4::gentoo                                                                                                                                                                   
sys-apps/sandbox:         2.10-r1::gentoo                                                                                                                                                                  
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo                                                                                                                                                    
sys-devel/automake:       1.11.6-r2::gentoo, 1.14.1-r1::gentoo, 1.15-r1::gentoo                                                                                                                            
sys-devel/binutils:       2.25.1-r1::gentoo                                                                                                                                                                
sys-devel/gcc:            5.3.0::gentoo                                                                                                                                                                    
sys-devel/gcc-config:     1.8-r1::gentoo                                                                                                                                                                   
sys-devel/libtool:        2.4.6-r1::gentoo                                                                                                                                                                 
sys-devel/make:           4.1-r1::gentoo                                                                                                                                                                   
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)                                                                                                                                                 
sys-libs/glibc:           2.22-r1::gentoo
Repositories:

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

my_local_overlay
    location: /usr/local/portage
    masters: gentoo
    priority: 1

sunrise
    location: /var/lib/layman/sunrise
    sync-type: git
    sync-uri: git://anongit.gentoo.org/proj/sunrise-reviewed.git
    masters: gentoo
    priority: 50

Installed sets: @android, @nicefonts, @toolchain, @xorgupdate
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
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/splash /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=3 --with-bdeps=y --keep-going --complete-graph"
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 strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=native"
GENTOO_MIRRORS="http://gentoo.netnitco.net http://gentoo.osuosl.org/ http://gentoo.mirrors.tds.net/gentoo http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://gentoo.wetzlmayr.com/ http://osmirrors.cerias.purdue.edu/pub/gentoo/ http://www.cyberuse.com/gentoo/ http://gentoo.mirrors.hoobly.com/ ftp://gentoo.imj.fr/pub/gentoo/ http://130.59.10.35/ftp/mirror/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3 -s"
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="S3TC X a52 aac aacplus aacs aalib acl acpi alsa amd64 amr avahi berkdb bidi bluetooth bluray branding btrfs bzip2 cairo cdda cddb cdio cdparanoia cdr cli consolekit cracklib crypt cups curl cvs cxx dbus declarative device-mapper dirac djvu dri dts dv dvd dvdr emboss encode evdev exif extraengine faac fam fat ffmpeg firefox flac fontconfig fortran gdbm gif git glamor google gphoto2 gtk iconv idn ieee1394 imagemagick ipv6 java jbig joystick jpeg jpeg2k kde kipi lame lastfm lcms ldap libass libkms libnotify libsamplerate live lto lua lzma lzo mad matroska mime mjpeg mms mmx mmxext mng modplug modules mp3 mp4 mpeg multilib musepack musicbrainz ncurses netlink nls nptl nsplugin ntfs ntp ogg openal openexr opengl openmp pam pango pcre pdf phonon plasma png policykit postproc ppds qalculate qt3support qt4 quicktime rar readline samba scanner schroedinger sdl seccomp semantic-desktop session smp sndfile sox speex spell sse sse2 sse3 ssl ssse3 startup-notification subversion svg symlink taglib tcpd telepathy theora tiff truetype twolame udev udisks unicode upower usb vcd vcdx vlm vnc vorbis vpx wavpack wmf wxwidgets x264 xa xattr xcb xcomposite xinerama xml xscreensaver xv xvid xvmc zeroconf zlib" ABI_X86="64 32" ALSA_CARDS="hda-intel" 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3" 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev keyboard mouse synaptics joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4 python3_5" RUBY_TARGETS="ruby20 ruby21" SANE_BACKENDS="epson epson2" USERLAND="GNU" VIDEO_CARDS="nouveau" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Davide Pesavento (RETIRED) gentoo-dev 2016-02-05 01:36:14 UTC
Comment on attachment 424578 [details]
build log

The attached build log is useless.

Remove '-s' from your MAKEOPTS and rebuild. And please do *NOT* put it back, we have better mechanisms to reduce verbosity, e.g. see the --quiet-build option of emerge(1).
Comment 2 Davide Pesavento (RETIRED) gentoo-dev 2016-02-05 01:49:31 UTC
In fact, it looks a lot like bug 568452. Make sure you rebuild dev-python/sip.

*** This bug has been marked as a duplicate of bug 568452 ***