Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 287084 - [science overlay] sci-mathematics/octave-forge-miscellaneous-1.0.7 fails to build
Summary: [science overlay] sci-mathematics/octave-forge-miscellaneous-1.0.7 fails to b...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-30 13:18 UTC by Juergen Rose
Modified: 2010-05-26 17:22 UTC (History)
1 user (show)

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


Attachments
/var/tmp/portage/sci-mathematics/octave-forge-miscellaneous-1.0.9/temp/build.log (build.log,13.20 KB, text/plain)
2009-12-14 12:30 UTC, Juergen Rose
Details
Patch for the listen.cc file (miscellaneous.patch,645 bytes, patch)
2010-05-16 13:15 UTC, Zoltan Puskas
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2009-09-30 13:18:48 UTC
'emerge octave-forge-miscellaneous' fails with:
...
octave-forge is configured with
   octave:      octave (version 3.2.0)
   mkoctfile:   mkoctfile for Octave 0
  have term.h or termcap.h: yes

find . -name NOINSTALL -print    # shows which toolboxes won't be installed

listen.cc:371:59: error: macro "DEFUN_INTERNAL" passed 5 arguments, but takes just 4
listen.cc:406:2: error: macro "DEFUN_INTERNAL" passed 5 arguments, but takes just 4
listen.cc: In function 'void sigchld_handler(int)':
listen.cc:82: error: 'cout' is not a member of 'std'
listen.cc:85: error: 'cout' is not a member of 'std'
...
listen.cc:377: error: expected constructor, destructor, or type conversion before '{' token
make: *** [listen.o] Error 1


Reproducible: Always




root@lynx:/usr/local/portage/app-pda/libopensync-plugin-python(166)# emerge --info
Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.4.1, glibc-2.10.1-r0, 2.6.31-gentoo x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T8300_@_2.40GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 28 Sep 2009 23:00:01 +0000
app-shells/bash:     4.0_p33
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.2-r2, 3.1.1-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O3 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/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 /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
FFLAGS="-march=nocona -O3 -pipe -fomit-frame-pointer"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="de fr"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/n4g /usr/local/portage/layman/dotnet /usr/local/portage/layman/science /usr/local/portage/layman/java-overlay /usr/local/portage/layman/suka /usr/local/portage/layman/zugaina /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac acl acpi administrator afs aiglx alsa amd64 amrr ao aotuv apache2 asf aspell atlas auctex audacious audiofile automount bash-completion beagle berkdb bjam blas bluetooth bonobo boo boost branding bzip2 c++ cairo cardbus cdda cddb cdf cdio cdparanoia cdr cgi chm cli consolekit corba cracklib cran crypt cups curl cxx daap dbus device-mapper dga dia divx djvu dlloader dmi doc dri ds3490 dts dv dvb dvd dvdr dvi dxr3 dynagraph eds effects elf emacs emboss encode epiphany esd evo examples exif expat extra extras fam fame ffmpeg fftw firefox fits flac fltk foomaticdb fortran fpx fuse galago garmin gd gdal gdbm geos gif gimp gimpprint ginac glade glib glitz gml gmp gnokii gnome gnome-keyring gnuplot gnutls gphoto2 gpm graphics graphviz gs gsl gsm gstreamer gtk guile hal hardened harness hddtemp hdf hdf5 hlapi http httpd hvm iconv icq icu id3 ide imagemagick imap innodb ipod ipv6 irda irmc isdnlog ithreads jabber java java5 java6 jbig john jpeg jpeg2k kde kde4 kerberos kexi keyring kvm ladspa lame lapack laptop latex lcms ldap libffi libgda libnotify libsamplerate lirc lua lzo lzw mad maildir mailwrapper math matroska mikmod mmx mmxext mng mod modules mono motif mozdevelop mozilla mozsvg mozxmlterm mp3 mp4 mp4live mpeg mpeg2 mplayer mtp mudflap multilib musicbrainz mysql mysqli nautilus ncurses neXt netcdf netpbm network networkmanager nfs nls nntp nptl nptlonly nsplugin ntfs ntp numarray numeric obex objc ocaml octave odbc ogdi ogg ole openexr opengl openmp pae pam pcre pda pdf perl pipechan plotutils plugins png podcast policykit posix postgres postscript ppds pppd preview-latex proj projectx pstricks pulseaudio python qhull qt3 qt3support qt4 quicktime readline reflection reiserfs rhythmbox rle rpc rrdcgi rrdtool samba sasl science sdl server session slang slp smp sndfile snmp soup sox speex spell spl sql sqlite sse sse2 ssl startup-notification stlport subtitles subversion suexec svg sysfs szip t1lib tcl tcpd tex theora threads thunar thunderbird tidy tiff tk tntc truetype unicode usb userlocales utempter v4l2 vorbis wav webdav webdav-serf webkit wifi wmf wxwidgets x264 xattr xcb xemacs xext xine xml xmlreader xmlrpc xorg xpm xulrunner xv xvid xvmc zlib zvbi" ALSA_CARDS="intel8x0" 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="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" DVB_CARDS="usb-wt220u" ELIBC="glibc" INPUT_DEVICES="keyboard mouse                 synaptics               " KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de fr" NETBEANS_MODULES="ide websvccommon nb harness apisupport groovy gsf j2ee java xml" USERLAND="GNU" VIDEO_CARDS="nv vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Markus Dittrich (RETIRED) gentoo-dev 2009-10-03 04:27:25 UTC
I've bumped octave-forge-miscellaneous to version 1.0.9
which should compile fine. Please reopen if you still
have problems.

cheers,
Markus
Comment 2 Juergen Rose 2009-12-14 12:28:51 UTC
I now have a new issue with octave-forge-miscellaneous-1.0.9. 'emerge octave-forge-miscellaneous' fails with:
...
make: Leaving directory `/var/tmp/portage/sci-mathematics/octave-forge-miscellaneous-1.0.9/temp/oct-wV8GcB/miscellaneous-1.0.9/src'
copyfile /var/tmp/portage/sci-mathematics/octave-forge-miscellaneous-1.0.9/temp/oct-wV8GcB/miscellaneous-1.0.9/src/cell2csv.oct /var/tmp/portage/sci-mathematics/octave-forge-miscellaneous-1.0.9/temp/oct-wV8GcB/miscellaneous-1.0.9/src/csv2cell.oct /var/tmp/portage/sci-mathematics/octave-forge-miscellaneous-1.0.9/temp/oct-wV8GcB/miscellaneous-1.0.9/src/csvconcat.oct /var/tmp/portage/sci-mathematics/octave-forge-miscellaneous-1.0.9/temp/oct-wV8GcB/miscellaneous-1.0.9/src/csvexplode.oct /var/tmp/portage/sci-mathematics/octave-forge-miscellaneous-1.0.9/temp/oct-wV8GcB/miscellaneous-1.0.9/src/hex2num.oct /var/tmp/portage/sci-mathematics/octave-forge-miscellaneous-1.0.9/temp/oct-wV8GcB/miscellaneous-1.0.9/src/waitbar.oct /var/tmp/portage/sci-mathematics/octave-forge-miscellaneous-1.0.9/temp/oct-wV8GcB/miscellaneous-1.0.9/src/xmlread.oct /var/tmp/portage/sci-mathematics/octave-forge-miscellaneous-1.0.9/temp/oct-wV8GcB/miscellaneous-1.0.9/inst/x86_64-pc-linux-gnu-api-v37
warning: load_path: /var/tmp/portage/sci-mathematics/octave-forge-miscellaneous-1.0.9/work/miscellaneous-1.0.9/x86_64-pc-linux-gnu-api-v37: No such file or directory
/var/tmp/portage/sci-mathematics/octave-forge-miscellaneous-1.0.9/work/miscellaneous-1.0.9/x86_64-pc-linux-gnu-api-v37/cell2csv.oct: undefined symbol: _ZN3MPI3Win4FreeEv
error: called from `gen_doc_cache>create_cache' in file /usr/share/octave/3.2.3/m/help/gen_doc_cache.m near line 90, column 17
error: called from:
error:   /usr/share/octave/3.2.3/m/pkg/pkg.m at line 756, column 5
error:   /usr/share/octave/3.2.3/m/pkg/pkg.m at line 287, column 7
error:   /var/tmp/portage/sci-mathematics/octave-forge-miscellaneous-1.0.9/temp/octave-install.V27W5ZlYkt at line 2, column 1
warning: load_path: /var/tmp/portage/sci-mathematics/octave-forge-miscellaneous-1.0.9/work/miscellaneous-1.0.9/x86_64-pc-linux-gnu-api-v37: No such file or directory

 * ERROR: sci-mathematics/octave-forge-miscellaneous-1.0.9 failed:
Comment 3 Juergen Rose 2009-12-14 12:29:08 UTC
root@moose:/root(15)# emerge --info =sci-mathematics/octave-forge-miscellaneous-1.0.9
Portage 2.1.7.14 (default/linux/amd64/10.0/desktop, gcc-4.4.2, glibc-2.11-r1, 2.6.32-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.32-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9650_@_3.00GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 14 Dec 2009 03:00:02 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4, 3.1.1-r1
dev-python/pycrypto: 2.1.0
dev-util/cmake:      2.8.0
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.3
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.64
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/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"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
FFLAGS="-march=nocona -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="C"
LDFLAGS="-Wl,-O1"
LINGUAS="de fr"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/zugaina /usr/local/portage/layman/java-overlay /usr/local/portage/layman/science /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac acl acpi administrator afs alsa amd64 amrr ao aotuv apache2 asf aspell audacious audiofile automount bash-completion beagle berkdb bjam blas bluetooth boo boost branding bzip2 c++ cairo cardbus cdda cddb cdf cdio cdparanoia cdr cgi chm cli consolekit corba cracklib crypt cups curl cxx daap dbus device-mapper dga dia djvu doc dri ds2490 dts dv dvb dvd dvdr dvi dxr3 eds elf emacs emboss encode epiphany evo examples exif expat extra extras fam fame ffmpeg fftw firefox fits flac fltk foomaticdb fortran fpx fts3 fuse galago garmin gd gdal gdbm geolocation geos gif gimp ginac git glade glib glitz gml gmp gnokii gnome gnome-keyring gnuplot gnutls gphoto2 gpm graphics graphviz gs gsl gsm gstreamer gtk guile hal hardened harness hddtemp hdf hdf5 hlapi http httpd hvm iconv icq icu id3 ide imagemagick imap innodb ipod ipv6 irda ithreads jabber jadetex java java5 java6 jbig john jpeg jpeg2k kde kerberos kexi kpathsea kvm ladspa lame lapack laptop latex lcms ldap libffi libgda libnotify libsamplerate lirc lm_sensors lua lzo mad mail maildir mailwrapper math matroska matrox mikmod mmx mmxext mng modules mono motif mozdevelop mozilla mp3 mp4 mpeg mpi mplayer mtp mudflap multilib musicbrainz mysql mysqli nautilus ncurses neXt netcdf netpbm network networking networkmanager nfs nls nntp nptl nptlonly nsplugin ntfs ntp numarray numeric nvidia obex objc ocaml octave odbc ogdi ogg ole openexr opengl openmp pae pam pcre pda pdf perl plotutils plugins png podcast policykit posix postgres postscript ppds pppd preview-latex proj projectx pstricks pulseaudio pymol python qhull qt3support qt4 quicktime readline reflection reiserfs rle romio rpc rrdcgi rrdtool samba sasl science sdl server session slang slp smbclient smp sndfile snmp soup sox speex spell spl sql sqlite sse sse2 ssl startup-notification stlport subtitles subversion suexec svg swig sysfs szip t1lib tcl tcpd tex tex4ht texmacs theora thinkpad threads thunar thunderbird tidy tiff tk tntc tools truetype udev unicode usb userlocales utempter v4l2 virtualbox vorbis wav webdav webdav-serf webkit wifi wmf wxwidgets x264 xattr xcb xemacs xext xine xml xmlreader xmlrpc xorg xpm xulrunner xv xvid xvmc zlib zvbi" ALSA_CARDS="intel8x0" 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="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse                evdev               " KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de fr" NETBEANS_MODULES="ide websvccommon nb harness apisupport groovy gsf j2ee java xml" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 4 Juergen Rose 2009-12-14 12:29:38 UTC
root@moose:/root(16)# emerge -pqv =sci-mathematics/octave-forge-miscellaneous-1.0.9
[ebuild  N    ] sci-mathematics/octave-forge-miscellaneous-1.0.9 
Comment 5 Juergen Rose 2009-12-14 12:30:39 UTC
Created attachment 212997 [details]
/var/tmp/portage/sci-mathematics/octave-forge-miscellaneous-1.0.9/temp/build.log
Comment 6 Juergen Rose 2009-12-14 12:31:34 UTC
Reopen because of new issue.
Comment 7 Juergen Rose 2009-12-14 12:51:15 UTC
If I looking for the content of /var/tmp/portage/sci-mathematics/octave-forge-miscellaneous-1.0.9/work, I find only:

root@moose:/root(24)# ll /var/tmp/portage/sci-mathematics/octave-forge-miscellaneous-1.0.9/work
total 156
-rw-r--r-- 1 root root 155714 Dec 14 13:48 miscellaneous-1.0.9.tar.gz
Comment 8 Juergen Rose 2009-12-16 17:35:30 UTC
I still did some research and found:
- 'emerge octave-forge-miscellaneous-1.0.9' fails on some 64Bit-computers, even
   on those, where it was working at begin of October
- 'emerge octave-forge-miscellaneous-1.0.9' works on 32Bit-computers
- I can't find the temp directory /var/tmp/portage/sci-mathematics/octave-forge-miscellaneous-1.0.9/temp/oct-* , even if I set noclean FEATURE
Comment 9 Markus Dittrich (RETIRED) gentoo-dev 2009-12-18 04:18:09 UTC
(In reply to comment #8)
> I still did some research and found:
> - 'emerge octave-forge-miscellaneous-1.0.9' fails on some 64Bit-computers, even
>    on those, where it was working at begin of October
> - 'emerge octave-forge-miscellaneous-1.0.9' works on 32Bit-computers
> - I can't find the temp directory
> /var/tmp/portage/sci-mathematics/octave-forge-miscellaneous-1.0.9/temp/oct-* ,
> even if I set noclean FEATURE
> 

Works fine on all my amd64 machines. Could you maybe run a revdev-rebuild
and perhaps re-emerge octave and then try again.

Thanks,
Markus

Comment 10 Zoltan Puskas 2010-05-16 13:15:03 UTC
Created attachment 231667 [details, diff]
Patch for the listen.cc file

This fixes the problem for me on amd64 for octave-forge-miscellaneous-1.0.7.
Comment 11 Sébastien Fabbro (RETIRED) gentoo-dev 2010-05-26 17:22:19 UTC
1.0.7 gone and 1.0.9 should fix it.