Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 373473

Summary: g-octave/optiminterp-0.3.2 fails to emerge if MAKEOPTS is not "-j1"
Product: Gentoo Linux Reporter: Juergen Rose <rose>
Component: Current packagesAssignee: Gentoo Science Mathematics related packages <sci-mathematics>
Status: RESOLVED OBSOLETE    
Severity: normal CC: jstein, mjo, sci-mathematics
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 351559    
Attachments: /var/tmp/portage/g-octave/optiminterp-0.3.2/temp/build.log

Description Juergen Rose 2011-06-29 15:18:21 UTC
'emerge -vD g-octave/optiminterp' fails with:
...
config.status: creating Makeconf
 
  "$prefix" is /usr
  "$exec_prefix" is ${prefix}

octave commands will install into the following directories:
   m-files:   /usr/share/octave/3.4.0/site/m/octave-forge
   oct-files: /usr/libexec/octave/3.4.0/site/oct/x86_64-pc-linux-gnu/octave-forge
   binaries:  /usr/libexec/octave/3.4.0/site/exec/x86_64-pc-linux-gnu
alternatives:
   m-files:   /usr/share/octave/3.4.0/site/octave-forge-alternatives/m
   oct-files: /usr/libexec/octave/3.4.0/site/octave-forge-alternatives/oct/x86_64-pc-linux-gnu

shell commands will install into the following directories:
   binaries:  ${exec_prefix}/bin
   man pages: /usr/share/man
   libraries: /usr/lib64
   headers:   ${prefix}/include

octave-forge is configured with
   octave:      octave (version 3.4.0)
   mkoctfile:   mkoctfile for Octave 0
   optiminterp toolbox: yes

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

>>> Source configured.
>>> Compiling source in /var/tmp/portage/g-octave/optiminterp-0.3.2/work/optiminterp-0.3.2 ...
make -j5 
make[1]: Entering directory `/var/tmp/portage/g-octave/optiminterp-0.3.2/work/optiminterp-0.3.2/src'
mkoctfile -DHAVE_OCTAVE_ -v -c optiminterp.cc
FFLAGS="-march=native -O2 " mkoctfile -DHAVE_OCTAVE_ -v -c optimal_interpolation.F90
FFLAGS="-march=native -O2 " mkoctfile -DHAVE_OCTAVE_ -v -c optiminterp_wrapper.F90
x86_64-pc-linux-gnu-g++ -c -fPIC -I/usr/include/octave-3.4.0/octave/.. -I/usr/include/octave-3.4.0/octave -I/usr/include/freetype2 -O2 -pipe -DHAVE_OCTAVE_ optiminterp.cc -o optiminterp.o
x86_64-pc-linux-gnu-gfortran -c -fPIC -march=native -O2 -DHAVE_OCTAVE_ optiminterp_wrapper.F90 -o optiminterp_wrapper.o
x86_64-pc-linux-gnu-gfortran -c -fPIC -march=native -O2 -DHAVE_OCTAVE_ optimal_interpolation.F90 -o optimal_interpolation.o
optiminterp_wrapper.F90:23.26:

 use optimal_interpolation
                          1
Fatal Error: Can't open module file 'optimal_interpolation.mod' for reading at (1): No such file or directory
make[1]: *** [optiminterp_wrapper.o] Error 1
make[1]: *** Waiting for unfinished jobs....



'MAKEOPTS="-j1" emerge -vD g-octave/optiminterp' works without problems.
Comment 1 Pacho Ramos gentoo-dev 2011-06-29 15:52:42 UTC
Attach full build.log please
Comment 2 Juergen Rose 2011-06-30 10:32:34 UTC
Created attachment 278687 [details]
/var/tmp/portage/g-octave/optiminterp-0.3.2/temp/build.log

I had to do three times 'emerge -vD g-octave/optiminterp' with MAKEOPTS="-j5" to get once the error.
Comment 3 Michael Orlitzky gentoo-dev 2022-05-06 21:44:02 UTC
I guess this was for a package created with g-octave? In any case it's too ancient to do anything about it any more. Cleaning house.