Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 334249 - [qting-edge] dev-python/PyQt4-4.7.5_pre20100819 fails to build
Summary: [qting-edge] dev-python/PyQt4-4.7.5_pre20100819 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-24 09:19 UTC by Patrick Lauer
Modified: 2010-08-24 11:34 UTC (History)
1 user (show)

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 Patrick Lauer gentoo-dev 2010-08-24 09:19:36 UTC
x86_64-pc-linux-gnu-g++ -c -fno-strict-aliasing -O2 -pipe -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/include/python2.6 -I../../QtCore -I. -I. -o qpycore_sip_helpers.o qpycore_sip_helpers.cpp
x86_64-pc-linux-gnu-g++ -c -fno-strict-aliasing -O2 -pipe -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/include/python2.6 -I../../QtCore -I. -I. -o qpycore_types.o qpycore_types.cpp
x86_64-pc-linux-gnu-g++ -c -fno-strict-aliasing -O2 -pipe -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/include/python2.6 -I../../QtCore -I. -I. -o qpycore_qvariant.o qpycore_qvariant.cpp
/usr/bin/moc -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/include/python2.6 -I../../QtCore -I. -I. qpycore_pyqtproxy.h -o moc_qpycore_pyqtproxy.cpp
In file included from /usr/include/python2.6/Python.h:8,
                 from qpycore_sip_helpers.cpp:33:
/usr/include/python2.6/pyconfig.h:1067:1: warning: "_POSIX_C_SOURCE" redefined
In file included from /usr/include/string.h:27,
                 from qpycore_sip_helpers.cpp:31:
/usr/include/features.h:162:1: warning: this is the location of the previous definition
In file included from /usr/include/python2.6/Python.h:8,
                 from qpycore_sip_helpers.cpp:33:
/usr/include/python2.6/pyconfig.h:1079:1: warning: "_XOPEN_SOURCE" redefined
In file included from /usr/include/string.h:27,
                 from qpycore_sip_helpers.cpp:31:
/usr/include/features.h:164:1: warning: this is the location of the previous definition
x86_64-pc-linux-gnu-g++ -c -fno-strict-aliasing -O2 -pipe -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/include/python2.6 -I../../QtCore -I. -I. -o moc_qpycore_pyqtproxy.o moc_qpycore_pyqtproxy.cpp
qpycore_types.cpp: In function 'PyObject* pyqtWrapperType_call(PyObject*, PyObject*, PyObject*)':
qpycore_types.cpp:578: error: invalid conversion from 'void* (*)(sipSimpleWrapper*, int)' to 'void* (*)(_sipSimpleWrapper*)'
make[2]: *** [qpycore_types.o] Error 1
make[2]: Leaving directory `/chroot/local/portage/dev-python/PyQt4-4.7.5_pre20100819/work/PyQt-x11-gpl-snapshot-4.7.5-094f9a9a19c4-2.6/qpy/QtCore'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/chroot/local/portage/dev-python/PyQt4-4.7.5_pre20100819/work/PyQt-x11-gpl-snapshot-4.7.5-094f9a9a19c4-2.6/qpy'
make: *** [all] Error 2
emake failed
 * ERROR: dev-python/PyQt4-4.7.5_pre20100819 failed:
 *   Building failed with CPython 2.6 in python_default_function() function

Portage 2.2_rc68 (default/linux/amd64/10.0/desktop, gcc-4.4.4, glibc-2.12.1-r1, 2.6.34-gentoo x86_64)
=================================================================
System uname: Linux-2.6.34-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T6670_@_2.20GHz-with-gentoo-2.0.1
Timestamp of tree: Unknown
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.2
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.35 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/portage /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 -pipe"
DISTDIR="/chroot/distfiles"
FEATURES="assume-digests buildpkg ccache distlocks fixlafiles fixpackages multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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="/chroot/local"
PORTDIR="/home/pal/code/gentoo-x86"
PORTDIR_OVERLAY="/var/lib/layman/kde /var/lib/layman/qting-edge /var/lib/layman/x11 /home/pal/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dhclient dri dts dvd dvdr emboss encode exif extensions extras fam firefox flac fortran gdbm gif gnutls gpm hal iconv imap ipv6 jpeg kde kpathsea lcms ldap libnotify logrotate mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib mysql ncurses networkmanager nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support qt4 readline reflection samba sdl semantic-desktop session spell spl sql sqlite sse sse2 ssl startup-notification svg sysfs tcpd threads tiff truetype unicode usb vorbis webkit x264 xcb xml xmp 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel vesa" 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, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2010-08-24 09:31:56 UTC
Can you try this snapshots?


PyQt4-4.7.5_pre20100824 and sip-4.11_pre20100824
Comment 2 Patrick Lauer gentoo-dev 2010-08-24 11:11:08 UTC
 * ERROR: dev-python/PyQt4-4.7.5_pre20100824 failed

but I have sip-4.9999 installed, so let me try with a snapshot ...
Comment 3 Patrick Lauer gentoo-dev 2010-08-24 11:34:24 UTC
downgrading to a snapshot makes it work.

So let's call this one user error :)