Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 431142 - dev-python/PyQt4-4.9.4 fails to build
Summary: dev-python/PyQt4-4.9.4 fails to build
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-12 21:44 UTC by Radu Benea
Modified: 2012-08-13 13:37 UTC (History)
1 user (show)

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


Attachments
build log (build.log,7.99 KB, text/plain)
2012-08-12 21:44 UTC, Radu Benea
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Radu Benea 2012-08-12 21:44:03 UTC
Created attachment 321152 [details]
build log

the newly stabilized PyQt4 version fails to build on my machine

snippet from build log, compete build log will be attached

Creating pyqtconfig.py...
 * Running qmake ...                                                                                                                                                                                                             [ ok ]
 * Running qmake ...                                                                                                                                                                                                             [ ok ]
 * Running qmake ...                                                                                                                                                                                                             [ ok ]
 * Running qmake ...                                                                                                                                                                                                             [ ok ]
ls: cannot access w_qpy*.pro: No such file or directory
 * Running qmake ...                                                                                                                                                                                                             [ ok ]
sed: can't read QtDeclarative/Makefile: No such file or directory
 * ERROR: dev-python/PyQt4-4.9.4 failed (configure phase):
 *   Failed to fix rpath for QtDeclarative
 * 
 * Call stack:
 *     ebuild.sh, line   85:  Called src_configure
 *   environment, line 4957:  Called python_execute_function '-s' 'configuration'
 *   environment, line 3251:  Called configuration
 *   environment, line 4949:  Called die
 * The specific snippet of code:
 *               sed -e "/^LFLAGS[[:space:]]*=/s:-Wl,-rpath,${BUILDDIR}/qpy/${mod}::" -i ${mod}/Makefile || die "Failed to fix rpath for ${mod}";
 * 
 * If you need support, post the output of `emerge --info '=dev-python/PyQt4-4.9.4'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/PyQt4-4.9.4'`.
 * The complete build log is located at '/media/clutter/tmp/portage/dev-python/PyQt4-4.9.4/temp/build.log'.
 * The ebuild environment file is located at '/media/clutter/tmp/portage/dev-python/PyQt4-4.9.4/temp/environment'.
 * Working directory: '/media/clutter/tmp/portage/dev-python/PyQt4-4.9.4/work/PyQt-x11-gpl-4.9.4-2.7'
 * S: '/media/clutter/tmp/portage/dev-python/PyQt4-4.9.4/work/PyQt-x11-gpl-4.9.4'



emerge --info
Portage 2.2.0_alpha121 (hardened/linux/amd64/desktop, gcc-4.6.3, glibc-2.15-r2, 3.4.7-gentoo x86_64)
=================================================================
System uname: Linux-3.4.7-gentoo-x86_64-AMD_Athlon-tm-_X2_Dual_Core_Processor_BE-2300-with-gentoo-2.1
Timestamp of tree: Sun, 12 Aug 2012 19:45:01 +0000
app-shells/bash:          4.2_p20
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.27
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo local_overlay proaudio x11
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O2 -pipe"
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/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /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=native -mtune=native -O2 -pipe"
DISTDIR="/media/clutter/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles news noinfo parallel-fetch parse-eapi-ebuild-head preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS=" http://ftp.nren.ro/mirrors/gentoo.org/ http://mirrors.xservers.ro/gentoo/ http://ftp.romnet.org/gentoo/ http://mirrors.evolva.ro/gentoo/ "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--hash-style=gnu,-O2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/media/clutter/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /var/lib/layman/pro-audio /var/lib/layman/x11"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi akonadi alsa amd64 apache2 apm attr autoipd avahi bash-completion bluetooth branding bzip2 c++0x c++11 cairo caps cdda cdr cjk cli clucene consolekit cracklib crypt cscope cups curl curlwrappers cxx d3d dbus disk-partition djvu dmx dri dts dv dvd dvdr emboss encode exif expat faac faad fam farsight ffmpeg firefox flac fontconfig fontforge fortran fuse g3dvl gd gdbm gif glib glibc-omitfp gmp gnome gnutls gpm graphite graphviz gs gstreamer gtk gtk3 hardened hash hdri iconv icq icu idn imagemagick imlib inotify ipv6 irc jabber jack jbig jpeg jpeg2k justify kde kdehiddenvisibility lcms ldap libnotify lm_sensors logitech-mouse lzma lzo mad mcrypt md5sum mhash mmap mmx mmxext mng modules mp3 mp4 mpeg mpi mtp mudflap multilib musicbrainz mysql ncurses nepomuk networkmanager nls nptl nss ogg openal openexr opengl openmp oss otr pam pango passwdqc pax_kernel pcre pdf phonon php pic pie plasma png policykit posix postgres postscript povray ppds ppp pppd pppoe python python3 q32 q64 q8 qt3support qt4 rar raw rdesktop readline replaygain rle rss rtc samba sasl scanner scim sdl semantic-desktop session sip sms spell spice sqlite sse sse2 sse3 ssh ssl startup-notification svg taglib tcpd theora threads thumbnail tidy tiff tls truetype type3 ucs ucs2 udev udisks unicode upower urandom usb utf utf8 utils v4l v4l2 vdpau vhosts vim-syntax vnc vorbis wavpack webkit webm webp wifi wimax wireless wxwidgets x264 xattr xcomposite xine xinerama xml xpm xrandr xscreensaver xv xvid xvmc yahoo zip zlib" 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" 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" APACHE2_MPMS="peruser" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" 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 wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" QEMU_SOFTMMU_TARGETS="x86_64 i386" QEMU_USER_TARGETS="x86_64 i386" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="radeon r600" 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, LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Agostino Sarubbo gentoo-dev 2012-08-12 22:25:33 UTC
don't cc arches on your own
Comment 2 Davide Pesavento (RETIRED) gentoo-dev 2012-08-12 22:33:59 UTC
(In reply to comment #0)
> LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--hash-style=gnu,-O2"

-O2? Please retry with saner LDFLAGS.
Comment 3 Davide Pesavento (RETIRED) gentoo-dev 2012-08-12 22:39:35 UTC
(In reply to comment #2)
> (In reply to comment #0)
> > LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--hash-style=gnu,-O2"
> 
> -O2? Please retry with saner LDFLAGS.

Never mind, it seems you have a problem with the declarative module (but please fix you LDFLAGS anyway). Is x11-libs/qt-declarative installed?
Comment 4 Radu Benea 2012-08-13 04:40:25 UTC
it is installed, but tried rebuilding it and got another error /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lEGL
will try rebuilding qt-opengl, possibly also qt-core, i'll let you know when I have some progress
Comment 5 Davide Pesavento (RETIRED) gentoo-dev 2012-08-13 05:06:32 UTC
(In reply to comment #4)
> it is installed, but tried rebuilding it and got another error
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/bin/
> ld: cannot find -lEGL
> will try rebuilding qt-opengl, possibly also qt-core, i'll let you know when
> I have some progress

It seems you have a broken mesa then... try rebuilding that one.
Comment 6 Radu Benea 2012-08-13 13:37:28 UTC
rebuilding mesa didn't help, neither did rebuilding qt-opengl nor qt-core
I had a broken symlink named libEGL.so in /usr/lib, removing that and doing a emerge -v1 `qlist -I -C x11-libs/qt` seems to have fixed the issue and I was able to finally build it, sorry for all the noise this caused I've closed this as invalid