'MAKEOPTS=-j1 emerge -v1 qgis' fails with: ... /var/tmp/portage/sci-geosciences/qgis-2.12.2/work/qgis-2.12.2_build/python/core/sip_corepart0.cpp:118091:47: warning: ‘virtual QgsExpression* QgsSymbolLayerV2::expression(const QString&) const’ is deprecated [-Wdeprecated-declarations] In file included from /var/tmp/portage/sci-geosciences/qgis-2.12.2/work/qgis-2.12.2/python/../src/core/symbology-ng/qgsvectorcolorrampv2.h:22:0, from /var/tmp/portage/sci-geosciences/qgis-2.12.2/work/qgis-2.12.2/python/core/symbology-ng/qgsvectorcolorrampv2.sip:4: /var/tmp/portage/sci-geosciences/qgis-2.12.2/work/qgis-2.12.2/python/../src/core/symbology-ng/qgssymbollayerv2.h:284:46: note: declared here Q_DECL_DEPRECATED virtual QgsExpression* expression( const QString& property ) const; ^ /var/tmp/portage/sci-geosciences/qgis-2.12.2/work/qgis-2.12.2_build/python/core/sip_corepart0.cpp:118091:60: warning: ‘virtual QgsExpression* QgsSymbolLayerV2::expression(const QString&) const’ is deprecated [-Wdeprecated-declarations] In file included from /var/tmp/portage/sci-geosciences/qgis-2.12.2/work/qgis-2.12.2/python/../src/core/symbology-ng/qgsvectorcolorrampv2.h:22:0, from /var/tmp/portage/sci-geosciences/qgis-2.12.2/work/qgis-2.12.2/python/core/symbology-ng/qgsvectorcolorrampv2.sip:4: /var/tmp/portage/sci-geosciences/qgis-2.12.2/work/qgis-2.12.2/python/../src/core/symbology-ng/qgssymbollayerv2.h:284:46: note: declared here Q_DECL_DEPRECATED virtual QgsExpression* expression( const QString& property ) const; ^ python/CMakeFiles/python_module_qgis__core.dir/build.make:358: recipe for target 'python/CMakeFiles/python_module_qgis__core.dir/core/sip_corepart0.cpp.o' failed make[2]: *** [python/CMakeFiles/python_module_qgis__core.dir/core/sip_corepart0.cpp.o] Error 1 root@lynx:/root(43)# emerge --info '=sci-geosciences/qgis-2.12.2::gentoo' Portage 2.3.0_rc1 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop, gcc-5.3.0, glibc-2.23-r2, 4.6.0-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.6.0-gentoo-x86_64-Intel-R-_Core-TM-_i7-3630QM_CPU_@_2.40GHz-with-gentoo-2.2 KiB Mem: 15207084 total, 4136976 free KiB Swap: 50331644 total, 50186012 free Timestamp of repository gentoo: Sat, 21 May 2016 23:00:02 +0000 sh bash 4.3_p42-r2 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 distcc[24761] (dcc_trace_version) distcc 3.2rc1 x86_64-pc-linux-gnu; built Dec 12 2015 19:11:03 [disabled] app-shells/bash: 4.3_p42-r2::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.24.0::gentoo dev-lang/python: 2.7.11-r2::gentoo, 3.4.3-r7::gentoo, 3.5.1-r2::gentoo dev-util/cmake: 3.5.2-r1::gentoo dev-util/pkgconfig: 0.29.1::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.20.5::gentoo sys-apps/sandbox: 2.10-r2::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r2::gentoo sys-devel/automake: 1.9.6-r4::gentoo, 1.11.6-r2::gentoo, 1.12.6-r1::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo sys-devel/binutils: 2.25.1-r1::gentoo sys-devel/gcc: 4.9.3::gentoo, 5.3.0::gentoo sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6-r2::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.6::gentoo (virtual/os-headers) sys-libs/glibc: 2.23-r2::gentoo Repositories: gentoo location: /usr/portage_lynx sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 local location: /usr/local/portage masters: gentoo priority: 0 g-cpan location: /var/lib/cpan masters: gentoo priority: 1 g-octave location: /var/lib/g-octave masters: gentoo priority: 2 activehome location: /var/lib/layman/activehome masters: gentoo priority: 50 ago location: /var/lib/layman/ago masters: gentoo priority: 50 sage-on-gentoo location: /var/lib/layman/sage-on-gentoo masters: gentoo science priority: 50 science location: /var/lib/layman/science masters: gentoo priority: 50 sunrise location: /var/lib/layman/sunrise masters: gentoo priority: 50 tlp location: /var/lib/layman/tlp masters: gentoo priority: 50 x11 location: /var/lib/layman/x11 masters: gentoo priority: 50 Installed sets: @system ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA PUEL Intel-SDP dlj-1.1 skype-eula skype-4.0.0.7-copyright googleearth AdobeFlash-11.x cadsoft Oracle-BCLA-JavaSE MakeMKV-EULA NVIDIA-CUDA Nero-AAC-EULA GIMPS" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php7.0/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="-march=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs 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 userpriv usersandbox usersync xattr" FFLAGS="-march=native -O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j9" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="64bit R X Xaw3d a52 aac acl acpi admin afs alsa amd64 amr ao apache2 apng applet archive armadillo arpack asf aspell assistant atlas audacious audiofile aufs automap automount bash-completion berkdb blas blast bluetooth bluray boost branding btrfs bzip2 cairo cdda cddb cdf cdio cdparanoia cdr cg cgi chm cilk cli cmake collada consolekit contrib cracklib crypt css cups curl cxx daap db dbi dbm dbus declarative designer devhelp device-mapper dga dia digitalradio djvu doc dot dri ds2490 ds9097 ds9097u dts dv dvb dvd dvdr dvi dynamicplugin eds egl elf emacs emboss emf encode epiphany evo examples excel exif expat extensions extra extras faac faad fam ffmpeg fftw firefox fits flac fltk fontconfig foomaticdb fortran fortran95 fpm fpx ftp fuse gcj gd gdal gdbm gedit geoip geolocation geos gfortran gif gimp git glade glamor glib glpk gml gmp gnome gnome-keyring gnuplot gnutls gold gphoto2 gpm grammar graphics graphtft graphviz grass gsl gsm gstreamer gtk gtk3 gudev guile hdaps hddtemp hdf hdf5 hdri html http httpd hvm hwdb iconv icq icu id3tag ide imagemagick imap inotify introspection ipod ipv6 irda ithreads jadetex java jbig jit john jpeg jpeg2k kate kde kdepim kdrive kerberos keymap kpathsea kvm ladspa lame lapack latex lcms ldap lensfun libffi libgda libkms libnotify libsamplerate lirc live lua lzma lzo mad mail maildir mapnik math matroska media-library mercurial mikmod mkl mmx mmxext mng mod modules mono motif mozilla mp3 mp4 mpeg mpi mpi-threads mplayer mtp multilib multimedia musepack musicbrainz mysql mysqli nautilus ncurses neXt netcdf netpbm network networking nfs nls nntp nptl nsplugin ntfs ntp numpy obex objc ocaml ocr octave odbc ofa ogdi ogg opencl opencv openexr opengl openmp openvg pam pango pcre pda pdf pdl2 perl plasma plotutils plugins png podcast policykit portaudio posix postgres postscript ppds preview-latex proj projectm pstricks pulseaudio python q16 q32 qemu qhull qt3support qt4 qt5 quicktime raw readline reiserfs reports rle romio rpc rrdcgi rrdtool rtlsdr sage samba sasl schroedinger science sdk sdl seccomp secure-delete semantic-desktop server session shout sip slang slp smart smbclient smp sms sndfile snmp soap sockets sound soup sox speex spell sql sqlite sse sse2 ssl startup-notification stlport subtitles subversion sudo suexec svg svm swig systemd szip t1lib tbb tcl tcpd tex tex4ht texmacs theora thesaurus thinkpad threads thunderbird tidy tiff tk tools truetype udev udisks unicode upower usb utempter v4l v4l2 vaapi vala valgrind vdpau video vim-syntax virt-network virtualbox visio vorbis vpx vtk wav wayland webdav webdav-serf webkit wifi wmf wxwidgets x264 xa xattr xcb xetex xft xine xml xmlreader xmlrpc xpm xv xvid xvmc yaml youtube zlib zsh-completion zvbi" ABI_X86="64" ALSA_CARDS="intel8x0" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_core authn_dbm authn_default authn_file authz_core authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgid dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info lbmethod_byrequests log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif slotmem_shm so socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="canon fuji ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog sensors thermal" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="nss" DVB_CARDS="usb-wt220u dvb_usb_rtl28xxu" 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 ublox ubx" INPUT_DEVICES="keyboard mouse evdev synaptics void" KERNEL="linux" LCD_DEVICES="cfontz hd44780 mtxorb ncurses X lcd2usb lcdlinux png usblcd SureElec" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en fr ru" LIRC_DEVICES="devinput" NETBEANS_MODULES="apisupport cnd dlight enterprise ergonomics groovy gsf harness ide identity j2ee java mobility nb php profiler websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="nouveau displaylink" 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: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON root@lynx:/root(44)# emerge -pqv '=sci-geosciences/qgis-2.12.2::gentoo' [ebuild N ] sci-geosciences/qgis-2.12.2 USE="examples gsl postgres python -grass -mapserver {-test}" PYTHON_TARGETS="python2_7"
I got the same error with both versions: 1.8 and 2.12.2 emerge --info Portage 2.2.28 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-4.9.3, glibc-2.22-r4, 4.6.3-gentoo x86_64) ================================================================= System uname: Linux-4.6.3-gentoo-x86_64-Intel-R-_Core-TM-_i7-4700MQ_CPU_@_2.40GHz-with-gentoo-2.2 KiB Mem: 16341576 total, 9726452 free KiB Swap: 8388604 total, 8388604 free Timestamp of repository gentoo: Sun, 03 Jul 2016 08:42:27 +0000 sh bash 4.3_p42-r1 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 app-shells/bash: 4.3_p42-r1::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.20.2::gentoo dev-lang/python: 2.7.10-r1::gentoo, 3.4.3-r1::gentoo, 3.5.0-r1::gentoo dev-util/cmake: 3.3.1-r1::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.19.1::gentoo sys-apps/sandbox: 2.10-r1::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo sys-devel/automake: 1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo sys-devel/binutils: 2.25.1-r1::gentoo sys-devel/gcc: 4.9.3::gentoo sys-devel/gcc-config: 1.7.3::gentoo sys-devel/libtool: 2.4.6::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.6::gentoo (virtual/os-headers) sys-libs/glibc: 2.22-r4::gentoo Repositories: gentoo location: /mnt/dba/portage/tree sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo priority: -1000 arduino-overlay location: /var/lib/portage-overlays/arduino sync-type: git sync-uri: https://github.com/maurerpe/arduino-overlay masters: gentoo grub2-themes location: /var/lib/portage-overlays/grub2-themes sync-type: git sync-uri: https://github.com/gentoo/grub2-themes-overlay.git masters: gentoo java location: /var/lib/portage-overlays/java sync-type: git sync-uri: git://anongit.gentoo.org/proj/java.git masters: gentoo kde location: /var/lib/portage-overlays/kde sync-type: git sync-uri: git://anongit.gentoo.org/proj/kde.git masters: gentoo mkyral location: /usr/local/portage masters: gentoo priority: 0 python location: /var/lib/portage-overlays/python sync-type: git sync-uri: git://anongit.gentoo.org/proj/python.git masters: gentoo seden location: /var/lib/portage-overlays/seden sync-type: git sync-uri: git://anongit.gentoo.org/user/seden.git masters: gentoo sunrise location: /var/lib/portage-overlays/sunrise sync-type: git sync-uri: git://anongit.gentoo.org/proj/sunrise-reviewed.git masters: gentoo ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/mnt/dba/portage/distfiles" EMERGE_DEFAULT_OPTS="--keep-going --with-bdeps=y --backtrack=30" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://gentoo.supp.name/ http://ftp.fi.muni.cz/pub/linux/gentoo/ rsync://ftp.fi.muni.cz/pub/linux/gentoo/ ftp://ftp.fi.muni.cz/pub/linux/gentoo/ http://gentoo.mirror.dkm.cz/pub/gentoo/ ftp://gentoo.mirror.dkm.cz/pub/gentoo/ rsync://gentoo.mirror.dkm.cz/gentoo/ http://gentoo.mirror.web4u.cz/ ftp://gentoo.mirror.web4u.cz/" LANG="cs_CZ.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j9" PKGDIR="/mnt/dba/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac acl acpi alsa amd64 berkdb bindist bluetooth boost branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups curl cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif git glamor gnutls gpm gstreamer gtk3 iconv icu imagemagick ipv6 jpeg kde kipi lcms libnotify mad mmx mmxext mng modules mp3 mp4 mpeg mplayer multilib ncurses nls nptl nsplugin ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds python qml qt3support qt4 qt5 raw readline sdl seccomp semantic-desktop session smp spell sqlite sse sse2 ssl startup-notification subversion svg tcpd thumbnail tiff truetype udev udisks unicode upower usb vorbis widgets wxwidgets x264 xattr xcb xcomposite xinerama xml xpm xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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" 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" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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 ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="cs" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="x86_64 arm" QEMU_USER_TARGETS="x86_64 arm" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="nvidia intel modesetting" 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: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Created attachment 439610 [details] Full build log
I am running into this bug as well. With -j1 the compile error is: e_qgis__core_EXPORTS -DNDEBUG -O2 -pipe -march=core2 -std=c++11 -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-2.12.2/work/qgis-2.12.2_build -I/usr/include/python2.7 -I/usr/include/gdal -I/usr/include/qwt5 -I/var/tmp/portage/sci-geosciences/qgis-2.12.2/work/qgis-2.12.2/src/core/gps/qextserialport -I/usr/include/QtCrypto -I/var/tmp/portage/sci-geosciences/qgis-2.12.2/work/qgis-2.12.2/python/../src/core -I/var/tmp/portage/sci-geosciences/qgis-2.12.2/work/qgis-2.12.2/python/../src/core/auth -I/var/tmp/portage/sci-geosciences/qgis-2.12.2/work/qgis-2.12.2/python/../src/core/pal -I/var/tmp/portage/sci-geosciences/qgis-2.12.2/work/qgis-2.12.2/python/../src/core/composer -I/var/tmp/portage/sci-geosciences/qgis-2.12.2/work/qgis-2.12.2/python/../src/core/diagram -I/var/tmp/portage/sci-geosciences/qgis-2.12.2/work/qgis-2.12.2/python/../src/core/effects -I/var/tmp/portage/sci-geosciences/qgis-2.12.2/work/qgis-2.12.2/python/../src/core/dxf -I/var/tmp/portage/sci-geosciences/qgis-2.12.2/work/qgis-2.12.2/python/../src/core/geometry -I/var/tmp/portage/sci-geosciences/qgis-2.12.2/work/qgis-2.12.2/python/../src/core/gps -I/var/tmp/portage/sci-geosciences/qgis-2.12.2/work/qgis-2.12.2/python/../src/core/layertree -I/var/tmp/portage/sci-geosciences/qgis-2.12.2/work/qgis-2.12.2/python/../src/core/raster -I/var/tmp/portage/sci-geosciences/qgis-2.12.2/work/qgis-2.12.2/python/../src/core/symbology-ng -I/var/tmp/portage/sci-geosciences/qgis-2.12.2/work/qgis-2.12.2/python/../src/gui/raster -I/var/tmp/portage/sci-geosciences/qgis-2.12.2/work/qgis-2.12.2/python/../src/gui/attributetable -I/var/tmp/portage/sci-geosciences/qgis-2.12.2/work/qgis-2.12.2/python/../src/gui/auth -I/var/tmp/portage/sci-geosciences/qgis-2.12.2/work/qgis-2.12.2/python/../src/gui/editorwidgets -I/var/tmp/portage/sci-geosciences/qgis-2.12.2/work/qgis-2.12.2/python/../src/gui/editorwidgets/core -I/var/tmp/portage/sci-geosciences/qgis-2.12.2/work/qgis-2.12.2/python/../src/gui/effects -I/var/tmp/portage/sci-geosciences/qgis-2.12.2/work/qgis-2.12.2/python/../src/gui/layertree -I/var/tmp/portage/sci-geosciences/qgis-2.12.2/work/qgis-2.12.2/python/../src/gui -I/var/tmp/portage/sci-geosciences/qgis-2.12.2/work/qgis-2.12.2/python/../src/gui/symbology-ng -I/var/tmp/portage/sci-geosciences/qgis-2.12.2/work/qgis-2.12.2/python/../src/plugins -I/var/tmp/portage/sci-geosciences/qgis-2.12.2/work/qgis-2.12.2_build/src/gui -I/var/tmp/portage/sci-geosciences/qgis-2.12.2/work/qgis-2.12.2_build/src/ui -I/var/tmp/portage/sci-geosciences/qgis-2.12.2/work/qgis-2.12.2/python/../src/analysis/vector -I/var/tmp/portage/sci-geosciences/qgis-2.12.2/work/qgis-2.12.2/python/../src/analysis/raster -I/var/tmp/portage/sci-geosciences/qgis-2.12.2/work/qgis-2.12.2/python/../src/analysis/network -I/var/tmp/portage/sci-geosciences/qgis-2.12.2/work/qgis-2.12.2/python/../src/analysis/interpolation -I/var/tmp/portage/sci-geosciences/qgis-2.12.2/work/qgis-2.12.2_build/src/analysis/vector -I/var/tmp/portage/sci-geosciences/qgis-2.12.2/work/qgis-2.12.2_build/src/analysis/network -I/var/tmp/portage/sci-geosciences/qgis-2.12.2/work/qgis-2.12.2_build/src/analysis/raster -I/var/tmp/portage/sci-geosciences/qgis-2.12.2/work/qgis-2.12.2_build/src/analysis/interpolation -DCORE_EXPORT= -DGUI_EXPORT= -DPYTHON_EXPORT= -DANALYSIS_EXPORT= -DAPP_EXPORT= -DCUSTOMWIDGETS_EXPORT= -DSERVER_EXPORT= -o CMakeFiles/python_module_qgis__core.dir/core/sip_corepart0.cpp.o -c /var/tmp/portage/sci-geosciences/qgis-2.12.2/work/qgis-2.12.2_build/python/core/sip_corepart0.cpp /var/tmp/portage/sci-geosciences/qgis-2.12.2/work/qgis-2.12.2/python/core/conversions.sip: In function 'int convertTo_QMap_3800_0600QMap_1800_0100QVariant(PyObject*, void**, int*, PyObject*)': /var/tmp/portage/sci-geosciences/qgis-2.12.2/work/qgis-2.12.2/python/core/conversions.sip:735:8: error: request for member 'insert' in 'qm', which is of pointer type 'QMap<long long int, QMap<int, QVariant> >*' (maybe you meant to use '->' ?) qm.insert(k, *t); followed by many compiler warnings. Some sip incompatibility ? localhost ~ # emerge -pqv '=sci-geosciences/qgis-2.12.2::gentoo' [ebuild R ] sci-geosciences/qgis-2.12.2 USE="postgres python -examples -grass -gsl -mapserver {-test}" PYTHON_TARGETS="python2_7" localhost ~ # emerge --info '=sci-geosciences/qgis-2.12.2::gentoo' Portage 2.2.28 (python 2.7.10-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-4.8.5, glibc-2.22-r4, 3.7.10-gentoo-r1 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.7.10-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.2 KiB Mem: 32911148 total, 5989572 free KiB Swap: 33554428 total, 33543992 free Timestamp of repository gentoo: Thu, 14 Jul 2016 19:30:01 +0000 sh bash 4.3_p42-r1 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 app-shells/bash: 4.3_p42-r1::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.20.2::gentoo dev-lang/python: 2.7.10-r1::gentoo, 3.3.5-r3::gentoo, 3.4.3-r1::gentoo dev-util/cmake: 3.3.1-r1::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.19.1::gentoo sys-apps/sandbox: 2.10-r1::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo sys-devel/automake: 1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo sys-devel/binutils: 2.25.1-r1::gentoo sys-devel/gcc: 4.7.3-r1::gentoo, 4.8.5::gentoo, 4.9.3::gentoo sys-devel/gcc-config: 1.7.3::gentoo sys-devel/libtool: 2.4.6::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers) sys-libs/glibc: 2.22-r4::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 rion location: /var/lib/layman/rion masters: gentoo priority: 0 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA dlj-1.1 skype-eula PUEL @EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=core2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /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" CXXFLAGS="-O2 -pipe -march=core2" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://mirrors.med.harvard.edu/gentoo ftp://mirror.datapipe.net/gentoo http://gentoo.mirrors.tds.net/gentoo http://gentoo.cites.uiuc.edu/pub/gentoo/" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j6" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cpudetection cracklib crypt cups cxx dbus declarative dri dts dvd dvdr dvdread emboss encode exif fam firefox flac fortran gd gdbm gif glamor gpm gtk iconv imap ipv6 jpeg kde kipi lcms ldap libnotify mad mjpeg mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nls nptl odbc ogg openconnect opengl openmp pam pango pcre pdf phonon plasma plotutils png policykit postgres ppds python qml qt qt3support qt4 qt5 readline real samba sdl seccomp semantic-desktop session smp spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb v4l v4l2 vorbis widgets wmf wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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" 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" CPU_FLAGS_X86="mmx mmxext sse sse2" 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 ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa fbdev" 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: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON ================================================================= Package Settings ================================================================= sci-geosciences/qgis-2.12.2::gentoo was built with the following: USE="postgres python -examples -grass -gsl -mapserver -test" ABI_X86="64" PYTHON_TARGETS="python2_7"
for workaround see https://bugs.gentoo.org/show_bug.cgi?id=588994
*** Bug 589748 has been marked as a duplicate of this bug. ***
Now it fails for me with: ... /var/tmp/portage/sci-geosciences/qgis-2.12.2/work/qgis-2.12.2_build/python/core/sip_corepart0.cpp:124205:60: warning: ‘virtual QgsExpression* QgsSymbolLayerV2::expression(const QString&) const’ is deprecated [-Wdeprecated-declarations] In file included from /var/tmp/portage/sci-geosciences/qgis-2.12.2/work/qgis-2.12.2/python/../src/core/symbology-ng/qgsvectorcolorrampv2.h:22:0, from /var/tmp/portage/sci-geosciences/qgis-2.12.2/work/qgis-2.12.2/python/core/symbology-ng/qgsvectorcolorrampv2.sip:4: /var/tmp/portage/sci-geosciences/qgis-2.12.2/work/qgis-2.12.2/python/../src/core/symbology-ng/qgssymbollayerv2.h:284:46: note: declared here Q_DECL_DEPRECATED virtual QgsExpression* expression( const QString& property ) const; ^ make[2]: *** [python/CMakeFiles/python_module_qgis__core.dir/build.make:359: python/CMakeFiles/python_module_qgis__core.dir/core/sip_corepart0.cpp.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/sci-geosciences/qgis-2.12.2/work/qgis-2.12.2_build' make[1]: *** [CMakeFiles/Makefile2:3191: python/CMakeFiles/python_module_qgis__core.dir/all] Error 2
(In reply to Andreas Plesch from comment #4) > for workaround see > > https://bugs.gentoo.org/show_bug.cgi?id=588994 The patch given in https://bugs.gentoo.org/show_bug.cgi?id=588994 works for me too.
Thanks for the report. The workaround from bug 588994 is now in tree and we are no longer able to reproduce the reported issue. Please re-open or file a new bug if you still hit this with latest version: > commit e245985388006bcd402c21b41985b34f835f63c7 > Author: Thomas Deutschmann > Date: Wed Aug 17 12:53:39 2016 +0200 > > sci-geosciences/qgis: Bump to v2.14.5 > > - Version bump to new upstream release v2.14.5 (Fixes Gentoo-Bug #581146, > #583784, #588994). > > - Bumped to EAPI=6; This makes multilib eclass unnecessary because > get_libdir is now part of EAPI=6. > > - "oracle" USE flag added (Fixes Gentoo-Bug #585156). > > - Disabling test suite because upstream doesn't allow running from > install path [Link 1] (Closes Gentoo-Bug #499894). > > - Package license updated after upstream clearified its own license > [Link 2]. > > Link 1: https://github.com/qgis/QGIS/blob/final-2_14_5/src/core/qgsapplication.cpp#L374 > Link 2: https://github.com/qgis/QGIS/commit/d5bc39cb8ccc047543d37359ae7fc2d34c89a538 > > Gentoo-Bug: https://bugs.gentoo.org/581146 > Gentoo-Bug: https://bugs.gentoo.org/585156 > Gentoo-Bug: https://bugs.gentoo.org/588994 > Gentoo-Bug: https://bugs.gentoo.org/583784 > Gentoo-Bug: https://bugs.gentoo.org/499894 > > Acked-by: Amy Winston > > Package-Manager: portage-2.3.0 >