Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84366 - octave-forge not fully sandboxed
Summary: octave-forge not fully sandboxed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-06 22:45 UTC by Evgeny Stambulchik
Modified: 2005-03-10 12:13 UTC (History)
0 users

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


Attachments
The log (config.log,8.48 KB, text/plain)
2005-03-09 08:36 UTC, Patrizio Bassi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Evgeny Stambulchik 2005-03-06 22:45:59 UTC
In /usr/share/octave/2.1.57/site/m/octave-forge/graceplot/grace_octave_path.m, I see:

  __pl_grace_octave_path = /local/tmp/portage/octave-forge-2004.02.12/image//usr/share/octave/2.1.57/site/octave-forge-alternatives/m/graceplot";

Needless to say, this breaks the module ;-)

Reproducible: Always
Steps to Reproduce:
Comment 1 Patrick Kursawe (RETIRED) gentoo-dev 2005-03-08 06:49:53 UTC
Found a fix, not yet in portage... maybe tomorrow.
Comment 2 Patrick Kursawe (RETIRED) gentoo-dev 2005-03-09 00:33:42 UTC
Fix for 2004.11.16 is in portage now (-r1). 2004.02 still waiting, will have to use an older gcc to test this.
Comment 3 Patrizio Bassi 2005-03-09 08:34:54 UTC
couldn't compile here


>>> Unpacking source...
>>> Unpacking octave-forge-2004.11.16.tar.gz to /var/tmp/portage/octave-forge-2004.11.16-r1/work
 * Applying 2004.11.16.patch ...                                                                                      [ ok ]
>>> Source unpacked.
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking for mkoctfile... mkoctfile
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lfrtbegin
collect2: ld returned 1 exit status
configure: error: Could not run mkoctfile

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/octave-forge-2004.11.16-r1/work/octave-forge-2004.11.16/config.log

!!! ERROR: sci-mathematics/octave-forge-2004.11.16-r1 failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.  
Comment 4 Patrizio Bassi 2005-03-09 08:36:44 UTC
Created attachment 53018 [details]
The log
Comment 5 Patrick Kursawe (RETIRED) gentoo-dev 2005-03-10 00:34:11 UTC
Most likely a problem with your gcc version. Will upgrade and try.
Comment 6 Patrick Kursawe (RETIRED) gentoo-dev 2005-03-10 04:55:32 UTC
Patrizio, please try

mkoctfile --print FLIBS

If you don't see the paths to your gcc version there, you must recompile octave with the same gcc version you use to compile octave-forge.
Comment 7 Patrick Kursawe (RETIRED) gentoo-dev 2005-03-10 12:13:02 UTC
Tried the old version with the same change to the ebuild (octave-forge-2004.11.16-r1), works as expected. Closing. If there are still problems, just let me know.