First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 125190
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Science Related Packages <sci@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Patrizio Bassi <hetfield666@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
raster3d-gcc-4.1-gentoo.patch patch for fix gfortan compile issues patch Markus Dittrich 2006-04-10 23:22 0000 2.37 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 125190 depends on: Show dependency tree
Show dependency graph
Bug 125190 blocks: 117482
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-03-06 00:37 0000
raster3d has a fixed g77 reference.

since gcc4 g77 is called gfortran

gcc -g -m486 -w -I/usr/include -I/usr/local/include -DGUNZIP -DIMAGEPIPE
-DTIFF_SUPPORT -DTIFF_INVERT -DJPEG_SUPPORT  -DPNG_SUPPORT -DLINUX
-DNETWORKBYTEORDER -Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags
-Wl,-Bdirect -Wl,--as-needed -Wl,-hashvals -Wl,-zdynsort -o avs2ps avs2ps.c -lm
g77 -g -O -w -malign-double -o balls balls.f
make: g77: Command not found
make: *** [balls] Error 127

!!! 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.

------- Comment #1 From Patrizio Bassi 2006-03-06 00:40:30 0000 -------
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.

------- Comment #2 From Patrizio Bassi 2006-03-26 00:26:48 0000 -------
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

------- Comment #3 From Markus Dittrich 2006-04-10 23:22:38 0000 -------
Created an attachment (id=84421) [edit]
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

------- Comment #4 From Patrizio Bassi 2006-04-12 02:03:32 0000 -------
works perfectly, apply and close.

well done Markus

------- Comment #5 From Patrizio Bassi 2006-04-12 05:54:20 0000 -------
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.

------- Comment #6 From Markus Dittrich 2006-04-12 07:05:38 0000 -------
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

------- Comment #7 From Patrizio Bassi 2006-04-12 07:59:45 0000 -------
i already opened one.
http://bugs.gentoo.org/show_bug.cgi?id=127540
let's move there :)

First Last Prev Next    No search results available      Search page      Enter new bug