Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 375703 - PyKde4 fails late if PyQt4 is missing for one of the python versions
Summary: PyKde4 fails late if PyQt4 is missing for one of the python versions
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: kde-python
  Show dependency tree
 
Reported: 2011-07-20 00:07 UTC by Andrew John Hughes
Modified: 2011-12-11 17:49 UTC (History)
2 users (show)

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


Attachments
Build log (pykde4-4.6.5.log,427.31 KB, text/plain)
2011-07-20 00:08 UTC, Andrew John Hughes
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew John Hughes 2011-07-20 00:07:07 UTC
Installing against Python 2.7 & 3.2, but without PyQt4 availablefor 3.2:

configure fails for 3.2:
-- Found Python version: 3.2
-- Found Python library: /usr/lib/libpython3.2.so
-- Python Libraries: /usr/lib/libpython3.2.so
-- Python Include Path: /usr/include/python3.2
-- Build Kross Python... yes
-- Found SIP version: 4.12.3
Traceback (most recent call last):
  File "/usr/share/apps/cmake/modules/FindPyQt.py", line 5, in <module>
    import PyQt4.pyqtconfig
ImportError: No module named PyQt4.pyqtconfig
-- Build PyKDE4... no

but build continues until the install fails much later.

 * Installation of kde-base/pykde4-4.6.5-r1 with CPython 3.2...
make -j5 DESTDIR=/var/tmp/portage/kde-base/pykde4-4.6.5-r1/temp/images/3.2 install
make: *** No rule to make target `install'.  Stop.


Reproducible: Always




Portage 2.2.0_alpha45 (default/linux/powerpc/ppc64/10.0/32bit-userland/desktop, gcc-4.5.2, glibc-2.13-r4, 2.6.39-gentoo-r2.omega ppc64)
=================================================================
System uname: Linux-2.6.39-gentoo-r2.omega-ppc64-PPC970MP,_altivec_supported-with-gentoo-2.0.3
Timestamp of tree: Tue, 19 Jul 2011 01:15:01 +0000
ccache version 3.1.5 [enabled]
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2, 3.1.3-r1, 3.2
dev-util/ccache:          3.1.5
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.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.6.3, 1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1
sys-devel/gcc:            4.4.4-r2, 4.5.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo kde-sunset java-overlay ppc64 xmmsroot2_overlay fixes-overlay
Installed sets: @system
ACCEPT_KEYWORDS="ppc ~ppc"
ACCEPT_LICENSE="@FSF-APPROVED-EXT @X11-LICENSES @PRESUMED-FOSS @CREATIVE-COMMONS adobe-ps freedist"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mtune=G5 -mcpu=G5 -mabi=altivec -pipe -ggdb"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
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/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -mtune=G5 -mcpu=G5 -mabi=altivec -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles fixpackages installsources news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirror.bytemark.co.uk/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://gentoo.virginmedia.com/"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_GB en"
MAKEOPTS="-j5"
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"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/kde-sunset /var/lib/layman/java-overlay /usr/local/portage/ppc64 /usr/local/portage/xmmsroot2_overlay /usr/local/portage/fixes-overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl addbookmarks alias alsa altivec asf autoreplace avahi bash-completion berkdb bindist bluetooth branding bzip2 cairo caps cdaudio cdda cddb cdparanoia cdr cli connectionstatus consolekit contactnotes cracklib crypt cups curl cvs cxx daap dbus dga dia dirac djvu doc dri dts dv dvd dvdnav dvdr dvdread dvi eds effects emacs emboss emf encode evo examples exif fam fame fftw firefox flac fontconfig fortran fping gcc64 gcj gd gdbm gdu gif gimp git gmp gnome gnome-keyring gnutls gpac gpgme gphoto2 gpm gstreamer gtk hfs highlight history iconv id3tag idn ieee1394 imagemagick imap imlib ipv6 irc java java5 javascript jingle jpeg jpeg2k kde kerberos ladspa lame lapack latex lcms libnotify live lzma lzo mad matroska mbox mjpeg mmap mng modules mp2 mp3 mp4 mpeg mpi mplayer mudflap musepack musicbrainz ncurses netmeeting network nls nntp nowlistening nptl nptlonly nsplugin ogg openal openexr opengl openmp optimisememory oss pam pango pch pcre pdf perl pidgin plotutils png pnm policykit pop postscript ppc ppds pppd pulseaudio python qt3 qt3support qt4 quicktime readline rtc rtmp sasl scanner sdl semantic-desktop session shout slp smime smp sms smtp snmp sox speex spell sqlite ssl startup-notification statistics stream subtitles subversion svg sysfs syslog t1lib tcpd tetex texteffect tga theora threads tiff translator truetype twolame udev unicode urandom usb v4l2 vcd visualization vorbis vram webkit webm webp webpresence wifi wmf xattr xcb xchattext xcomposite xine xinerama xml xmmsroot2 xorg xscreensaver xulrunner xv xvid yahoo zeroconf zlib" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" 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:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Andrew John Hughes 2011-07-20 00:08:29 UTC
Created attachment 280419 [details]
Build log
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2011-08-07 18:56:48 UTC
Yes, we know that problem, and it's a python problem.
Comment 3 Arfrever Frehtes Taifersar Arahesis 2011-10-17 14:57:52 UTC
Build system of PyKDE4 4.7 doesn't have this bug. If SIP/PyQt4 is not installed, then failure now occurs during src_configure(), not src_install().
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2011-12-11 17:49:59 UTC
(In reply to comment #3)
> Build system of PyKDE4 4.7 doesn't have this bug. If SIP/PyQt4 is not
> installed, then failure now occurs during src_configure(), not src_install().

Resolving then.