Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 352853 - >=dev-python/PyQt4-4.8.2 fails to build
Summary: >=dev-python/PyQt4-4.8.2 fails to build
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-26 18:27 UTC by Bertrand Piétu
Modified: 2011-01-26 21:44 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bertrand Piétu 2011-01-26 18:27:17 UTC
Building PyQt-4.8.2 or 4.8.3 with the declaraticve use flag fails:


>>> Emerging (1 of 1) dev-python/PyQt4-4.8.3
 * PyQt-x11-gpl-4.8.3.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                                  [ ok ]
 * Package:    dev-python/PyQt4-4.8.3
 * Repository: gentoo
 * Maintainer: python@gentoo.org qt@gentoo.org
 * USE:        X amd64 dbus declarative elibc_glibc examples kde kernel_linux multilib opengl sql svg userland_GNU webkit
 * FEATURES:   sandbox
>>> Unpacking source...
>>> Unpacking PyQt-x11-gpl-4.8.3.tar.gz to /var/tmp/portage/dev-python/PyQt4-4.8.3/work
>>> Source unpacked in /var/tmp/portage/dev-python/PyQt4-4.8.3/work
>>> Preparing source in /var/tmp/portage/dev-python/PyQt4-4.8.3/work/PyQt-x11-gpl-4.8.3 ...
 * Applying PyQt4-4.8.3-configure-multilib.patch ...                                                                                                                                                          [ ok ]
 * Applying PyQt4-4.7.2-configure.py.patch ...                                                                                                                                                                [ ok ]
 * ERROR: dev-python/PyQt4-4.8.3 failed:
 *   PYTHON_CFLAGS should be indexed array
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_prepare
 *   environment, line 5229:  Called python_execute_function '-s' 'preparation'
 *   environment, line 3647:  Called _python_prepare_flags
 *   environment, line 1063:  Called die
 * The specific snippet of code:
 *                       die "${prefix}${variable} should be indexed array";
 * 
 * If you need support, post the output of 'emerge --info =dev-python/PyQt4-4.8.3',
 * the complete build log and the output of 'emerge -pqv =dev-python/PyQt4-4.8.3'.
 * The complete build log is located at '/var/tmp/portage/dev-python/PyQt4-4.8.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/PyQt4-4.8.3/temp/environment'.
 * S: '/var/tmp/portage/dev-python/PyQt4-4.8.3/work/PyQt-x11-gpl-4.8.3'

The declarative use flag is needed for pykde-4.6.0.

emerge --info:


Portage 2.1.9.35 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.2, glibc-2.12.2-r0, 2.6.37-gentoo x86_64)
=================================================================
System uname: Linux-2.6.37-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E8200_@_2.66GHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 26 Jan 2011 17:15:03 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1, 3.1.3
dev-util/cmake:      2.8.3-r1
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.7.0
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.4_p6-r1, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.2
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)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/themes/oxygen-gtk/gtk-2.0"
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="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://gentoo.arcticnetwork.ca/pub/gentoo/ http://gentoo.arcticnetwork.ca/ ftp://mirrors.tera-byte.com/pub/gentoo http://gentoo.mirrors.tera-byte.com/"
LANG="es_ES.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="es es_ES"
MAKEOPTS="-j3"
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/desktop-effects /var/lib/layman/kde /var/lib/layman/bertri"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 amr berkdb branding bzip2 cairo calendar cdda cddb cdr cli consolekit cracklib crypt cups cxx dbus declarative desktopglobe dirac dri dts dv dvb dvd dvdr ebook emboss encode exif expoblending faac fam fat ffmpeg firefox flac fontconfig fortran gdbm gdu gif gphoto2 gpm gsm gtk iconv id3tag ipv6 jingle jpeg kde kipi lame laptop lcms ldap libv4l2 lm_sensors lzma mad matroska mikmod mmx mmxext mng modules mp3 mp4 mpeg msn mtp mudflap multilib musepack ncurses networkmanager nls nptl nptlonly ntfs ntp ogg opengl openmp pam pango pcre pdf perl plasma png policykit ppds pppd pulseaudio python qt3support qt4 quicktime readline redeyes rss samba schroedinger sdl semantic-desktop session shout skype speex spell sqlite sse sse2 sse3 ssl ssse3 startup-notification svg symlink sysfs taglib tcpd theora thumbnail tiff truetype udev unicode usb v4l2 vaapi vdpau video vorbis vpx wavpack webkit wicd x264 xcb xml xorg xulrunner xv xvid yahoo 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" CAMERAS="canon ptp2 directory" 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="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es es_ES" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nv nouveau nvidia" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Reproducible: Always
Comment 1 Bertrand Piétu 2011-01-26 18:53:02 UTC
I'm sorry, i correct the summary. It seems that the declarative use flags is not the problem but i can't build PyQt-4.8.3 anymore and I don't know why because i've done it this morning without problem.
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-01-26 21:44:52 UTC
(In reply to comment #0)
>  * ERROR: dev-python/PyQt4-4.8.3 failed:
>  *   PYTHON_CFLAGS should be indexed array

You shouldn't set PYTHON_CFLAGS anywhere. It's an internal array of ebuilds.