Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 466330 - sci-mathematics/octave-3.4.3-r1 - oct-inttypes.h:625:53: error: ‘truncate_int’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
Summary: sci-mathematics/octave-3.4.3-r1 - oct-inttypes.h:625:53: error: ‘truncate_int...
Status: RESOLVED FIXED
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: 2013-04-18 08:35 UTC by M. B.
Modified: 2014-04-15 22:49 UTC (History)
0 users

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


Attachments
octave-3.4.3-r1-build.log (build.log,462.45 KB, text/plain)
2013-04-18 08:35 UTC, M. B.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description M. B. 2013-04-18 08:35:09 UTC
Created attachment 345870 [details]
octave-3.4.3-r1-build.log

Adding the useflag "fftw" triggered a rebuild of octave. It failed with this error. I tried building
- with MAKEOPTS=-j1 FEATURES="-ccache -distcc"
- with USE=-fftw MAKEOPTS=-j1 FEATURES="-ccache -distcc"
but it keeps failing with the exact same error.



# emerge --info
Portage 2.1.11.55 (default/linux/amd64/13.0/desktop, gcc-4.7.2, glibc-2.15-r3, 3.5.7-gentoo x86_64)
=================================================================
System uname: Linux-3.5.7-gentoo-x86_64-AMD_A8-4500M_APU_with_Radeon-tm-_HD_Graphics-with-gentoo-2.1
KiB Mem:     3459516 total,    557960 free
KiB Swap:    8388604 total,   8295408 free
Timestamp of tree: Thu, 18 Apr 2013 01:45:01 +0000
ld GNU ld (GNU Binutils) 2.22
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/ccache:          3.1.9
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6, 1.12.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3, 4.7.2-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo science tbc gentoo-haskell bitcoin qt mine
Installed sets: @myset-fonts, @myset-snort, @myset-xmonad
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=bdver1 -O2 -mfma -mtbm --param l1-cache-size=16 --param l1-cache-line-size=64 --param l2-cache-size=2048 -mtune=bdver1 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /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"
CXXFLAGS="-march=bdver1 -O2 -mfma -mtbm --param l1-cache-size=16 --param l1-cache-line-size=64 --param l2-cache-size=2048 -mtune=bdver1 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=6 --load-average=5"
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 webrsync-gpg"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://mirror.netcologne.de/gentoo/ http://gentoo.supp.name/ http://ftp.fi.muni.cz/pub/linux/gentoo/ http://gentoo.mirror.dkm.cz/pub/gentoo/"
LANG="de"
LC_ALL="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5 --load-average=5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--delete-after"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --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="/usr/portage/local/layman/science /usr/portage/local/layman/tbc /usr/portage/local/layman/haskell /usr/portage/local/layman/bitcoin /usr/portage/local/layman/qt /usr/portage/local/mine"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="256-color 3dnow 3dnowext 64bit X a52 aac aacplus aalib accessibility acl acpi alsa amd64 amr aotuv apng archive assistant autotrace avx bash-completion berkdb blksha1 bluetooth bluray boost branding bzip2 c++0x cairo caps cblas-external cdda cddax cdr cg chappa clamdtop cleartype cli color consolekit corefonts cracklib crypt css cups curl cxx dbus dcc_video dcc_voice declarative device-mapper dga dhcpcd dia dirac disk-partition djvu dlz dri dts dvd dvdr dynamicplugin egl emboss enca encode examples exif faac fam fat fbcon ffmpeg fftw firefox flac focused-urgency font-styles fontconfig foomaticdb fortran fpx frei0r ftp fuse g3dvl gallium gbm gd gdbm geoip ggi gif gimp git gles gles1 gles2 glitz gmail gmp gnutls go gost gpg gphoto2 gpm graphite graphviz gre gs gstreamer gtk gtk2 gudev gui hddtemp hdri help helpers highlight hoogle hpn hwdb hyperestraier iconv icu id3tag idn imap inkjar inotify iostats ipv6 iso14755 jabber jadetex java java6 javascript jbig jingle jpeg jpeg2k keymap kpathsea ladspa laptop latex lcms ldap libass libcaca libkms libnotify libv4l libv4l2 live lm_sensors lock lyrics lzma lzo mad manual matroska mercurial mime minizip mjpeg mmap mmx mmxext mng modules mousewheel mp2 mp3 mp4 mpeg mplayer msn mudflap multilib music mysql ncurses network nls nntp nodrm nptl nsplugin ntfs ntp nut ocr octave offensive offlinehelp ogg okteta openexr opengl openmp openssl openvg optimization otr pam pango passfile pcre pcre16 pdf pdfimport perl php png policykit pop postscript ppds profile python qt3support qt4 qthelp quicktime rar raw readline reiser4 reiserfs rpc rss rtc rtmp samba sasl savedconfig schroedinger script scripts sdl secure-delete session sidebar skins skype smime smp smtp sound speex spell sql sqlite sse sse2 sse3 sse4 sse41 sse4_1 sse4a ssh ssl ssse3 startup-notification stk strong-optimization subtitles subversion svg symlink system-boost system-cxx-headers system-ffmpeg system-jpeg system-sqlite t1lib tables tcpd templates theora threads thunar tidy tiff timezone tor-hardening transparent-proxy trayicon truetype twolame udev udisks unicode unlock-notify upnp upower usb v4l v4l2 vaapi vcd video videos vim-pager vim-syntax vim-with-x vorbis vpx vst wcwidth weather-metar weather-xoap webgl webkit webp wifi winpopup wma wmf wps wxwidgets x264 xanim xcb xcomposite xfce xfs xft xhtml xinerama xml xorg xosd xpfast xpm xpsmall xscreensaver xv xvfb xvid xvmc yahoo zip zlib" ABI_X86="64" ALSA_CARDS="ca0106" 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="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" 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="synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en fr ru" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="radeon" 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, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON
Comment 1 M. B. 2013-04-18 13:33:26 UTC
i just noticed i filed a bug with a similar failure as #465148. now what might it be at my system that causes this exact misbehaviour?
Comment 2 Markus Schöngart 2013-06-01 10:14:12 UTC
I had the same error message. According to an upstream discussion (http://lists.gnu.org/archive/html/octave-bug-tracker/2012-01/msg00054.html), some versions of Octave cannot be compiled using GCC 4.7.
A patch is posted there, too (http://hg.savannah.gnu.org/hgweb/octave/rev/7ffd2a0791ef).
It seems to be included in newer versions of Octave.

I keyworded octave-3.6.4 and that one emerged successfully here.
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2013-06-01 10:48:42 UTC
Does later versions of octave work?
Comment 4 Markus Schöngart 2013-06-01 14:39:43 UTC
Yes, at least 3.6.4 from the official tree works.

Earlier today I tried to emerge octave-3.4.3-r1 (current stable) as the original poster, and it failed with the same error message.

Then I emerged octave-3.6.4 instead, wich I'm currently using together with stable qtoctave, both from official portage tree. Octave-3.6.4 built without hassle. I did not try octave-3.6.3.

I hope that's what you wanted to know :)

Below my emerge --info.

Portage 2.1.11.62 (default/linux/amd64/13.0/desktop/gnome, gcc-4.7.3, glibc-2.15-r3, 3.7.10-gentoo-r1 x86_64)
=================================================================
System uname: Linux-3.7.10-gentoo-r1-x86_64-Intel-R-_Core-TM-_i5-3550_CPU_@_3.30GHz-with-gentoo-2.2
KiB Mem:    16371412 total,   8632160 free
KiB Swap:    2097148 total,   2097148 free
Timestamp of tree: Sat, 01 Jun 2013 09:30:01 +0000
ld GNU ld (GNU Binutils) 2.22
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/ccache:          3.1.9
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
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.7.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo zugaina sabayon seden steam-overlay science
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-11.x Intel-SDP Oracle-BCLA-JavaSE PUEL Q3AEULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-Os -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions"
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.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-Os -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildsyspkg config-protect-if-modified distlocks downgrade-backup ebuild-locks fixlafiles merge-sync news parallel-fetch parallel-install protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --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/zugaina /var/lib/layman/sabayon /var/lib/layman/seden /var/lib/layman/steam /var/lib/layman/science"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apache2 avahi bacula-clientonly bash-completion berkdb bluetooth branding bzip2 c++0x cairo cdda cdr cgi cli collada colord consolekit cracklib crypt cryptsetup cups cxx dbus device-mapper dga djvu dot dri dts dvb dvd dvdr eds emboss encode evo exif fam fastcgi ffmpeg firefox flac fontconfig fortran fuse gd gdbm geoip gif gnome gnome-keyring gnome-online-accounts gnuplot gpm graphviz gsm gssapi gstreamer gtk hbci iconv icu idn imagemagick imap ipv6 jpeg jpeg2k kerberos latex lcms ldap libnotify libsecret lm_sensors logwatch lzma mad maildir mmx mng modules mp3 mp4 mpeg mudflap multilib nautilus ncurses network nls nptl nsplugin ogg openal opencl opengl openmp pam pango pcre pdf png policykit postgres postscript ppds pulseaudio python qt3support qt4 radius readline samba sasl sdl session slp snmp soap socialweb speex spell sqlite sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification static-libs svg tcpd theora tiff truetype udev udisks unicode upower usb v4l vcd vdpau vim-syntax vorbis wxwidgets x264 xattr xcb xcomposite xinetd xml xmlrpc xpm xv xvid 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 ubx" GRUB_PLATFORMS="coreboot pc efi-32 efi-64 emu" INPUT_DEVICES="evdev synaptics wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau intel vesa virtualbox" 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, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 5 Sébastien Fabbro (RETIRED) gentoo-dev 2014-04-15 22:49:13 UTC
gone from the tree and later versions work.