Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 536876 - sci-mathematics/octave-3.8.2 - ../libinterp/.libs/liboctinterp.so: undefined reference to `std::__throw_out_of_range_fmt(char const*, ...)'
Summary: sci-mathematics/octave-3.8.2 - ../libinterp/.libs/liboctinterp.so: undefined ...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-17 17:32 UTC by Aydin Tarik Zengin
Modified: 2017-06-11 21:46 UTC (History)
1 user (show)

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


Attachments
build.log.tar.gz (build.log.tar.gz,93.56 KB, application/x-gzip-compressed-tar)
2015-01-17 17:34 UTC, Aydin Tarik Zengin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aydin Tarik Zengin 2015-01-17 17:32:09 UTC
Currently compiled without "gui".
When USE=gui added it fails as seen in attached build.log

Error :

../libinterp/.libs/liboctinterp.so: undefined reference to `std::__throw_out_of_range_fmt(char const*, ...)'
collect2: error: ld returned 1 exit status
Makefile:2240: recipe for target 'octave-cli' failed
make[2]: *** [octave-cli] Error 1
make[2]: *** Waiting for unfinished jobs....
../libgui/.libs/liboctgui.so: undefined reference to `std::__throw_out_of_range_fmt(char const*, ...)'
/usr/lib64/qt4/libqscintilla2.so: undefined reference to `std::__throw_out_of_range_fmt(char const*, ...)@GLIBCXX_3.4.20'
collect2: error: ld returned 1 exit status
Makefile:2248: recipe for target 'octave-gui' failed
make[2]: *** [octave-gui] Error 1
make[2]: Leaving directory '/var/tmp/portage/sci-mathematics/octave-3.8.2/work/octave-3.8.2/src'
Makefile:2118: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/sci-mathematics/octave-3.8.2/work/octave-3.8.2'
Makefile:1983: recipe for target 'all' failed
make: *** [all] Error 2

Emerge Info:

emerge --info =octave-3.8.2
Portage 2.2.14 (python 2.7.7-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.9.1, glibc-2.19-r1, 3.12.13-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.12.13-gentoo-x86_64-Intel-R-_Core-TM-_i7-4700MQ_CPU_@_2.40GHz-with-gentoo-2.2
KiB Mem:    32721976 total,  27550752 free
KiB Swap:    4194300 total,   4194300 free
Timestamp of tree: Sat, 17 Jan 2015 06:45:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p53
dev-java/java-config:     2.2.0
dev-lang/perl:            5.18.2-r2
dev-lang/python:          2.7.7, 3.2.5-r6, 3.3.5-r1, 3.4.1
dev-util/ccache:          3.1.9-r4
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
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.10.3, 1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.4.7, 4.7.3-r1, 4.8.3, 4.9.1::ROKO__
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo powerman owncloud-client bumblebee ROKO__ sublime-text sunrise dMaggot nextoo x-portage
Installed sets: @steam
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="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask-write y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy 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 userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.linux.org.tr/gentoo/"
LANG="en_US.utf8"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/powerman /var/lib/layman/owncloud-client /var/lib/layman/bumblebee /var/lib/layman/ROKO__ /var/lib/layman/sublime-text /var/lib/layman/sunrise /var/lib/layman/dMaggot /var/lib/layman/nextoo /usr/local/portage"
SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 android berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx daap dbus declarative dri dts dvd dvdr embedded emboss encode exif fam ffmpeg firefox flac fortran gdbm gif git glamor gpm gstreamer gtk iconv infinality jpeg jpeg2k kde kipi lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg mtp multilib multimedia mysql ncurses networkmanager nls nptl nsplugin nvidia ogg opencl opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pyqt4 python qt3support qt4 readline samba sdl semantic-desktop session spell sse sse2 ssl startup-notification svg tcpd threads tiff truetype udev udisks unicode upower usb v4l vorbis webkit wps wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid xvmc zeroconf 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" 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="emu pc" INPUT_DEVICES="keyboard mouse 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 python3_4" QEMU_SOFTMMU_TARGETS="arm" QEMU_USER_TARGETS="arm" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel i915 i965 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"
USE_PYTHON="2.7 3.3"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

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

sci-mathematics/octave-3.8.2 was built with the following:
USE="X curl doc fftw glpk gnuplot imagemagick opengl postscript qhull qrupdate readline sparse zlib -gui -hdf5 -java -jit -static-libs" ABI_X86="64"
Comment 1 Aydin Tarik Zengin 2015-01-17 17:34:47 UTC
Created attachment 394178 [details]
build.log.tar.gz

Compressed since it's more tan 1000KB
Comment 2 Rafał Mużyło 2015-01-18 23:20:25 UTC
> sys-devel/gcc:            4.4.7, 4.7.3-r1, 4.8.3, 4.9.1::ROKO__

What exactly is that last thing ?
Comment 3 Mark Wright gentoo-dev 2015-01-19 00:49:03 UTC
See:
http://forums.gentoo.org/viewtopic-t-1008960.html
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2015-01-19 08:22:45 UTC
Comment on attachment 394178 [details]
build.log.tar.gz

Why did you store a single file in a tar archive?
Comment 5 Aydin Tarik Zengin 2015-01-19 09:58:17 UTC
(In reply to Rafał Mużyło from comment #2)
> > sys-devel/gcc:            4.4.7, 4.7.3-r1, 4.8.3, 4.9.1::ROKO__
> 
> What exactly is that last thing ?

Sorry, I wasn't aware of that.
Not I have the official verison grom ::gentoo.

Following the forum advice I recompiled x11-libs/qscintilla with the gcc-4.9.2
Octave still gives the same error : ../libinterp/.libs/liboctinterp.so: undefined reference to `std::__throw_out_of_range_fmt(char const*, ...)'



emerge --info =octave-3.8.2
Portage 2.2.14 (python 2.7.7-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.9.2, glibc-2.19-r1, 3.12.13-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.12.13-gentoo-x86_64-Intel-R-_Core-TM-_i7-4700MQ_CPU_@_2.40GHz-with-gentoo-2.2
KiB Mem:    32721976 total,  26513560 free
KiB Swap:    4194300 total,   4194300 free
Timestamp of tree: Sun, 18 Jan 2015 20:45:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p53
dev-java/java-config:     2.2.0
dev-lang/perl:            5.18.2-r2
dev-lang/python:          2.7.7, 3.2.5-r6, 3.3.5-r1, 3.4.1
dev-util/ccache:          3.1.9-r4
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.4.7, 4.7.3-r1, 4.8.3, 4.9.2
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo powerman owncloud-client bumblebee ROKO__ sublime-text sunrise dMaggot nextoo kodi-overlay x-portage
Installed sets: @steam
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="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask-write y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy 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 userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.linux.org.tr/gentoo/"
LANG="en_US.utf8"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/powerman /var/lib/layman/owncloud-client /var/lib/layman/bumblebee /var/lib/layman/ROKO__ /var/lib/layman/sublime-text /var/lib/layman/sunrise /var/lib/layman/dMaggot /var/lib/layman/nextoo /var/lib/layman/kodi-overlay /usr/local/portage"
SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 android berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx daap dbus declarative dri dts dvd dvdr embedded emboss encode exif fam ffmpeg firefox flac fortran gdbm gif git glamor gpm gstreamer gtk iconv infinality jpeg jpeg2k kde kipi lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg mtp multilib multimedia mysql ncurses networkmanager nls nptl nsplugin nvidia ogg opencl opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pyqt4 python qt3support qt4 readline samba sdl semantic-desktop session spell sse sse2 ssl startup-notification svg tcpd threads tiff truetype udev udisks unicode upower usb v4l vorbis webkit wps wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid xvmc zeroconf 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" 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="emu pc" INPUT_DEVICES="keyboard mouse 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 python3_4" QEMU_SOFTMMU_TARGETS="arm" QEMU_USER_TARGETS="arm" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel i915 i965 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"
USE_PYTHON="2.7 3.3"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

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

sci-mathematics/octave-3.8.2 was built with the following:
USE="X curl doc fftw glpk gnuplot imagemagick opengl postscript qhull qrupdate readline sparse zlib -gui -hdf5 -java -jit -static-libs" ABI_X86="64"
Comment 6 Rafał Mużyło 2015-01-20 01:37:47 UTC
My point was a bit different.

Given the error, it seems that something got broken on gcc-config or ld.so.conf side - the missing symbol comes from libstdc++.

The overlay was the most likely culprit, but it could come from some other activity on your side.

Rebuild libqscintilla2.so and don't switch gcc version down after you've used it to emerge anything.
Comment 7 David Seifert gentoo-dev 2017-06-11 21:46:04 UTC
Removed from tree, reopen if issue persists.

commit 8fc2192f2c98e1de3f9667d4d968141c6df8d55c
Author: David Seifert <soap@gentoo.org>
Date:   Sun Jun 11 23:02:50 2017 +0200

    sci-mathematics/octave: Remove old