Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 503418 - sci-libs/plplot-5.10.0 USE=octave - .../work/plplot-5.10.0_build/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:1518:24: error: invalid covariant return type for ‘virtual Octave_map octave_swig_type::map_value() const’
Summary: sci-libs/plplot-5.10.0 USE=octave - .../work/plplot-5.10.0_build/bindings/oct...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-04 15:01 UTC by disperato
Modified: 2014-03-27 04:33 UTC (History)
0 users

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


Attachments
sci-libs:plplot-5.10.0:20140304-145600.log (sci-libs:plplot-5.10.0:20140304-145600.log,147.14 KB, text/plain)
2014-03-04 16:45 UTC, disperato
Details

Note You need to log in before you can comment on or make changes to this bug.
Description disperato 2014-03-04 15:01:58 UTC
plplot-5.10.0 compiles normally if use "octave" is not set.
It does not emerge when use "octave" is set (for it only, not globally). The significant part of log is:

[ 29%] Building CXX object bindings/octave/CMakeFiles/plplot_octave.dir/plplot_octaveOCTAVE_wrap.cxx.o
cd /hugetmp/portage/portage/sci-libs/plplot-5.10.0/work/plplot-5.10.0_build/bindings/octave && /usr/lib64/ccache/bin/c++   -DHAVE_CONFIG_H -Dplplot_octave_EXPORTS -march=native -O2 -pipe  -fPIC -I/hugetmp/portage/portage/sci-libs/plplot-5.10.0/work/plplot-5.10.0/include -I/hugetmp/portage/portage/sci-libs/plplot-5.10.0/work/plplot-5.10.0/lib/qsastime -I/hugetmp/portage/portage/sci-libs/plplot-5.10.0/work/plplot-5.10.0_build -I/hugetmp/portage/portage/sci-libs/plplot-5.10.0/work/plplot-5.10.0_build/include -I/hugetmp/portage/portage/sci-libs/plplot-5.10.0/work/plplot-5.10.0_build/bindings/octave -I/usr/include/octave-3.8.1-rc4 -I/usr/include/octave-3.8.1-rc4/octave -I/hugetmp/portage/portage/sci-libs/plplot-5.10.0/work/plplot-5.10.0/bindings/swig-support    -o CMakeFiles/plplot_octave.dir/plplot_octaveOCTAVE_wrap.cxx.o -c /hugetmp/portage/portage/sci-libs/plplot-5.10.0/work/plplot-5.10.0_build/bindings/octave/plplot_octaveOCTAVE_wrap.cxx
/hugetmp/portage/portage/sci-libs/plplot-5.10.0/work/plplot-5.10.0_build/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:1518:36: warning: ‘Octave_map’ is deprecated (declared at /usr/include/octave-3.8.1-rc4/octave/oct-map.h:484) [-Wdeprecated-declarations]
/hugetmp/portage/portage/sci-libs/plplot-5.10.0/work/plplot-5.10.0_build/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:1518:24: error: invalid covariant return type for ‘virtual Octave_map octave_swig_type::map_value() const’
In file included from /usr/include/octave-3.8.1-rc4/octave/ov.h:58:0,
                 from /usr/include/octave-3.8.1-rc4/octave/oct-obj.h:34,
                 from /usr/include/octave-3.8.1-rc4/octave/ov-fcn.h:32,
                 from /usr/include/octave-3.8.1-rc4/octave/ov-builtin.h:28,
                 from /usr/include/octave-3.8.1-rc4/octave/defun-int.h:28,
                 from /usr/include/octave-3.8.1-rc4/octave/defun-dld.h:30,
                 from /usr/include/octave-3.8.1-rc4/octave/oct.h:36,
                 from /hugetmp/portage/portage/sci-libs/plplot-5.10.0/work/plplot-5.10.0_build/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:154:
/usr/include/octave-3.8.1-rc4/octave/ov-base.h:568:22: error:   overriding ‘virtual octave_map octave_base_value::map_value() const’
/hugetmp/portage/portage/sci-libs/plplot-5.10.0/work/plplot-5.10.0_build/bindings/octave/plplot_octaveOCTAVE_wrap.cxx: In member function ‘virtual dim_vector octave_swig_type::dims() const’:
/hugetmp/portage/portage/sci-libs/plplot-5.10.0/work/plplot-5.10.0_build/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:1194:46: error: ‘class octave_value’ has no member named ‘is_real_nd_array’
/hugetmp/portage/portage/sci-libs/plplot-5.10.0/work/plplot-5.10.0_build/bindings/octave/plplot_octaveOCTAVE_wrap.cxx: At global scope:
/hugetmp/portage/portage/sci-libs/plplot-5.10.0/work/plplot-5.10.0_build/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:1753:36: warning: ‘Octave_map’ is deprecated (declared at /usr/include/octave-3.8.1-rc4/octave/oct-map.h:484) [-Wdeprecated-declarations]
/hugetmp/portage/portage/sci-libs/plplot-5.10.0/work/plplot-5.10.0_build/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:1753:24: error: invalid covariant return type for ‘virtual Octave_map octave_swig_ref::map_value() const’
In file included from /usr/include/octave-3.8.1-rc4/octave/ov.h:58:0,
                 from /usr/include/octave-3.8.1-rc4/octave/oct-obj.h:34,
                 from /usr/include/octave-3.8.1-rc4/octave/ov-fcn.h:32,
                 from /usr/include/octave-3.8.1-rc4/octave/ov-builtin.h:28,
                 from /usr/include/octave-3.8.1-rc4/octave/defun-int.h:28,
                 from /usr/include/octave-3.8.1-rc4/octave/defun-dld.h:30,
                 from /usr/include/octave-3.8.1-rc4/octave/oct.h:36,
                 from /hugetmp/portage/portage/sci-libs/plplot-5.10.0/work/plplot-5.10.0_build/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:154:
/usr/include/octave-3.8.1-rc4/octave/ov-base.h:568:22: error:   overriding ‘virtual octave_map octave_base_value::map_value() const’
/hugetmp/portage/portage/sci-libs/plplot-5.10.0/work/plplot-5.10.0_build/bindings/octave/plplot_octaveOCTAVE_wrap.cxx: In function ‘void SWIG_Octave_LinkGlobalValue(std::string)’:
/hugetmp/portage/portage/sci-libs/plplot-5.10.0/work/plplot-5.10.0_build/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:2072:28: warning: ‘static octave_value& symbol_table::varref(const string&, symbol_table::scope_id, symbol_table::context_id, bool)’ is deprecated (declared at /usr/include/octave-3.8.1-rc4/octave/symtab.h:1322) [-Wdeprecated-declarations]
/hugetmp/portage/portage/sci-libs/plplot-5.10.0/work/plplot-5.10.0_build/bindings/octave/plplot_octaveOCTAVE_wrap.cxx: In function ‘octave_value_list _wrap_plGetCursor(const octave_value_list&, int)’:
/hugetmp/portage/portage/sci-libs/plplot-5.10.0/work/plplot-5.10.0_build/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:8417:60: warning: ‘octave_value::octave_value(const charMatrix&, bool, char)’ is deprecated (declared at /usr/include/octave-3.8.1-rc4/octave/ov.h:242) [-Wdeprecated-declarations]
/hugetmp/portage/portage/sci-libs/plplot-5.10.0/work/plplot-5.10.0_build/bindings/octave/plplot_octaveOCTAVE_wrap.cxx: In function ‘octave_value_list _wrap_plgdev(const octave_value_list&, int)’:
/hugetmp/portage/portage/sci-libs/plplot-5.10.0/work/plplot-5.10.0_build/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:14818:60: warning: ‘octave_value::octave_value(const charMatrix&, bool, char)’ is deprecated (declared at /usr/include/octave-3.8.1-rc4/octave/ov.h:242) [-Wdeprecated-declarations]
/hugetmp/portage/portage/sci-libs/plplot-5.10.0/work/plplot-5.10.0_build/bindings/octave/plplot_octaveOCTAVE_wrap.cxx: In function ‘octave_value_list _wrap_plgfnam(const octave_value_list&, int)’:
/hugetmp/portage/portage/sci-libs/plplot-5.10.0/work/plplot-5.10.0_build/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:15058:60: warning: ‘octave_value::octave_value(const charMatrix&, bool, char)’ is deprecated (declared at /usr/include/octave-3.8.1-rc4/octave/ov.h:242) [-Wdeprecated-declarations]
/hugetmp/portage/portage/sci-libs/plplot-5.10.0/work/plplot-5.10.0_build/bindings/octave/plplot_octaveOCTAVE_wrap.cxx: In function ‘octave_value_list _wrap_plgver(const octave_value_list&, int)’:
/hugetmp/portage/portage/sci-libs/plplot-5.10.0/work/plplot-5.10.0_build/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:15334:60: warning: ‘octave_value::octave_value(const charMatrix&, bool, char)’ is deprecated (declared at /usr/include/octave-3.8.1-rc4/octave/ov.h:242) [-Wdeprecated-declarations]
/hugetmp/portage/portage/sci-libs/plplot-5.10.0/work/plplot-5.10.0_build/bindings/octave/plplot_octaveOCTAVE_wrap.cxx: In function ‘bool SWIG_Octave_LoadModule(std::string)’:
/hugetmp/portage/portage/sci-libs/plplot-5.10.0/work/plplot-5.10.0_build/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:21051:5: error: ‘begin_frame’ is not a member of ‘unwind_protect’
/hugetmp/portage/portage/sci-libs/plplot-5.10.0/work/plplot-5.10.0_build/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:21052:35: error: ‘unwind_protect_int’ was not declared in this scope
/hugetmp/portage/portage/sci-libs/plplot-5.10.0/work/plplot-5.10.0_build/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:21054:47: error: ‘unwind_protect_bool’ was not declared in this scope
/hugetmp/portage/portage/sci-libs/plplot-5.10.0/work/plplot-5.10.0_build/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:21070:5: error: ‘run_frame’ is not a member of ‘unwind_protect’
/hugetmp/portage/portage/sci-libs/plplot-5.10.0/work/plplot-5.10.0_build/bindings/octave/plplot_octaveOCTAVE_wrap.cxx: In function ‘bool SWIG_Octave_InstallFunction(octave_function*, std::string)’:
/hugetmp/portage/portage/sci-libs/plplot-5.10.0/work/plplot-5.10.0_build/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:21083:5: error: ‘begin_frame’ is not a member of ‘unwind_protect’
/hugetmp/portage/portage/sci-libs/plplot-5.10.0/work/plplot-5.10.0_build/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:21084:35: error: ‘unwind_protect_int’ was not declared in this scope
/hugetmp/portage/portage/sci-libs/plplot-5.10.0/work/plplot-5.10.0_build/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:21086:47: error: ‘unwind_protect_bool’ was not declared in this scope
/hugetmp/portage/portage/sci-libs/plplot-5.10.0/work/plplot-5.10.0_build/bindings/octave/plplot_octaveOCTAVE_wrap.cxx:21106:5: error: ‘run_frame’ is not a member of ‘unwind_protect’
make[2]: *** [bindings/octave/CMakeFiles/plplot_octave.dir/plplot_octaveOCTAVE_wrap.cxx.o] Error 1
make[2]: Leaving directory `/hugetmp/portage/portage/sci-libs/plplot-5.10.0/work/plplot-5.10.0_build'
make[1]: *** [bindings/octave/CMakeFiles/plplot_octave.dir/all] Error 2
make[1]: Leaving directory `/hugetmp/portage/portage/sci-libs/plplot-5.10.0/work/plplot-5.10.0_build'
make: *** [all] Error 2
Comment 1 disperato 2014-03-04 15:03:15 UTC
emerge --info =plplot-5.10.0

Portage 2.2.7 (default/linux/amd64/13.0, gcc-4.7.3, glibc-2.17, 3.12.12-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.12.12-gentoo-x86_64-Intel-R-_Core-TM-_i7-4702MQ_CPU_@_2.20GHz-with-gentoo-2.2
KiB Mem:    16357512 total,  13945720 free
KiB Swap:     260092 total,    260092 free
Timestamp of tree: Mon, 03 Mar 2014 23:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.5-r3, 3.3.3
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.11.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo science java myebs
Installed sets: @system
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/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.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/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="/sync/gentoo/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://156.56.247.195 http://distfiles.gentoo.org http://152.46.7.80/pub/Linux/distributions/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_GB.UTF-8"
LC_ALL="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,now -Wl,--hash-style=gnu"
MAKEOPTS="-j1"
PKGDIR="/sync/gentoo/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes --timeout=23"
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"
PORTAGE_TMPDIR="/hugetmp/portage"
PORTDIR="/sync/portage"
PORTDIR_OVERLAY="/var/lib/layman/science /var/lib/layman/java /sync/gentoo/myebs"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 apache2 apm aspell audiofile avi bash-completion bcmath berkdb bitmap-fonts bmp bzip2 bzip2cairo caps cdparanoia cdr cli clibpdf consolekit cracklib crypt cscope ctype cuda cups cxx dbus dbx diet dillo dio directfb divx4linux dri dv dvb dvd dvdr dvdread emul-linux-86 encode examples exif expat f90 f95 fam fbcon ffmpeg fftw flac flash foomaticdb fortran fortran90 fortran95 g95 gcj gd gdbm geforce gfortran ggi gif ginac glut glx gmp gnutls gphoto2 gpl gpm gsl gstreamer gtk gtkhtml guile hal handbook hardened hardenedphp hdf5 hdtemp headphones html2ps iconv ieee1394 imlib inifile innodb ipv6 itls jabber jack jikes jpeg junit ladcca lcms ldap libcaca libnotify libwww lm_sensors m17n-lib mad man mhash mikmod mime ming mjpeg mmx mng modules motif mp3 mpeg mplayer msession multilib mysql mysqli ncurses netcdf nforce nls nptl nsplugin nvidia nvidia-glx objc ofx ogg openal opengl openmp osc pam pcre pdflib perl php plotutils png policykit portaudio ppds pthreads python qdbm qt qt3support qt4 quicktime radius readline ruby samba scanner sdl session sharedext shorten simplexml slp smu sndfile speex spell spl sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 svg szip tcltk tcp tcpd tetex theora threads tidy tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb vcd videos vim-syntax vorbis wddx wifi win32codecs wireless wmf xfce xfce4 xft xine xml xmlrpc xmms xosd xpm xscreensaver xsl xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="access auth auth_dbm auth_anon authn_core auth_digest authz_core authz_host alias file-cache echo charset-lite cache disk-cache mem-cache ext-filter case_filter case-filter-in deflate filter mime-magic cern-meta expires headers usertrack unique_id proxy proxy-connect proxy-ftp proxy-http info include cgi dav dav-fs vhost-alias speling rewrite log_config logio env setenvif mime status autoindex asis negotiation dir imap actions unixd userdir so socache_shmcb" 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 ublox ubx" INPUT_DEVICES="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_3" RUBY_TARGETS="ruby19 ruby18" SANE_BACKENDS="epson epson2 canon canon630u canon_dr canon_pp" USERLAND="GNU" VIDEO_CARDS="intel nvidia i915 vesa modesetting nouveau" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

sci-libs/plplot-5.10.0 was built with the following:
USE="X cxx doc dynamic examples fortran gd java jpeg latex ocaml pdf png python qt4 svg threads truetype -ada -cairo -lua -octave -pdl -qhull -shapefile -tcl -test -tk -wxwidgets" PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6"
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-03-04 15:29:02 UTC
1) Please attach the entire build log to this bug report.
2) Please post your `emerge -vpq sci-mathematics/octave' output in a comment.
Comment 3 disperato 2014-03-04 16:45:41 UTC
Created attachment 371720 [details]
sci-libs:plplot-5.10.0:20140304-145600.log

# emerge -vpq sci-mathematics/octave
[ebuild   R   ] sci-mathematics/octave-3.8.1_rc4-r1  USE="X doc fftw glpk gnuplot gui hdf5 imagemagick opengl postscript qhull qrupdate readline sparse zlib -curl -java -jit -static-libs"
Comment 4 disperato 2014-03-25 09:40:42 UTC
UPDATE:
this problem might be related to swig versions/bugs?
I'm using a mixed environment from stable amd64 branch (basically the entire @system and 90% of @world) and unstable (~amd64).

The bug issued arised from the following set:
swig-2.0.9
octave-3.8.1 (tried all 3.8* versions currently in portage)
plplot-5.10.0 (tried all 5.9.* versions currently in portage)

This way plplot failed to emerge whit the octave use flag set, either with gcc-4.7.3, or gcc-4.8.2

Then I set the ~amd64 keyword for swig, so allowing swig-2.0.12 to be emerged.
Currently I have successfully merged:
swig-2.0.12
octave-3.8.1
plplot-5.10.0 (use flag octave set, of course)
Comment 5 Sébastien Fabbro (RETIRED) gentoo-dev 2014-03-27 04:33:04 UTC
+  27 Mar 2014; Sébastien Fabbro <bicatali@gentoo.org> plplot-5.10.0.ebuild:
+  Bump minimum swig version for octave bindings, thanks disperato bug #503418.
+  Adjust library depedencies
+