Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 242232 - sci-chemistry/raster3d-2.7s - render.f:3696: Error: Syntax error in argument list at (1)
Summary: sci-chemistry/raster3d-2.7s - render.f:3696: Error: Syntax error in argument ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Chemistry-Related Packages
URL: http://groups.google.com/group/lucky....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-15 18:05 UTC by Fábio L. Custódio
Modified: 2008-10-16 14:04 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fábio L. Custódio 2008-10-15 18:05:36 UTC
sci-chemistry/raster3d-2.7s: fails to compile with gfortran 4.1.2.

If you try:
emerge =sci-chemistry/raster3d-2.7s
it fails with a gfortran error


Reproducible: Always

Steps to Reproduce:
1.emerge sci-chemistry/raster3d-2.7s
2.
3.

Actual Results:  
>>> Emerging (1 of 2) sci-chemistry/raster3d-2.7s to /
 * Raster3D_2.7s.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                   [ ok ]
 * checking ebuild checksums ;-) ...                                                                                      [ ok ]
 * checking auxfile checksums ;-) ...                                                                                     [ ok ]
 * checking miscfile checksums ;-) ...                                                                                    [ ok ]
 * checking Raster3D_2.7s.tar.gz ;-) ...                                                                                  [ ok ]
 * You need one of these Fortran Compilers: gfortran g77
 * Installed are:  gfortran
>>> Unpacking source...
>>> Unpacking Raster3D_2.7s.tar.gz to /var/tmp/portage/sci-chemistry/raster3d-2.7s/work
 * Applying patches for selected FORTRAN compiler: gfortran
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/sci-chemistry/raster3d-2.7s/work/Raster3D_2.7s ...
mv render.f render.f.bak
egrep -v '(CARRIAGECONTROL|DISPOSE)' render.f.bak > render.f
mv normal3d.f normal3d.f.bak
egrep -v '(CARRIAGECONTROL|DISPOSE)' normal3d.f.bak > normal3d.f
mv rastep.f rastep.f.bak
egrep -v '(CARRIAGECONTROL|DISPOSE)' rastep.f.bak > rastep.f
Making Raster3D 2.7s for linux
x86_64-pc-linux-gnu-gcc -g -w -I/usr/include -I/usr/local/include -DGUNZIP -DIMAGEPIPE -DTIFF_SUPPORT -DTIFF_INVERT -DJPEG_SUPPORT  -DPNG_SUPPORT -DLINUX -DNETWORKBYTEORDER -Wl,-O1 -o avs2ps avs2ps.c -lm
gfortran -fno-range-check -w -o balls balls.f
gfortran -fno-range-check -w  -c -o quadric.o quadric.f
gfortran -fno-range-check -w  -c -o suv.o suv.f
gfortran -fno-range-check -w \
        rastep.f quadric.o suv.o -Wl,-O1 \
        -o rastep
gfortran -fno-range-check -w  -c -o render.o render.f
 In file render.f:3696

               CALL ASSERT(TYPE(INEXT).EQ.VERTRANSP,'lost vertex transp'
                                                                       1
Error: Syntax error in argument list at (1)
make: ** [render.o] Erro 1


Expected Results:  
emerge succefuly

The problem is ***FIXED*** if you run:

FFLAGS+="-ffixed-line-length-none" emerge sci-chemistry/raster3d-2.7s
Comment 1 Markus Dittrich (RETIRED) gentoo-dev 2008-10-16 14:04:19 UTC
Thank you very much for pointing this out. There are definitely
a few source files with lines longer then 72 characters in the
tarball. Strangely, gcc-4.3 doesn't seem to have a problem with
them. In any case, I've changed the ebuild to append
-ffixed-line-length-132 (the extended source length) to the FFLAGS
which should take care of this.

Best,
Markus