Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 240238 - sci-chemistry/platon should abandon linking in f2c with gfortran
Summary: sci-chemistry/platon should abandon linking in f2c with gfortran
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Gentoo Chemistry-Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-06 09:55 UTC by Honza Macháček
Modified: 2008-10-07 17:03 UTC (History)
0 users

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


Attachments
platon-20080725-20080924.ebuild.diff (platon-20080725-20080924.ebuild.diff,1.60 KB, patch)
2008-10-06 09:58 UTC, Honza Macháček
Details | Diff
CB8H9-.pdb (CB8H9-.pdb,2.89 KB, text/plain)
2008-10-06 14:51 UTC, Honza Macháček
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Honza Macháček 2008-10-06 09:55:53 UTC
sci-chemistry/platon-20080725 (on x86) basicaly works, but manifests queer problems, mainly it ignores command line options (or at least file names to read stated on the command line). The need to type the input file name in the Platon window is somewhat annoying (especially as pasting of the name from clipboard works neither). Removing -lf2c and company from the ebuild has resolved the problem for me.
Comment 1 Honza Macháček 2008-10-06 09:58:45 UTC
Created attachment 167436 [details, diff]
platon-20080725-20080924.ebuild.diff

Diff from platon-20080725.ebuild using the f2c library to my platon-20080924.ebuild that relies on gfortran solely. I've updated the version number according to the advance at the Platon site as well.
Comment 2 Markus Dittrich (RETIRED) gentoo-dev 2008-10-06 12:54:06 UTC
Hi Honza,

Thanks much for the note and I'll have a look at this.

Best,
Markus
Comment 3 Markus Dittrich (RETIRED) gentoo-dev 2008-10-06 13:34:39 UTC
Since I am not a platon user, would you perhaps be able to
post a short example session + files that would 
allow me to reproduce and test these issues.

Thank you very much.

Best,
Markus
Comment 4 Honza Macháček 2008-10-06 14:51:41 UTC
Created attachment 167458 [details]
CB8H9-.pdb

An example PDB file for platon. Any other should do.

When linked with -lf2c (the 20080725 ebuild in the portage tree), `platon CB8H9-.pdb` produces a platon window stating ``NO PROPER INPUT FILE FOUND''. Entering the command "file CB8H9-.pdb" in the platon window nevertheless works.

When linked without f2c (my 20080924 ebuild), platon happily accepts its input file from the command line.
Comment 5 Markus Dittrich (RETIRED) gentoo-dev 2008-10-07 17:03:29 UTC
Thank you very much for providing the instructions. I have
removed linking against lib2c and platon now seems to work as
expected.

Thanks,
Markus