Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 190511 - sci-chemistry/raster3d-2.7c fails to build
Summary: sci-chemistry/raster3d-2.7c fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Chemistry-Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-28 12:45 UTC by Neil
Modified: 2007-09-10 13:12 UTC (History)
0 users

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


Attachments
updated patch for gcc-4.2 (raster3d-gcc-4.1-gentoo.2.patch,2.92 KB, patch)
2007-09-08 14:48 UTC, Markus Dittrich (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Neil 2007-08-28 12:45:46 UTC
Trying to emerge raster3d-2.7c fails to compile due to errors in compiling with gfortran



Reproducible: Always

Steps to Reproduce:
1. emerge raster3d


Actual Results:  
gfortran -w  -c -o parse.o parse.f
parse.f:118.42:

        if (option(1:5).eq.'white') xbg = 'FFFFFFFF'X                   
                                         1
Error: Arithmetic overflow converting INTEGER(8) to INTEGER(4) at (1)
parse.f:119.42:

        if (option(1:5).eq.'black') xbg = 'FF000000'X                   
                                         1
Error: Arithmetic overflow converting INTEGER(8) to INTEGER(4) at (1)
make: *** [parse.o] Error 1
 * 
 * ERROR: sci-chemistry/raster3d-2.7c failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   raster3d-2.7c.ebuild, line 47:   Called die
 * 
 * Failed to make all target.


Expected Results:  
raster3d should emerge cleanly.

The home-page (http://skuld.bmsc.washington.edu/raster3d/raster3d.html) indicates that the newer version (raster3d-2.7d) has patched this problem.
Comment 1 Markus Dittrich (RETIRED) gentoo-dev 2007-09-08 14:48:36 UTC
Created attachment 130339 [details, diff]
updated patch for gcc-4.2

I am afraid that the problem is with gcc-4.2, so updating 
to 2.7d won't help (it also fails to compile). I've created an updated
patch which works for me. Please give it a try and see if
it works for you as well.

Thanks,
Markus
Comment 2 Markus Dittrich (RETIRED) gentoo-dev 2007-09-10 13:12:15 UTC
Ok, I've just commited this to portage cvs and the problems
are hopefully solved.

Thanks,
Markus