Created attachment 357150 [details] emerge --info '=sci-geosciences/qgis-1.8.0' After recent upgrades (under Funtoo), `emerge -av qgis` fails to complete with the default USE flags. Last messages: --%<--- /var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0_build/python/gui/sipguipart2.cpp: In function 'PyObject* meth_QgsMapCanvasMap_pixmap(PyObject*, PyObject*)': /var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0_build/python/gui/sipguipart2.cpp:8743:38: warning: 'QPixmap& QgsMapCanvasMap::pixmap()' is deprecated (declared at /var/tmp/porta-1.8.0/python/../src/gui/qgsmapcanvasmap.h:52) [-Wdeprecated-declarations] /var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0/python/../src/gui/qgsmapcanvas.h: In member function 'virtual void sipQgsMapCanvas::connectNotify(const char*)': /var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0/python/../src/gui/qgsmapcanvas.h:461:10: error: 'virtual void QgsMapCanvas::connectNotify(const char*)' is private /var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0_build/python/gui/sipguipart2.cpp:9559:39: error: within this context /var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0_build/python/gui/sipguipart2.cpp: In function 'PyObject* meth_QgsMapCanvas_canvasPixmap(PyObject*, PyObject*)': /var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0_build/python/gui/sipguipart2.cpp:12868:44: warning: 'QPixmap& QgsMapCanvas::canvasPixmap()' is deprecated (declared at /var/tmp/pqgis-1.8.0/python/../src/gui/qgsmapcanvas.h:125) [-Wdeprecated-declarations] /var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0_build/python/gui/sipguipart2.cpp: In function 'PyObject* meth_QgsGenericProjectionSelector_selectedEpsg(PyObject*, PyObject*)': /var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0_build/python/gui/sipguipart2.cpp:19599:43: warning: 'long int QgsGenericProjectionSelector::selectedEpsg()' is deprecated (declarqgis-1.8.0/work/qgis-1.8.0/python/../src/gui/qgsgenericprojectionselector.h:67) [-Wdeprecated-declarations] /var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0_build/python/gui/sipguipart2.cpp: In function 'PyObject* meth_QgsGenericProjectionSelector_selectedProj4String(PyObject*, PyObjec /var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0_build/python/gui/sipguipart2.cpp:19638:62: warning: 'QString QgsGenericProjectionSelector::selectedProj4String()' is deprecated (ences/qgis-1.8.0/work/qgis-1.8.0/python/../src/gui/qgsgenericprojectionselector.h:66) [-Wdeprecated-declarations] /var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0_build/python/gui/sipguipart2.cpp: In function 'PyObject* meth_QgsGenericProjectionSelector_setSelectedEpsg(PyObject*, PyObject*)' /var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0_build/python/gui/sipguipart2.cpp:19799:39: warning: 'void QgsGenericProjectionSelector::setSelectedEpsg(long int)' is deprecated iences/qgis-1.8.0/work/qgis-1.8.0/python/../src/gui/qgsgenericprojectionselector.h:73) [-Wdeprecated-declarations] make[2]: *** [python/CMakeFiles/python_module_qgis_gui.dir/gui/sipguipart2.cpp.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0_build' make[1]: *** [python/CMakeFiles/python_module_qgis_gui.dir/all] Error 2 make[1]: Leaving directory `/var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0_build' make: *** [all] Error 2 * ERROR: sci-geosciences/qgis-1.8.0 failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sci-geosciences/qgis-1.8.0'`, * the complete build log and the output of `emerge -pqv '=sci-geosciences/qgis-1.8.0'`. * The complete build log is located at '/var/tmp/portage/sci-geosciences/qgis-1.8.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-geosciences/qgis-1.8.0/temp/environment'. * Working directory: '/var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0_build' * S: '/var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0' >>> Failed to emerge sci-geosciences/qgis-1.8.0, Log file: >>> '/var/tmp/portage/sci-geosciences/qgis-1.8.0/temp/build.log' * Messages for package sci-geosciences/qgis-1.8.0: * ERROR: sci-geosciences/qgis-1.8.0 failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sci-geosciences/qgis-1.8.0'`, * the complete build log and the output of `emerge -pqv '=sci-geosciences/qgis-1.8.0'`. * The complete build log is located at '/var/tmp/portage/sci-geosciences/qgis-1.8.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-geosciences/qgis-1.8.0/temp/environment'. * Working directory: '/var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0_build' * S: '/var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0' --->%-- I have tried to downgrade sip and PyQt4, however, the build fails again. Any hints?
Created attachment 357152 [details] emerge -pqv '=sci-geosciences/qgis-1.8.0'
Created attachment 357154 [details] build log (compressed)
Portage 2.3.6-r5 (funtoo/1.0/linux-gnu/arch/x86-64bit, gcc-4.6.4, glibc-2.15-r4, 3.2.41-2 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.2.41-2-x86_64-Intel-R-_Xeon-R-_CPU_E5-2630_0_@_2.30GHz-with-gentoo-2.2.0 KiB Mem: 32993472 total, 3057124 free KiB Swap: 134217724 total, 134209720 free Timestamp of tree: Sun, 25 Aug 2013 17:15:01 +0000 ld GNU ld (GNU Binutils) 2.22 ccache version 3.1.9 [enabled] app-shells/bash: 4.2_p37 dev-java/java-config: 2.2.0-r1000 dev-lang/python: 2.7.5-r1000, 3.3.2-r1000 dev-util/ccache: 3.1.9 dev-util/cmake: 2.8.11.1 sys-apps/baselayout: 2.2.0-r4 sys-apps/openrc: 0.10.3-r1 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.11.6, 1.12.6 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.6.4 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.7 (virtual/os-headers) sys-libs/glibc: 2.15-r4 Repositories: gentoo ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /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 /etc/udev/rules.d" CXXFLAGS="-mtune=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/" LANG="python" LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed" LINGUAS="en de el fr" MAKEOPTS="-j10" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="git://github.com/funtoo/ports-2012.git" SYNC_USER="root" USE="7Zip X a52 aalib acc acl acpi additions alsa amd64 apng bash-completion berkdb bzip2 cairo cdr cjk consolekit cracklib crypt css cups cxx dbus dri dvb dvd dvdr dvdread dvi embedded extras fame fat ffmpeg firefox flac foomatic-db freetype gcj gdbm gif git gnutls gpm gsm iconv icu ipv6 java jpeg kde lame libnotify lm_sensors lzma lzo mad matroska mjpeg mmx mng modules mp3 mp4 mpeg mudflap multilib mysql ncurses nls nptl ntfs ogg openal opengl openmp pam pcre pdf png policykit portage pppd pulseaudio python qt4 rar readline resolvconf sdl semantic-desktop sox sql sse sse2 ssl stream subversion svg tcpd tiff toolbar truetype udev unicode usb v4l v4l2 vorbis wavpack webkit win32codecs x264 xcb xine xml xorg xvid zeroconf zip zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel ice1724 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 authn_core authz_core socache_shmcb unixd" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" 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 mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en de el fr" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_ABIS="2.7 3.3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18 ruby19 ruby20" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, SYNC_UMASK
*** Bug 482642 has been marked as a duplicate of this bug. ***
Any news in this front? Is it hard to fix?
See https://bugs.gentoo.org/show_bug.cgi?id=487222 It's the same problem caused by too new sip-4.15
*** Bug 509610 has been marked as a duplicate of this bug. ***
*** Bug 487222 has been marked as a duplicate of this bug. ***
Patches to solve this bug have been provided in tickets 487222 and 509610. Please apply one of them to close this bug.
I just hit the same issue. ... cd /var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0_build/python && /usr/bin/x86_64-pc-linux-gnu-g++ -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_TO_ASCII -DQT_SQL_LIB -DQT_SVG_LIB -DQT_WEBKIT_LIB -DQT_XML_LIB -Dpython_module_qgis_core_EXPORTS -DNDEBUG -march=amdfam10 -O2 -pipe -fPIC -isystem /usr/include/qt4 -isystem /usr/include/qt4/QtSvg -isystem /usr/include/qt4/QtWebKit -isystem /usr/include/qt4/QtGui -isystem /usr/include/qt4/QtXml -isystem /usr/include/qt4/QtSql -isystem /usr/include/qt4/QtNetwork -isystem /usr/include/qt4/QtCore -I/var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0_build -I/usr/include/python2.7 -I/var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0/python/../src/core -I/var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0/python/../src/core/composer -I/var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0/python/../src/core/gps -I/var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0/python/../src/core/gps/qextserialport -I/var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0/python/../src/core/raster -I/var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0/python/../src/core/renderer -I/var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0/python/../src/core/symbology -I/var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0/python/../src/core/symbology-ng -I/var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0/python/../src/gui -I/var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0/python/../src/gui/symbology-ng -I/var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0/python/../src/plugins -I/var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0_build/src/gui -I/var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0_build/src/ui -I/var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0/python/../src/analysis/vector -I/var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0/python/../src/analysis/network -I/var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0_build/src/analysis/vector -I/var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0_build/src/analysis/network -DCORE_EXPORT= -DGUI_EXPORT= -DPYTHON_EXPORT= -DANALYSIS_EXPORT= -o CMakeFiles/python_module_qgis_core.dir/core/sipcorepart2.cpp.o -c /var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0_build/python/core/sipcorepart2.cpp /var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0_build/python/core/sipcorepart2.cpp: In member function ‘QgsSearchTreeValue sipQgsSearchTreeNode::sipProtect_valueAgainst(const QMap<int, QgsField>&, const QMap<int, QVariant>&, QgsGeometry*)’: /var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0_build/python/core/sipcorepart2.cpp:2228:52: warning: ‘QgsSearchTreeValue QgsSearchTreeNode::valueAgainst(const QgsFieldMap&, const QgsAttributeMap&, QgsGeometry*)’ is deprecated (declared at /var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0/python/../src/core/qgssearchtreenode.h:224) [-Wdeprecated-declarations] { ^ ... In file included from /var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0/python/core/qgsmaplayerregistry.sip:10:0: /var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0/python/../src/core/qgsmaplayerregistry.h: In member function ‘virtual void sipQgsMapLayerRegistry::connectNotify(const char*)’: /var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0/python/../src/core/qgsmaplayerregistry.h:176:10: error: ‘virtual void QgsMapLayerRegistry::connectNotify(const char*)’ is private void connectNotify( const char * signal ); ^ /var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0_build/python/core/sipcorepart2.cpp:34316:46: error: within this context return; ... /var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0_build/python/core/sipcorepart2.cpp:46172:43: warning: ‘int QgsGeometry::addIsland(const QList<QgsPoint>&)’ is deprecated (declared at /var/tmp/portage/sci-geosciences/qgis-1.8.0/work/qgis-1.8.0/python/../src/core/qgsgeometry.h:259) [-Wdeprecated-declarations] catch (...) ^ python/CMakeFiles/python_module_qgis_core.dir/build.make:205: recipe for target 'python/CMakeFiles/python_module_qgis_core.dir/core/sipcorepart2.cpp.o' failed make[2]: *** [python/CMakeFiles/python_module_qgis_core.dir/core/sipcorepart2.cpp.o] Error 1
More than three month later I still have the same error. Any news?
Have you read the comment #9 ? Do you need help to apply the patches ?
(In reply to Jean-Claude Repetto from comment #12) > Have you read the comment #9 ? Do you need help to apply the patches ? Six month later! I hit the issue again. Why are the patches not added to the tree?
BTW. at http://www.qgis.org/en/site/ there is qgis-2.8.2. Is there any chance to add the current qgis to the tree?
Unfortunately, it seems that the Gentoo sci_geosciences herd is dead, or at least in deep sleep.
Created attachment 404820 [details] a working qgis-2.8.2.ebuild
*** Bug 547088 has been marked as a duplicate of this bug. ***
author Amy Winston <amynka@gentoo.org> 2015-12-30 17:28:32 (GMT) committer Amy Winston <amynka@gentoo.org> 2015-12-30 17:40:20 (GMT) commit 708c92eebcf3a3db223ccfdf49e36099e9ef72c4 sci-geosciences/qgis: build failure repaired bug #482644. https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=708c92eebcf3a3db223ccfdf49e36099e9ef72c4