Summary: | sci-chemistry/raster3d-2.7c fails (gcc4 - fortran) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Patrizio Bassi <patrizio.bassi> |
Component: | New packages | Assignee: | Gentoo Science Related Packages <sci> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 2005.1 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 117482 | ||
Attachments: | patch for fix gfortan compile issues |
Description
Patrizio Bassi
2006-03-06 00:37:49 UTC
after a manual link ln -s /usr/bin/gfortran-4.0.2 /usr/bin/g77 ebuild starts compiling but hangs: 77 -g -O -w -malign-double \ rastep.f quadric.o suv.o -Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,-Bdirect -Wl,--as-needed -Wl,-hashvals -Wl,-zdynsort \ -o rastep In file rastep.f:141 character*60 defcol(DEFCOLS) 1 Error: Expression at (1) must be of INTEGER type rastep.f:0: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. make: *** [rastep] Error 1 !!! ERROR: sci-chemistry/raster3d-2.7c failed. Call stack: ebuild.sh, line 1933: Called dyn_compile ebuild.sh, line 971: Called src_compile !!! Failed to make all target. !!! If you need support, post the topmost build error, and the call stack if relevant. the g77 fix is easy, just sed the Makefile.incl and change the g77 to gfortran... the problem is the compiler seg. fault, same happens with gcc 4.1.0 Created attachment 84421 [details, diff]
patch for fix gfortan compile issues
Hi,
I've just changed the raster3d-2.7c to use the fortran.eclass which should
take care of g77 vs. gfortran issues (should be on the mirrors in an hour
or so). The attached patch fixes the remaining compile problems for me.
Please try it out and report back.
Thanks,
Markus
works perfectly, apply and close. well done Markus Markus are you sure you fixed the eclass? i ask this cause: You need one of these Fortran Compilers: g77 ifc * Installed are: ifc * Current Fortran Compiler is set to g77, which is not usable with this package ! !!! ERROR: sci-libs/blas-reference-19940131-r2 failed. i know it's completly unrelated to raster3d, but that seems not to work properly. Hi Patrizio, Thanks for testing and I just committed the patch to cvs which closes this bug. Regarding comment #5: I haven't done anything to the fortran.eclass but merely had the raster3d ebuild use it. Hence, if there is a problem with blas-reference and the fortran.eclass please file a bug and we'll have a look at it. Thank you very much! Best, Markus i already opened one. http://bugs.gentoo.org/show_bug.cgi?id=127540 let's move there :) |