Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 352493 - [PATCH] sci-geosciences/qgis-1.5.0 fails to build with >=dev-python/PyQt4-4.8.2
Summary: [PATCH] sci-geosciences/qgis-1.5.0 fails to build with >=dev-python/PyQt4-4.8.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Sci-geo Project
URL: http://trac.osgeo.org/qgis/ticket/3378
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2011-01-23 13:14 UTC by Adrian Frith
Modified: 2011-01-23 17:16 UTC (History)
0 users

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


Attachments
Build log (build.log,85.56 KB, text/plain)
2011-01-23 13:16 UTC, Adrian Frith
Details
Patch to qgis sources (qgis-1.5.0-qset.patch,1.25 KB, patch)
2011-01-23 13:18 UTC, Adrian Frith
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adrian Frith 2011-01-23 13:14:32 UTC
QGIS 1.5.0 doesn't build with PyQT 4.8.2, as described in QGIS bug 3378 [http://trac.osgeo.org/qgis/ticket/3378]. This is fixed in revision 14988 [http://trac.osgeo.org/qgis/changeset/14988]. I will attach the patch derived from that revision.

This is similar to bug #342315, but that involved QSet<int> while this involves QSet<TYPE>.

Reproducible: Always

Steps to Reproduce:
MAKEOPTS=-j1 USE=python emerge qgis
Actual Results:  
[ 67%] Generating analysis/sipanalysispart0.cpp, analysis/sipanalysispart1.cpp, analysis/sipanalysispart2.cpp, analysis/sipanalysispart3.cpp

sip: /var/tmp/portage/sci-geosciences/qgis-1.5.0/work/qgis-1.5.0/python/core/conversions.sip:327: %MappedType template for this type has already been defined
make[2]: *** [python/analysis/sipanalysispart0.cpp] Error 1
make[1]: *** [python/CMakeFiles/python_module_qgis_analysis.dir/all] Error 2
make: *** [all] Error 2
emake failed


Portage 2.1.9.35 (default/linux/amd64/10.0/desktop/gnome, 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-_i7_CPU_860_@_2.80GHz-with-gentoo-2.0.1
Timestamp of tree: Sun, 23 Jan 2011 11:15:02 +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.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="* -@EULA AdobeFlash-10.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
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/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 buildpkg distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.mirror.ac.za http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_ZA en_GB en_US"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--progress"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 avahi bash-completion berkdb bluetooth branding bzip2 cairo calendar cdda cddb cdr cli consolekit cracklib crypt cscope css ctype cups curl cxx dbus djvu dri dts dvd dvdr dvdread dvi eds emboss encode esd evo exif fam ffmpeg firefox flac fontconfig foomaticdb fortran ftp fuse gconf gdbm gdu gedit gif gimp glib glitz gnome gnome-keyring gnuplot gphoto2 gpm gps gstreamer gtk gvfs hal iconv ieee1394 imap ipv6 jabber java java6 jbig joystick jpeg jpeg2k kpathsea kvm lame latex lcms libnotify mad mikmod mime mmap mmx mng modules mono mp3 mp4 mpeg mudflap multilib nautilus ncurses networkmanager nls nptl nptlonly nsplugin offensive ogg opengl openmp pam pango pcmcia pcre pda pdf perl png policykit posix postgres ppds pppd pulseaudio python qt3support quicktime readline samba scanner sdl semantic-desktop session sockets spell sqlite3 sse sse2 sse3 sse4 ssl startup-notification subversion svg sysfs tcpd theora threads tidy tiff totem truetype udev unicode usb videos vim-syntax vnc vorbis wifi wmf wxwindows x264 xattr xcb xcomposite xetex xinerama xml xorg xosd xulrunner xv xvid zeroconf 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_ZA en_GB en_US" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="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, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Adrian Frith 2011-01-23 13:16:40 UTC
Created attachment 260533 [details]
Build log
Comment 2 Adrian Frith 2011-01-23 13:18:20 UTC
Created attachment 260535 [details, diff]
Patch to qgis sources

This patch may require you to have already applied qgis-1.5.0-sip.patch (I haven't tried it without).
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2011-01-23 17:16:36 UTC
Fixed in main tree.
Thanks for the bugreport and patch.