Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 672836 - sci-mathematics/octave-4.4.1 - ./liboctave/array/MSparse.cc: In function 'MSparse<T> quotient(const MSparse<T>&, const MSparse<T>&) [with T = std::complex<double>]': ./liboctave/array/MSparse.cc:478:1: internal compiler error: Aborted
Summary: sci-mathematics/octave-4.4.1 - ./liboctave/array/MSparse.cc: In function 'MSp...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-09 19:20 UTC by Max Kresch
Modified: 2018-12-25 02:05 UTC (History)
1 user (show)

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


Attachments
Output from "emerge --info octave". (octave.emerge.info,5.55 KB, text/plain)
2018-12-09 19:20 UTC, Max Kresch
Details
build.log (build.log,611.89 KB, text/plain)
2018-12-09 19:21 UTC, Max Kresch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Max Kresch 2018-12-09 19:20:06 UTC
Created attachment 557464 [details]
Output from "emerge --info octave".

Octave fails to build with an mpfr assertion error pasted below. (Full build log and output of "emerge --info octave" attached.)

I have the same failure with octave-4.4.0 and octave-4.2.2.  I've also tried changing some USE flags with no effect.

Any help would be much appreciated.  If you need anything further, please just let me know and I'll do my best to get it to you promptly.

Thanks,
-Max.

----------------------------------------------------------------------------
[...]
libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -Iliboctave -I./liboctave -I./liboctave/array -Iliboctave/numeric -I./liboctave/numeric -Iliboctave/operators -I./liboctave/operators -I./liboctave/system -I./liboctave/util -I./libinterp/octave-value -Ilibinterp -I./libinterp -I./libinterp/operators -Ilibinterp/parse-tree -I./libinterp/parse-tree -Ilibinterp/corefcn -I./libinterp/corefcn -I./liboctave/wrappers -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE -fPIC -pthread -fopenmp -Wall -W -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -march=native -O2 -pipe -c libinterp/operators/op-scm-scm.cc  -fPIC -DPIC -o libinterp/operators/.libs/liboctinterp_la-op-scm-scm.o
/var/tmp/portage/dev-libs/mpfr-3.1.6/work/mpfr-3.1.6/src/init2.c:52: MPFR assertion failed: p >= 2 && p <= ((mpfr_prec_t)((mpfr_uprec_t)(~(mpfr_uprec_t)0)>>1))
In file included from ./liboctave/array/MSparse.h:123:0,
                 from ./liboctave/array/MatrixType.h:29,
                 from ./liboctave/array/dMatrix.h:31,
                 from ./liboctave/array/Range.h:30,
                 from ./libinterp/octave-value/ov.h:36,
                 from ./libinterp/octave-value/ovl.h:36,
                 from libinterp/operators/op-scm-scm.cc:29:
./liboctave/array/MSparse.cc: In function 'MSparse<T> quotient(const MSparse<T>&, const MSparse<T>&) [with T = std::complex<double>]':
./liboctave/array/MSparse.cc:478:1: internal compiler error: Aborted
 quotient (const MSparse<T>& a, const MSparse<T>& b)
 ^~~~~~~~
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.gentoo.org/> for instructions.
make[2]: *** [Makefile:20518: libinterp/operators/liboctinterp_la-op-scm-scm.lo] Error 1
make[2]: Leaving directory '/var/tmp/portage/sci-mathematics/octave-4.4.1/work/octave-4.4.1'
make[1]: *** [Makefile:27464: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/sci-mathematics/octave-4.4.1/work/octave-4.4.1'
make: *** [Makefile:11285: all] Error 2
 * ERROR: sci-mathematics/octave-4.4.1::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=sci-mathematics/octave-4.4.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sci-mathematics/octave-4.4.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sci-mathematics/octave-4.4.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sci-mathematics/octave-4.4.1/temp/environment'.
 * Working directory: '/var/tmp/portage/sci-mathematics/octave-4.4.1/work/octave-4.4.1'
 * S: '/var/tmp/portage/sci-mathematics/octave-4.4.1/work/octave-4.4.1'
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =octave-4.4.1

>>> Failed to emerge sci-mathematics/octave-4.4.1, Log file:

>>>  '/var/tmp/portage/sci-mathematics/octave-4.4.1/temp/build.log'

 * Messages for package sci-mathematics/octave-4.4.1:

 * ERROR: sci-mathematics/octave-4.4.1::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=sci-mathematics/octave-4.4.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sci-mathematics/octave-4.4.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sci-mathematics/octave-4.4.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sci-mathematics/octave-4.4.1/temp/environment'.
 * Working directory: '/var/tmp/portage/sci-mathematics/octave-4.4.1/work/octave-4.4.1'
 * S: '/var/tmp/portage/sci-mathematics/octave-4.4.1/work/octave-4.4.1'
Comment 1 Max Kresch 2018-12-09 19:21:00 UTC
Created attachment 557466 [details]
build.log
Comment 2 Max Kresch 2018-12-25 02:05:46 UTC
I guess my gcc was too old.  Updating gcc from 6.4.0 to 8.2.0 fixed things.  

Changing status to resolved, "obsolete"...  I'm not quite sure the "obsolete" is right but it seems possibly less wrong than the other options.
-Max.