Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 348632 - dev-python/pyside-0.4.2 fails to build
Summary: dev-python/pyside-0.4.2 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Dominik Kapusta (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-13 16:52 UTC by Helmut Jarausch
Modified: 2010-12-23 18:09 UTC (History)
3 users (show)

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


Attachments
version bumped apiextractor (apiextractor-0.9.0.ebuild,958 bytes, text/plain)
2010-12-14 03:54 UTC, tarek
Details
version bumped generatorrunner (generatorrunner-0.6.3.ebuild,679 bytes, text/plain)
2010-12-14 03:55 UTC, tarek
Details
version bumped shiboken (shiboken-1.0.0_beta1.ebuild,898 bytes, text/plain)
2010-12-14 03:55 UTC, tarek
Details
patch for shiboken (shiboken-1.0.0_beta1-fix-pkgconfig.patch,881 bytes, patch)
2010-12-14 03:55 UTC, tarek
Details | Diff
version bump (pyside-1.0.0_beta1.ebuild,1.29 KB, text/plain)
2010-12-14 03:56 UTC, tarek
Details
patch which clears this bugs error (pyside-phonon.patch,510 bytes, patch)
2010-12-14 03:56 UTC, tarek
Details | Diff
version bump (pyside-tools-0.2.2.ebuild,863 bytes, text/plain)
2010-12-14 03:57 UTC, tarek
Details
path uses version 1.0.0 of pyside (pyside_1.0.0.patch,300 bytes, patch)
2010-12-14 03:57 UTC, tarek
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Jarausch 2010-12-13 16:52:43 UTC
Emerging dev-python/pyside-0.4.2 fails with
[ 97%] Building CXX object PySide/phonon/CMakeFiles/phonon.dir/PySide/phonon/videocapturedevice_wrapper.cpp.o
x86_64-pc-linux-gnu-g++: /var/tmp/portage/dev-python/pyside-0.4.2/work/pyside-0.4.2_build/PySide/phonon/PySide/phonon/videocapturedevice_wrapper.cpp: No such file or directory
x86_64-pc-linux-gnu-g++: no input files
make[2]: *** [PySide/phonon/CMakeFiles/phonon.dir/PySide/phonon/videocapturedevice_wrapper.cpp.o] Error 1
make[1]: *** [PySide/phonon/CMakeFiles/phonon.dir/all] Error 2


Reproducible: Always




emerge --info dev-python/pyside
Portage 2.2.0_alpha8 (default/linux/amd64/10.0/desktop, gcc-4.5.1, glibc-2.12.1-r3, 2.6.36-gentoo-r5 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.36-gentoo-r5-x86_64-AMD_Phenom-tm-_II_X4_940_Processor-with-gentoo-2.0.1
Timestamp of tree: Mon, 13 Dec 2010 13:45:01 +0000
ccache version 3.1.3 [disabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r1, 2.7.1, 3.1.3
dev-util/ccache:     3.1.3
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.8
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.6.3-r1, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.4.5, 4.5.1-r1, 4.6.0_pre9999::local
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
Repositories: gentoo sunrise local
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=native -O2 -msse3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /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/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="-mtune=native -O2 -msse3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs buildpkg distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo "
LANG="en_US.iso88591"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en de"
MAKEOPTS="-j4"
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="/usr/local/portage/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.informatik.RWTH-Aachen.de/gentoo-portage"
USE="3dnow 3dnowext 3dnowprefetch X a52 aac acl acpi alsa amd64 atm avahi berkdb branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam ffmpeg fftw firefox flac fortran fuse gdbm gfortran gif gimp gnome gpm gtk gtk2 hal iconv ipv6 jpeg kde lapack lcms libnotify mad mikmod mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png ppds pppd python qt qt3support qt4 readline sdl session smp spell sqlite sqlite3 sse sse2 sse3 sse4a ssl startup-notification svg sysfs tcl tcpd threads tiff tk truetype udev unicode usb vorbis x264 xcb xml xorg xulrunner xv xvid 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" 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="keyboard mouse evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="ati radeon" 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, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

dev-python/pyside-0.4.2 was built with the following:
USE="kde (multilib) -debug"
Comment 1 Rafał Mużyło 2010-12-13 22:07:08 UTC
Mind attaching full build log ?
Comment 2 tarek 2010-12-14 03:54:36 UTC
Created attachment 257075 [details]
version bumped apiextractor
Comment 3 tarek 2010-12-14 03:55:03 UTC
Created attachment 257077 [details]
version bumped generatorrunner
Comment 4 tarek 2010-12-14 03:55:29 UTC
Created attachment 257079 [details]
version bumped shiboken
Comment 5 tarek 2010-12-14 03:55:56 UTC
Created attachment 257080 [details, diff]
patch for shiboken
Comment 6 tarek 2010-12-14 03:56:20 UTC
Created attachment 257082 [details]
version  bump
Comment 7 tarek 2010-12-14 03:56:50 UTC
Created attachment 257083 [details, diff]
patch which clears this bugs error
Comment 8 tarek 2010-12-14 03:57:06 UTC
Created attachment 257084 [details]
version bump
Comment 9 tarek 2010-12-14 03:57:44 UTC
Created attachment 257085 [details, diff]
path uses version 1.0.0 of pyside
Comment 10 tarek 2010-12-14 04:02:30 UTC
Had same issue.

Solution for this bug is in qt git tree - see  http://qt.gitorious.org/pyside/pyside/commit/0d60daf1e1a6edd95b58c7bdd33da8f4c1629c90

Have added overlay ebuilds/patches (8 files) for pyside, its primary dependencies, as well as pyside-tools to version bump all to current release.

These emerge for me (python 2.6, qt 4.7.1)
Comment 11 tarek 2010-12-14 04:06:21 UTC
One should note that:

shiboken-1.0.0_beta1-fix-pkgconfig.patch resides in shiboken/files
pyside-phonon.patch resides in pyside/files
pyside_1.0.0.patch resides in pyide-tools/files

as the package patches apply to may not be evident.
Comment 12 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-12-14 15:57:44 UTC
This bug seems to be unrelated to Python 2.7.
Comment 13 tarek 2010-12-16 05:45:59 UTC
(In reply to comment #12)
> This bug seems to be unrelated to Python 2.7.
> 

Agreed 

Refer to  pyside-phonon.patch or the qt.gitorius.org link above for details.

With the above ebuild/patches the bug is resolved.


Comment 14 Thomas Capricelli 2010-12-16 09:31:48 UTC
hi. I'm having this problem here too, on ~amd64 with python 2.6(.6)
Comment 15 Dominik Kapusta (RETIRED) gentoo-dev 2010-12-23 18:09:52 UTC
Hey, I added the patch to pyside-0.4.2:

+  23 Dec 2010; Dominik Kapusta <ayoy@gentoo.org> pyside-0.4.2.ebuild,
+  +files/pyside-cmake-namespace.patch:
+  Add patch to fix namespace issue in cmake files (bug #348632). Thanks to
+  tarek for the patch.
+

PySide should compile fine now, so I'm closing the bug. I'll test 1.0.0_beta2 pyside soon and add it to the tree for testing. Thanks for the patches!