Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 652232 - sci-geosciences/qmapshack-1.11.0 - .../work/qmapshack-1.11.0/src/qmapshack/dem/IDem.h:50:37: error: ‘IDrawContext::buffer_t’ has not been declared
Summary: sci-geosciences/qmapshack-1.11.0 - .../work/qmapshack-1.11.0/src/qmapshack/de...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Andrey Grozin
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-02 18:49 UTC by ad PC
Modified: 2018-04-28 16:12 UTC (History)
4 users (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 ad PC 2018-04-02 18:49:34 UTC
[100%] Building CXX object src/qmapshack/CMakeFiles/qmapshack.dir/qmapshack_autogen/mocs_compilation.cpp.o
cd /var/tmp/portage/sci-geosciences/qmapshack-1.11.0/work/qmapshack-1.11.0_build/src/qmapshack && /usr/bin/x86_64-pc-linux-gnu-g++ -DAPPLICATION_NAME=QMapShack -DHAVE_DBUS -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SCRIPT_LIB -DQT_SQL_LIB -DQT_UITOOLS_LIB -DQT_WEBKITWIDGETS_LIB -DQT_WEBKIT_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -DROUTINO_XML_PATH=/usr/share/routino -DVER_MAJOR=1 -DVER_MINOR=11 -DVER_STEP=0 -DVER_TWEAK="" -I/var/tmp/portage/sci-geosciences/qmapshack-1.11.0/work/qmapshack-1.11.0_build/src/qmapshack -I/var/tmp/portage/sci-geosciences/qmapshack-1.11.0/work/qmapshack-1.11.0/src/qmapshack -I/var/tmp/portage/sci-geosciences/qmapshack-1.11.0/work/qmapshack-1.11.0_build/src/qmapshack/qmapshack_autogen/include -isystem /var/tmp/portage/sci-geosciences/qmapshack-1.11.0/work/qmapshack-1.11.0_build -isystem /var/tmp/portage/sci-geosciences/qmapshack-1.11.0/work/qmapshack-1.11.0/src/qmapshack/IF -isystem "/var/tmp/portage/sci-geosciences/qmapshack-1.11.0/work/qmapshack-1.11.0/src/qmapshack/(" -isystem /var/tmp/portage/sci-geosciences/qmapshack-1.11.0/work/qmapshack-1.11.0/src/qmapshack/WIN32 -isystem "/var/tmp/portage/sci-geosciences/qmapshack-1.11.0/work/qmapshack-1.11.0/src/qmapshack/)" -isystem /var/tmp/portage/sci-geosciences/qmapshack-1.11.0/work/qmapshack-1.11.0/src/qmapshack/ENDIF -isystem /usr/include/gdal -isystem /usr/include/quazip5 -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtScript -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtWebKitWidgets -isystem /usr/include/qt5/QtWebKit -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtUiTools -isystem /usr/include/qt5/QtDBus   -DNDEBUG -march=native -O2 -pipe -std=c++11 -lstdc++ -lm -Wsuggest-override -Woverloaded-virtual   -fPIC -Wall -Wpedantic -Wno-switch -Wno-strict-aliasing -fPIC -std=gnu++11 -o CMakeFiles/qmapshack.dir/qmapshack_autogen/mocs_compilation.cpp.o -c /var/tmp/portage/sci-geosciences/qmapshack-1.11.0/work/qmapshack-1.11.0_build/src/qmapshack/qmapshack_autogen/mocs_compilation.cpp
In file included from /var/tmp/portage/sci-geosciences/qmapshack-1.11.0/work/qmapshack-1.11.0_build/src/qmapshack/qmapshack_autogen/G2GOEHWAFX/../../../../../qmapshack-1.11.0/src/qmapshack/dem/CDemVRT.h:22:0,
                 from /var/tmp/portage/sci-geosciences/qmapshack-1.11.0/work/qmapshack-1.11.0_build/src/qmapshack/qmapshack_autogen/G2GOEHWAFX/moc_CDemVRT.cpp:9,
                 from /var/tmp/portage/sci-geosciences/qmapshack-1.11.0/work/qmapshack-1.11.0_build/src/qmapshack/qmapshack_autogen/mocs_compilation.cpp:23:
/var/tmp/portage/sci-geosciences/qmapshack-1.11.0/work/qmapshack-1.11.0/src/qmapshack/dem/IDem.h:50:37: error: ‘IDrawContext::buffer_t’ has not been declared
     virtual void draw(IDrawContext::buffer_t& buf) = 0;
                                     ^~~~~~~~
In file included from /var/tmp/portage/sci-geosciences/qmapshack-1.11.0/work/qmapshack-1.11.0_build/src/qmapshack/qmapshack_autogen/G2GOEHWAFX/moc_CDemVRT.cpp:9:0,
                 from /var/tmp/portage/sci-geosciences/qmapshack-1.11.0/work/qmapshack-1.11.0_build/src/qmapshack/qmapshack_autogen/mocs_compilation.cpp:23:
/var/tmp/portage/sci-geosciences/qmapshack-1.11.0/work/qmapshack-1.11.0_build/src/qmapshack/qmapshack_autogen/G2GOEHWAFX/../../../../../qmapshack-1.11.0/src/qmapshack/dem/CDemVRT.h:36:29: error: ‘IDrawContext::buffer_t’ has not been declared
     void draw(IDrawContext::buffer_t& buf) override;
                             ^~~~~~~~
make[2]: *** [src/qmapshack/CMakeFiles/qmapshack.dir/build.make:4742: src/qmapshack/CMakeFiles/qmapshack.dir/qmapshack_autogen/mocs_compilation.cpp.o] Error 1
make[2]: Leaving directory '/var/tmp/portage/sci-geosciences/qmapshack-1.11.0/work/qmapshack-1.11.0_build'
make[1]: *** [CMakeFiles/Makefile2:119: src/qmapshack/CMakeFiles/qmapshack.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/sci-geosciences/qmapshack-1.11.0/work/qmapshack-1.11.0_build'
make: *** [Makefile:152: all] Error 2
 * ERROR: sci-geosciences/qmapshack-1.11.0::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=sci-geosciences/qmapshack-1.11.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sci-geosciences/qmapshack-1.11.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sci-geosciences/qmapshack-1.11.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sci-geosciences/qmapshack-1.11.0/temp/environment'.
 * Working directory: '/var/tmp/portage/sci-geosciences/qmapshack-1.11.0/work/qmapshack-1.11.0_build'
 * S: '/var/tmp/portage/sci-geosciences/qmapshack-1.11.0/work/qmapshack-1.11.0'
Comment 1 Martin Mokrejš 2018-04-17 12:49:16 UTC
Same here:

# emerge --info '=sci-geosciences/qmapshack-1.11.0::gentoo'
Portage 2.3.28 (python 2.7.14-final-0, default/linux/amd64/17.0, gcc-7.3.0, glibc-2.26-r6, 4.16.2-default-pciehp x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.16.2-default-pciehp-x86_64-Intel-R-_Core-TM-_i7-2640M_CPU_@_2.80GHz-with-gentoo-2.4.1
KiB Mem:    16366208 total,   5532200 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Mon, 16 Apr 2018 21:00:01 +0000
Head commit of repository gentoo: fc8004071660fd512a27411d69e07294d67c478c
sh bash 4.4_p19
ld GNU ld (Gentoo 2.30 p1) 2.30.0
app-shells/bash:          4.4_p19::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.9999::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.6-r1::gentoo, 3.5.5::gentoo, 3.6.4::gentoo
dev-util/cmake:           3.11.0::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.35.5::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.12.6-r1::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15.1-r1::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.30-r1::gentoo
sys-devel/gcc:            4.3.6-r1::gentoo, 4.4.7::gentoo, 4.6.4::gentoo, 4.7.4::gentoo, 4.9.4::gentoo, 5.4.0-r3::gentoo, 6.3.0::gentoo, 7.3.0-r1::gentoo
sys-devel/gcc-config:     1.9.1::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r3::gentoo
sys-kernel/linux-headers: 4.16-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r6::gentoo
Repositories:

gentoo
    location: /scratch/usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24

science
    location: /scratch/mmokrejs/proj/sci
    masters: gentoo
    priority: 0

layman
    location: /var/lib/layman
    masters: gentoo
    priority: 1

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 2

haskell
    location: /var/lib/layman/haskell
    masters: gentoo
    priority: 50

vmware
    location: /var/lib/layman/vmware
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 sun-bcla-java-vm Oracle-BCLA-JavaSE IBM-J1.6 skype-eula Nero-EULA-US AdobeFlash-10.3 skype-4.0.0.7-copyright AdobeFlash-11.x OPERA-2014 RAR Intel-SDP"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -mpclmul -mpopcnt -march=native -ftree-vectorize"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.2/conf /usr/share/maven-bin-3.3/conf /var/bind /var/lib/hsqldb /var/spool/torque"
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/apache2-php7.1/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.1/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 -pipe -mpclmul -mpopcnt -march=native -ftree-vectorize"
DISTDIR="/scratch/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news nostrip 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.wheel.sk/ http://ftp.fi.muni.cz/pub/linux/gentoo/ http://gentoo.mirror.web4u.cz/ rsync://gentoo.mirror.dkm.cz/gentoo/ ftp://gentoo.mirror.web4u.cz/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_US en_GB en cs"
MAKEOPTS="-j2"
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="/scratch/var/tmp"
USE="R X acpi alsa amd64 amr apache apache2 asm avx berkdb bluetooth boost bzip2 cairo cgi cli coin consolekit cracklib crypt cryptlib cryptsetup cups cxx dbus device-mapper dhcp directfb dri drm dvd emboss encode fax fbcon ffmpeg flac fontconfig fortran fuse gbm gcrypt gd gdbm geoip geolocation gimp glpk gmp gnutls gpm gps gtk hal hpijs hwdb iconv id3tag imaging innodb inotify java javafx javascript jce jpeg jpg js jscript keymap ladspa lame lapack laptop lcms libnotify lm_sensors mad matroska mmx modemmanager modules mp3 multicore multilib multimedia mysql ncurses networkmanager nfs nls nptl nptlonly nscd ntfs ntfsdecrypt ntfsprogs objc ocr ogg opengl openmp pam parport pcre pcre16 pdf pdfimport pdl perl php pkcs11 plplot png policykit polkit postproc postscript ppds ppp pppd pptx python qt3support qt4 qt5 readline rendering resolvconf samba scanner sctp seccomp server session sha512 slideshow sna sndfile sparsehash sqlite sse sse2 sse3 sse4_1 sse4_2 ssh ssh-agent ssl sslv2 sslv3 ssse3 startup-notification suexec svg syslog tcl tcpd threads tiff tk truetype twolame udev unicode upower usb v4l v4l2 vim-syntax vnc wavpack wifi x11 xattr xcb xml xorg xrandr xv xvid xvmc zlib" ABI_X86="64 32" 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="alias authz_host auth_basic auth_digest cgi cgid deflate dir env filter include info mem_cache mime mime_magic negotiation remoteip setenvif status userdir vhost_alias rewrite usertrack cache file_cache disk_cache charset_lite log_config log_forensic" CALLIGRA_FEATURES="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="aivdm ashtech earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 navcom ntrip oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tnt tripmate tsip ublox fury geostar nmea0183 nmea2000 passthrough" GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" L10N="en-US en en-GB cs" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby20 ruby21 ruby23 ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="vesa vmware fbdev intel i915 i965" 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, ENV_UNSET, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Andrey Grozin gentoo-dev 2018-04-23 04:21:28 UTC
I've successfully emerged qmapshack-1.11.0 on 2018-03-19 (and I still use this installed version often). But now I have the same problem trying to recompile it. Of course, there were hundreds upgrades between 2018-03-19 and now, and I don't know which one is the cause of the problem. But nearly all of them look absolutely irrelevant. The only upgrade which seems likely to cause breakage of a Qt program is the upgrade of Qt from 5.9.4 to 5.9.5 (and far less likely suspects: upgrade of cmake from 3.10.2 to 3.11.1 and of gcc from 7.3.0 to 7.3.0-r1).
Comment 3 markus 2018-04-28 08:26:51 UTC
qmapshack 1.11.1 works for me; please revbump; ty
Comment 4 Larry the Git Cow gentoo-dev 2018-04-28 16:12:23 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae807a1492593e012fe65e8a76d02f7a7b6e0ff9

commit ae807a1492593e012fe65e8a76d02f7a7b6e0ff9
Author:     Andrey Grozin <grozin@gentoo.org>
AuthorDate: 2018-04-28 16:11:50 +0000
Commit:     Andrey Grozin <grozin@gentoo.org>
CommitDate: 2018-04-28 16:11:50 +0000

    sci-geosciences/qmapshack: bump to 1.11.1
    
    Closes: https://bugs.gentoo.org/652232
    Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sci-geosciences/qmapshack/Manifest                |  1 +
 sci-geosciences/qmapshack/qmapshack-1.11.1.ebuild | 40 +++++++++++++++++++++++
 2 files changed, 41 insertions(+)