Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 374239 - sci-geosciences/qgis-1.4.0 fails to compile with qt 4.7
Summary: sci-geosciences/qgis-1.4.0 fails to compile with qt 4.7
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2011-07-06 14:26 UTC by Dell'Aica Valentino
Modified: 2011-07-22 11:29 UTC (History)
0 users

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


Attachments
Modified ebuild taht add patch (qgis-1.4.0-r1.ebuild,2.55 KB, text/plain)
2011-07-06 15:25 UTC, Dell'Aica Valentino
Details
Patch that modify QString costructors (qgis-1.4.0-qt47.patch,5.89 KB, patch)
2011-07-06 15:27 UTC, Dell'Aica Valentino
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dell'Aica Valentino 2011-07-06 14:26:13 UTC
When I try to compile sci-geosciences/qgis-1.4.0 it fail with a message regarding QString constructor.

Reproducible: Always

Steps to Reproduce:
1.emerge sci-geosciences/qgis
Actual Results:  
[ 12%] Building CXX object src/core/CMakeFiles/qgis_core.dir/qgsdistancearea.cpp.o
[ 12%] Building CXX object src/core/CMakeFiles/qgis_core.dir/qgsfeature.cpp.o
[ 12%] Building CXX object src/core/CMakeFiles/qgis_core.dir/qgsfield.cpp.o
[ 12%] Building CXX object src/core/CMakeFiles/qgis_core.dir/qgsgeometry.cpp.o
[ 12%] Building CXX object src/core/CMakeFiles/qgis_core.dir/qgshttptransaction.cpp.o
[ 13%] Building CXX object src/core/CMakeFiles/qgis_core.dir/qgslabel.cpp.o
/var/tmp/portage/sci-geosciences/qgis-1.4.0-r1/work/qgis-1.4.0/src/core/qgshttptransaction.cpp: In constructor ‘QgsHttpTransaction::QgsHttpTransaction(QString, QString, int, QString, QString, QNetworkProxy::ProxyType, QString, QString)’:
/var/tmp/portage/sci-geosciences/qgis-1.4.0-r1/work/qgis-1.4.0/src/core/qgshttptransaction.cpp:51: error: call of overloaded ‘QString(int)’ is ambiguous
/usr/include/qt4/QtCore/qstring.h:428: note: candidates are: QString::QString(const QByteArray&)
/usr/include/qt4/QtCore/qstring.h:426: note:                 QString::QString(const char*)
/usr/include/qt4/QtCore/qstring.h:728: note:                 QString::QString(const QString&)
/usr/include/qt4/QtCore/qstring.h:106: note:                 QString::QString(QChar)
/usr/include/qt4/QtCore/qstring.h:105: note:                 QString::QString(const QChar*)
/var/tmp/portage/sci-geosciences/qgis-1.4.0-r1/work/qgis-1.4.0/src/core/qgshttptransaction.cpp:51: error: call of overloaded ‘QString(int)’ is ambiguous
/usr/include/qt4/QtCore/qstring.h:428: note: candidates are: QString::QString(const QByteArray&)
/usr/include/qt4/QtCore/qstring.h:426: note:                 QString::QString(const char*)
/usr/include/qt4/QtCore/qstring.h:728: note:                 QString::QString(const QString&)
/usr/include/qt4/QtCore/qstring.h:106: note:                 QString::QString(QChar)
/usr/include/qt4/QtCore/qstring.h:105: note:                 QString::QString(const QChar*)
make[2]: *** [src/core/CMakeFiles/qgis_core.dir/qgshttptransaction.cpp.o] Errore 1
make[2]: *** Attesa dei processi non terminati....
make[1]: *** [src/core/CMakeFiles/qgis_core.dir/all] Errore 2
make: *** [all] Errore 2
emake failed
 * ERROR: sci-geosciences/qgis-1.4.0-r1 failed (compile phase):
 *   Make failed!
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 5191:  Called cmake-utils_src_compile
 *   environment, line 1366:  Called _execute_optionaly 'src_compile'
 *   environment, line  402:  Called enable_cmake-utils_src_compile
 *   environment, line 1615:  Called cmake-utils_src_make
 *   environment, line 1385:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "Make failed!";
 * 
 * If you need support, post the output of 'emerge --info =sci-geosciences/qgis-1.4.0-r1',
 * the complete build log and the output of 'emerge -pqv =sci-geosciences/qgis-1.4.0-r1'.
 * This ebuild is from an overlay named 'elettronik': '/home/elettronik/portage/'
 * The complete build log is located at '/var/tmp/portage/sci-geosciences/qgis-1.4.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sci-geosciences/qgis-1.4.0-r1/temp/environment'.
 * S: '/var/tmp/portage/sci-geosciences/qgis-1.4.0-r1/work/qgis-1.4.0'


Portage 2.1.9.42 (default/linux/x86/10.0, gcc-4.4.5, libc-0-r0, 2.6.38-gentoo-r6 i686)
=================================================================
System uname: Linux-2.6.38-gentoo-r6-i686-Intel-R-_Core-TM-2_Duo_CPU_P8400_@_2.26GHz-with-gentoo-2.0.2
Timestamp of tree: Thu, 30 Jun 2011 07:15:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1-r1, 3.1.3-r1
dev-util/cmake:      2.8.4-r1
dev-util/pkgconfig:  0.25-r2
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.2-r1
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.1
sys-devel/gcc:       4.3.4, 4.4.5
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.82
sys-kernel/linux-headers: 2.6.36.1
sys-libs/glibc:      2.12.2
virtual/os-headers:  0
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA PUEL Q3AEULA dlj-1.1 sun-bcla-java-vm skype-eula AdobeFlash-10.1 AdobeFlash-10 AdobeFlash-9.0.31.0"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe"
CHOST="i686-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/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="-O2 -march=core2 -pipe"
DISTDIR="/home/portage/distfiles/"
EMERGE_DEFAULT_OPTS=""
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch usersandbox"
FFLAGS="-O2 -march=core2 -pipe"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ http://tux.rainside.sk/gentoo/ http://ftp.fi.muni.cz/pub/linux/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ http://mirror.ovh.net/gentoo-distfiles/"
LANG="it_IT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="it en en_GB en_US"
MAKEOPTS="-j3"
PKGDIR="/home/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/games /var/lib/layman/science /var/lib/layman/lxde /var/lib/layman/desktop-effects /var/lib/layman/zugaina /var/lib/layman/pro-audio /home/elettronik/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aac alsa bash-completion bluetooth bzip2 cairo cleartype cli consolekit cracklib crypt cups custom-cflags custom-optimization cxx dbus device-mapper dri fortran gd gdbm gmp gnutls gpm iconv idn jack java jpeg libnotify lm_sensors mmap mmx modules mudflap ncurses nls nptl nptlonly nss ogg opengl pam pcre perl png policykit pppd python qt4 readline session sqlite sqlite3 sse sse2 ssl svg sysfs threads truetype udev unicode vim-syntax wifi win32codecs x86 xcomposite xorg zlib" ALSA_CARDS="loopback hda-intel usb-audio" 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 authz_host autoindex cgi deflate dir env expires ext_filter filter headers include info log_config mime mime_magic negotiation rewrite setenvif vhost_alias dav dav_fs dav_lock userdir status authn_file authz_user auth_digest" APACHE2_MPMS="worker" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" 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" KERNEL="linux" LCD_DEVICES="ncurses text" LINGUAS="it en en_GB en_US" LIRC_DEVICES="devinput userspace" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" XFCE_PLUGINS="brightness logout trash menu" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Dell'Aica Valentino 2011-07-06 15:25:26 UTC
Created attachment 279245 [details]
Modified ebuild taht add patch
Comment 2 Dell'Aica Valentino 2011-07-06 15:27:06 UTC
Created attachment 279247 [details, diff]
Patch that modify QString costructors

Patch that modify QString constructor that caused bug in compilation with Qt 4.7
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2011-07-17 22:26:04 UTC
does 1.7 compile? I plan to stabilise it after grass-6.4 is stable on x86.
(well it should compile so just migrate to testing on qgis for the time being)
Comment 4 Tomáš Chvátal (RETIRED) gentoo-dev 2011-07-22 11:29:37 UTC
Will rather stabilise 1.7.0.