Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 253626 - dev-python/PyQt4-4.4.4-r1 Fails to build.
Summary: dev-python/PyQt4-4.4.4-r1 Fails to build.
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-03 23:05 UTC by Jerry
Modified: 2009-04-09 20:32 UTC (History)
2 users (show)

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


Attachments
Build info (info.txt,190.12 KB, text/plain)
2009-01-03 23:47 UTC, Jerry
Details
re-emerged sip and -ccache'd feature flag (ccache.txt,189.91 KB, text/plain)
2009-01-04 01:47 UTC, Jerry
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jerry 2009-01-03 23:05:37 UTC
dev-python/PyQt4-4.4.4-r1 Fails to build. Dies while compiling.
Comment 1 Jerry 2009-01-03 23:09:45 UTC
Linux LameLAP 2.6.28-gentoo #1 SMP Tue Dec 30 17:01:28 EST 2008 i686 Intel(R) Pentium(R) M processor 1.86GHz GenuineIntel GNU/Linux

LameLAP ~ # emerge --info
Portage 2.1.6.4 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.9_p20081201-r1, 2.6.28-gentoo i686)                                                
=================================================================                                                                                
System uname: Linux-2.6.28-gentoo-i686-Intel-R-_Pentium-R-_M_processor_1.86GHz-with-glibc2.0                                                     
Timestamp of tree: Sat, 03 Jan 2009 21:30:13 +0000                                                                                               
app-shells/bash:     3.2_p48                                                                                                                     
dev-java/java-config: 1.3.7-r1, 2.1.6-r1                                                                                                         
dev-lang/python:     2.4.4-r6, 2.5.2-r8                                                                                                          
dev-python/pycrypto: 2.0.1-r6                                                                                                                    
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.1-r1
sys-apps/sandbox:    1.3.2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
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/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X a52 aac acl acpi additions aiglx aim aimextras alsa amarok apache2 avahi bashlogger berkdb bittorrent blender-game branding bzip2 cairo cdr cli cracklib crypt cups curl dbus dmi dri dv dvd dvdr dvdread embedded emerald emoticon encode festival ffmpeg firefox flac flite foomatic fortran gdbm geoip gif gimp glitz glucene gnome gpm gps gstreamer gtk gtk2 hal ibam ibmacpi iconv ieee1394 injection insecure-drivers insecure-savers ipv6 isdnlog java javascript joystick jpeg kde kdecards lame laptop maps matroska mdnsresponder-compat midi mjpeg mmx mp2 mp3 mp4 mp4live mpeg mpeg2 mplayer mudflap multiuser mysql ncurses nls nptl nptlonly nsplugin ntp nxclient offensive ogg opengl openmp openssh openstreetmap pam pcre pdf perl pmount png ppds pppd print python qt3support qt4 rar rdesktop readline reflection reiserfs rhythmbox samba scanner scripting sdk sdl server session slp smp snmp spell spl sqlite sse ssl suid svg symlink sysfs syslog tagwriting tcpd tiff transcode truetype tv unicode unzip usbv4l vcd version-patch videos vidix visualization vnc vncviewer vorbis wav wavpack win32codecs wma wmp x86 xcb xchatdccserver xcomposite xine xinetd xorg xosd xrandr xsettings xterm xv xvid xvnc yahoo zeroconf zlib" ALSA_CARDS="intel8x0" 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 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" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US" USERLAND="GNU" VIDEO_CARDS="radeon r300"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

LameLAP ~ # cat /etc/make.conf
CFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
CHOST="i686-pc-linux-gnu"
MAKEOPTS="-j2"

USE="7zip X a52 aac acpi additions aiglx aim aimextras alsa amarok apache2
     avahi bashlogger bittorrent blender-game branding cairo cdr curl dbus dmi
     dri dv dvd dvdr dvdread embedded emerald emoticon encode festival ffmpeg
     firefox flac flite foomatic geoip gif gimp glitz glucene gnome gps
     gstreamer gtk gtk2 hal ibam ibmacpi ieee1394 injection insecure-drivers
     insecure-savers java javascript joystick jpeg kde kdecards lame laptop
     maps matroska mdnsresponder-compat mjpeg mmx mp2 mp3 mp4 mp4live mpeg
     mpeg2 mplayer multiuser mysql nsplugin ntp nxclient offensive ogg opengl
     openssh openstreetmap pdf pmount png ppds print qt3support qt4 rar
     rdesktop reiserfs rhythmbox samba scanner scripting sdk sdl server slp
     smp snmp spell sqlite sse suid svg symlink sysfs syslog tagwriting tiff
     transcode truetype tv unzip usb v4l vcd version-patch videos vidix
     visualization vnc vncviewer vorbis wav wavpack win32codecs wma wmp xcb
     xchatdccserver xcomposite xine xinetd xosd xrandr xsettings xterm xv xvid
     xvnc yahoo zeroconf -examples -minimal -sse2"
ACCEPT_KEYWORDS="~x86"
INPUT_DEVICES="evdev keyboard mouse synaptics"
ALSA_CARDS="intel8x0"
VIDEO_CARDS="radeon r300"
LINGUAS="en_US"
#PORTDIR_OVERLAY="/usr/portage/local/home"




Comment 2 Rafał Mużyło 2009-01-03 23:29:21 UTC
Maybe you're attaching it as I type this, but could we see the biuld.log,
or at least the error, cause it built for me (I'm on x86 too) ?
Comment 3 Jerry 2009-01-03 23:47:51 UTC
Created attachment 177292 [details]
Build info
Comment 4 Ben de Groot (RETIRED) gentoo-dev 2009-01-04 00:10:56 UTC
Which version of sip are you using?
Comment 5 Jerry 2009-01-04 00:26:59 UTC
LameLAP ~ # sip -V
4.7.9
Comment 6 Jerry 2009-01-04 00:27:41 UTC
It built fine on my desktop by the way.
Comment 7 Markos Chandras (RETIRED) gentoo-dev 2009-01-04 01:12:17 UTC
Could you please try to re-emerge sip-4.7.9? 

After that, try to use build PyQt4-4.4.4-r1 with the following command 

FEATURES="-ccache" emerge PyQt4 
Comment 8 Markos Chandras (RETIRED) gentoo-dev 2009-01-04 01:32:54 UTC
Sorry, forget about the FEATURES="-ccache" stuff, since you dont have ccache enabled. 

Apart from that, try to re-emerge the latest sip :)

Thanks :)
Comment 9 Jerry 2009-01-04 01:42:27 UTC
I reemerged sip, and its building with -ccache, though someone on IRC told me
to try -ccache the other day, but it did not help for obvious reasons.
Comment 10 Jerry 2009-01-04 01:47:24 UTC
Created attachment 177300 [details]
re-emerged sip and -ccache'd  feature flag
Comment 11 Markos Chandras (RETIRED) gentoo-dev 2009-01-04 11:49:59 UTC
From my experience I ve seen lot for problems with glibc-2.9 packages. Can you tell us if you are using the exact same configuration of gcc+glibc on you desktop machine?

Thanks
Comment 12 Jerry 2009-01-04 16:38:56 UTC
Desktop (PyQt4 compiles):
sys-libs/glibc
      Latest version available: 2.9_p20081201-r1
      Latest version installed: 2.9_p20081201-r1
sys-devel/gcc
      Latest version available: 4.3.2-r2
      Latest version installed: 4.3.2-r2

Laptop (PyQt4 wont compile):
sys-libs/glibc
      Latest version available: 2.9_p20081201-r1
      Latest version installed: 2.9_p20081201-r1
sys-devel/gcc
      Latest version available: 4.3.2-r2
      Latest version installed: 4.3.2-r2

Comment 13 Markos Chandras (RETIRED) gentoo-dev 2009-01-04 16:46:26 UTC
Its really hard to narrow down this issue. As I can see it fails on QtHelp module. So could you try to re-emerge 

qt-gui-4.4.2 
qt-assistant-4.4.2

and reproduce this issue?

Thanks
Comment 14 Jerry 2009-01-04 16:57:53 UTC
They are building now;

x11-libs/qt-assistant
      Latest version available: 4.4.2
      Latest version installed: 4.4.0_beta1

I noticed qt-assistant was an upgrade, not a rebuild.
Comment 15 Jerry 2009-01-05 14:53:54 UTC
Built further, died at QtXMLParser or some such thing. So I emerge qt- -s and noticed:

x11-libs/qt-xmlpatterns
      Latest version available: 4.4.2
      Latest version installed: 4.4.0_beta1

I updated qt-xmlpatterns and re-emerged PyQt4 and this time it build successfully.

Resolution, Make sure all qt-* have updated before building PyQt4

Please close if appropiate
Comment 16 Preston Cody (RETIRED) gentoo-dev 2009-02-14 21:35:25 UTC
I can verify that the solution of emerging the other qt apps first as recommended in this bug fixes this package's failing to compile on amd64.
Comment 17 Eric Womer 2009-04-09 18:59:35 UTC
(In reply to comment #0)
> dev-python/PyQt4-4.4.4-r1 Fails to build. Dies while compiling.
> 

For dev-python/PyQt4-4.4.4-r3 re-emerging sip builds for me.

~amd64
Comment 18 Markos Chandras (RETIRED) gentoo-dev 2009-04-09 20:32:26 UTC
Closing as invalid since you need to have all Qt modules on the same version in order to have a working system :)