Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 376433

Summary: kde-base/pykde4-4.6.3-r1 fails to build
Product: Gentoo Linux Reporter: Joerg Schaible <joerg.schaible>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: kde-base:pykde4-4.6.3-r1:20110726-063109.log

Description Joerg Schaible 2011-07-26 07:02:08 UTC
Recently stabilized pykde4-4.6.3-r1 fails to build.

Reproducible: Always

Steps to Reproduce:
1. emerge pykde4-4.6.3-r1
2.
3.
Actual Results:  
Build is broken due to missing file QtWebKit/QtWebKitmod.sip

Expected Results:  
Successful build and installation

jos@josix ~ $ emerge --info
Portage 2.1.10.3 (default/linux/x86/10.0/desktop/kde, gcc-4.4.5, glibc-2.12.2-r0, 2.6.38-gentoo-r6 i686)
=================================================================
System uname: Linux-2.6.38-gentoo-r6-i686-Intel-R-_Core-TM-2_Duo_CPU_T8300_@_2.40GHz-with-gentoo-2.0.3
Timestamp of tree: Mon, 25 Jul 2011 05:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.1-r1
dev-util/ccache:          2.4-r9
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.20.1-r1
sys-devel/gcc:            4.4.5
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.2.10
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo x-local
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -Os -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-march=native -mtune=native -Os -pipe -fno-default-inline"
DISTDIR="/var/db/portage/central/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv"
FFLAGS=""
GENTOO_MIRRORS="http://sunsite.cnlab-switch.ch/mirror/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en de en_GB en_US"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp/portage"
PORTDIR="/var/db/portage/central"
PORTDIR_OVERLAY="/var/db/portage/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa audiofile bash-completion berkdb branding bzip2 cairo cdda cdr cjk cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam fbcon ffmpeg firefox flac fortran gdbm gdu gif gpm gtk handbook iconv icu jpeg kde kipi lcms libnotify mad mmx mng modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pango pch pcre pdf perl phonon plasma png policykit ppds pppd python qt3support qt4 readline semantic-desktop session spell sse sse2 sse4_1 ssl ssse3 startup-notification svg sysfs tcpd theora threads tiff truetype udev unicode usb vorbis x264 x86 xcb xcomposite xml xorg xpm xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" 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 ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de en_GB en_US" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Joerg Schaible 2011-07-26 07:03:55 UTC
Created attachment 280991 [details]
kde-base:pykde4-4.6.3-r1:20110726-063109.log

build log
Comment 2 Joerg Schaible 2011-07-26 07:04:29 UTC
equery f qt-webkit
 * Searching for qt-webkit ...
 * Contents of x11-libs/qt-webkit-4.7.2:
/usr
/usr/include
/usr/include/qt4
/usr/include/qt4/Gentoo
/usr/include/qt4/Gentoo/gentoo-qt-webkit-qconfig.h
/usr/include/qt4/Qt
/usr/include/qt4/Qt/QtWebKit
/usr/include/qt4/Qt/qgraphicswebview.h
/usr/include/qt4/Qt/qwebdatabase.h
/usr/include/qt4/Qt/qwebelement.h
/usr/include/qt4/Qt/qwebframe.h
/usr/include/qt4/Qt/qwebhistory.h
/usr/include/qt4/Qt/qwebhistoryinterface.h
/usr/include/qt4/Qt/qwebinspector.h
/usr/include/qt4/Qt/qwebkitglobal.h
/usr/include/qt4/Qt/qwebkitversion.h
/usr/include/qt4/Qt/qwebpage.h
/usr/include/qt4/Qt/qwebpluginfactory.h
/usr/include/qt4/Qt/qwebsecurityorigin.h
/usr/include/qt4/Qt/qwebsettings.h
/usr/include/qt4/Qt/qwebview.h
/usr/include/qt4/QtWebKit
/usr/include/qt4/QtWebKit/QGraphicsWebView
/usr/include/qt4/QtWebKit/QWebDatabase
/usr/include/qt4/QtWebKit/QWebElement
/usr/include/qt4/QtWebKit/QWebElementCollection
/usr/include/qt4/QtWebKit/QWebFrame
/usr/include/qt4/QtWebKit/QWebHistory
/usr/include/qt4/QtWebKit/QWebHistoryInterface
/usr/include/qt4/QtWebKit/QWebHistoryItem
/usr/include/qt4/QtWebKit/QWebHitTestResult
/usr/include/qt4/QtWebKit/QWebInspector
/usr/include/qt4/QtWebKit/QWebPage
/usr/include/qt4/QtWebKit/QWebPluginFactory
/usr/include/qt4/QtWebKit/QWebSecurityOrigin
/usr/include/qt4/QtWebKit/QWebSettings
/usr/include/qt4/QtWebKit/QWebView
/usr/include/qt4/QtWebKit/QtWebKit
/usr/include/qt4/QtWebKit/qgraphicswebview.h
/usr/include/qt4/QtWebKit/qwebdatabase.h
/usr/include/qt4/QtWebKit/qwebelement.h
/usr/include/qt4/QtWebKit/qwebframe.h
/usr/include/qt4/QtWebKit/qwebhistory.h
/usr/include/qt4/QtWebKit/qwebhistoryinterface.h
/usr/include/qt4/QtWebKit/qwebinspector.h
/usr/include/qt4/QtWebKit/qwebkitglobal.h
/usr/include/qt4/QtWebKit/qwebkitversion.h
/usr/include/qt4/QtWebKit/qwebpage.h
/usr/include/qt4/QtWebKit/qwebpluginfactory.h
/usr/include/qt4/QtWebKit/qwebsecurityorigin.h
/usr/include/qt4/QtWebKit/qwebsettings.h
/usr/include/qt4/QtWebKit/qwebview.h
/usr/lib
/usr/lib/pkgconfig
/usr/lib/pkgconfig/QtWebKit.pc
/usr/lib/qt4
/usr/lib/qt4/libQtWebKit.prl
/usr/lib/qt4/libQtWebKit.so -> libQtWebKit.so.4.7.2
/usr/lib/qt4/libQtWebKit.so.4 -> libQtWebKit.so.4.7.2
/usr/lib/qt4/libQtWebKit.so.4.7 -> libQtWebKit.so.4.7.2
/usr/lib/qt4/libQtWebKit.so.4.7.2
/usr/lib/qt4/plugins
/usr/lib/qt4/plugins/designer
/usr/lib/qt4/plugins/designer/libqwebview.so
/usr/share
/usr/share/qt4
/usr/share/qt4/mkspecs
/usr/share/qt4/mkspecs/gentoo
/usr/share/qt4/mkspecs/gentoo/qt-webkit-qconfig.pri
/usr/share/qt4/mkspecs/modules
/usr/share/qt4/mkspecs/modules/qt_webkit_version.pri
Comment 3 Joerg Schaible 2011-07-26 07:19:38 UTC
More interesting:
================== %< =============
$ eix pyqt4
[I] dev-python/PyQt4
     Available versions:  4.7.3 ~4.7.7-r1 4.8.1 ~4.8.1-r1 ~4.8.2 4.8.3 4.8.4 {X assistant +dbus debug declarative doc examples kde multimedia opengl phonon sql svg webkit xmlpatterns}
     Installed versions:  4.8.4(09:01:12 AM 07/25/2011)(X assistant dbus declarative kde multimedia opengl phonon sql svg webkit xmlpatterns -debug -doc -examples)
     Homepage:            http://www.riverbankcomputing.co.uk/software/pyqt/intro/ http://pypi.python.org/pypi/PyQt
     Description:         Python bindings for the Qt toolkit

$ equery f PyQt4
 * Searching for PyQt4 ...
 * Contents of dev-python/PyQt4-4.8.4:
/usr
/usr/bin
/usr/bin/pylupdate4
/usr/bin/pyrcc4
/usr/bin/pyuic4
/usr/lib
/usr/lib/python2.7
[snip]
/usr/lib/qt4
/usr/lib/qt4/plugins
/usr/lib/qt4/plugins/designer
/usr/lib/qt4/plugins/designer/libpythonplugin.so
/usr/share
/usr/share/doc
/usr/share/doc/PyQt4-4.8.4
/usr/share/doc/PyQt4-4.8.4/NEWS.bz2
/usr/share/doc/PyQt4-4.8.4/THANKS.bz2
/usr/share/qt4
/usr/share/qt4/qsci
/usr/share/qt4/qsci/api
/usr/share/qt4/qsci/api/python
/usr/share/qt4/qsci/api/python/PyQt4.api
/usr/share/sip
/usr/share/sip/Qt
[snip]
/usr/share/sip/QtCore
[snip]
/usr/share/sip/QtDeclarative
[snip]
/usr/share/sip/QtDesigner
[snip]
/usr/share/sip/QtGui
[snip]
/usr/share/sip/QtHelp
[snip]
/usr/share/sip/QtMultimedia
[snip]
/usr/share/sip/QtNetwork
[snip]
/usr/share/sip/QtOpenGL
[snip]
/usr/share/sip/QtScript
[snip]
/usr/share/sip/QtScriptTools
[snip]
/usr/share/sip/QtSql
[snip]
/usr/share/sip/QtSvg
[snip]
/usr/share/sip/QtTest
[snip]
/usr/share/sip/QtXml
[snip]
/usr/share/sip/QtXmlPatterns
[snip]
/usr/share/sip/phonon
[snip]
================== %< =============

 ?!? No /usr/share/sip/QtWebkit although webkit use flag is active
Comment 4 Joerg Schaible 2011-07-26 07:40:54 UTC
I know now what happened. I synced yesterday and the build started so:
=========== %< ============
-rw-rw---- 1 portage portage    11828 Jul 25 08:35 /var/log/portage/dev-libs:icu-4.6.1:20110725-063557.log
-rw-rw---- 1 portage portage   287006 Jul 25 08:36 /var/log/portage/dev-libs:icu-4.8:20110725-062959.log
-rw-rw---- 1 portage portage      238 Jul 25 08:37 /var/log/portage/app-emulation:virtualbox-additions-3.2.12:20110725-063700.log
-rw-rw---- 1 portage portage     3602 Jul 25 08:37 /var/log/portage/app-emulation:virtualbox-additions-4.0.12:20110725-063652.log
-rw-rw---- 1 portage portage     1135 Jul 25 08:37 /var/log/portage/sys-apps:baselayout-2.0.2:20110725-063707.log
-rw-rw---- 1 portage portage     3737 Jul 25 08:37 /var/log/portage/sys-apps:baselayout-2.0.3:20110725-063702.log
-rw-rw---- 1 portage portage     3071 Jul 25 08:37 /var/log/portage/dev-libs:libevent-2.0.10:20110725-063744.log
-rw-rw---- 1 portage portage    48579 Jul 25 08:37 /var/log/portage/dev-libs:libevent-2.0.12:20110725-063710.log
-rw-rw---- 1 portage portage      643 Jul 25 08:38 /var/log/portage/app-emulation:virtualbox-modules-3.2.12:20110725-063839.log
-rw-rw---- 1 portage portage    17263 Jul 25 08:38 /var/log/portage/app-emulation:virtualbox-modules-4.0.12:20110725-063747.log
-rw-rw---- 1 portage portage     8706 Jul 25 08:42 /var/log/portage/app-crypt:mit-krb5-1.8.3-r5:20110725-064210.log
-rw-rw---- 1 portage portage   705321 Jul 25 08:42 /var/log/portage/app-crypt:mit-krb5-1.9.1:20110725-063852.log
-rw-rw---- 1 portage portage      726 Jul 25 08:42 /var/log/portage/dev-python:sip-4.12.1:20110725-064253.log
-rw-rw---- 1 portage portage     8557 Jul 25 08:42 /var/log/portage/dev-python:sip-4.12.3-r2:20110725-064234.log
-rw-rw---- 1 portage portage    33879 Jul 25 09:01 /var/log/portage/dev-python:PyQt4-4.8.3:20110725-070119.log
-rw-rw---- 1 portage portage   712644 Jul 25 09:01 /var/log/portage/dev-python:PyQt4-4.8.4:20110725-064258.log
-rw-rw---- 1 portage portage     4377 Jul 25 09:03 /var/log/portage/kde-base:kdelibs-4.6.3-r3:20110725-070217.log
-rw-rw---- 1 portage portage        0 Jul 25 09:47 /var/log/portage/kde-base:kdelibs-4.6.3-r3:20110725-074724.log
=========== %< ============

At kde-base/kdelibs the build broke, because of missing shared libraries caused by the icu update. In the list above is also PyQt4 and looking into this log I can see:

=========== %< ============
Checking to see if the QtGui module should be built...
Checking to see if the QtHelp module should be built...
Checking to see if the QtMultimedia module should be built...
Checking to see if the QtNetwork module should be built...
Checking to see if the QtDeclarative module should be built...
Checking to see if the QtOpenGL module should be built...
Checking to see if the QtScript module should be built...
Checking to see if the QtScriptTools module should be built...
Checking to see if the QtSql module should be built...
Checking to see if the QtSvg module should be built...
Checking to see if the QtTest module should be built...
Checking to see if the QtWebKit module should be built...
Checking to see if the QtXml module should be built...
Checking to see if the QtXmlPatterns module should be built...
Checking to see if the phonon module should be built...
Checking to see if the QtAssistant module should be built...
Checking to see if the QtDesigner module should be built...
Checking to see if the dbus support module should be built...
Qt v4.7.2 free edition is being used.
SIP 4.12.3 is being used.
The Qt header files are in /usr/include/qt4.
The shared Qt libraries are in /usr/lib/qt4.
The Qt binaries are in /usr/bin.
The Qt mkspecs directory is in /usr/share/qt4.
These PyQt modules will be built: QtCore, QtGui, QtHelp, QtMultimedia,
QtNetwork, QtDeclarative, QtOpenGL, QtScript, QtScriptTools, QtSql, QtSvg,
QtTest, QtXml, QtXmlPatterns, phonon, QtDesigner.
=========== %< ============

QtWebit is missing in the list on the last line, because it was broken at that time due to the icu update.

<rant>Other libs like jpeg, libpng were also updated without such nasty and annoying side-effects, simply because they leave the old shared libs and advice the user to remove them later. An icu update broke now for the 2nd time my system.</rant>
Comment 5 Joerg Schaible 2011-07-26 07:41:39 UTC
Rebuilding PyQt4 fixed the issue for pykde4.