Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 344701 - sci-chemistry/tinker-6.0 depends on obsolete version of sci-chemistry/apbs that doesn't build properly
Summary: sci-chemistry/tinker-6.0 depends on obsolete version of sci-chemistry/apbs th...
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: 2010-11-08 17:22 UTC by Joel Berendzen
Modified: 2010-12-03 20:23 UTC (History)
0 users

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


Attachments
build log with apbs 1.2 installed (time-resolved_observation_of_Eigen.pdf,135.74 KB, text/plain)
2010-11-08 17:23 UTC, Joel Berendzen
Details
build log (tinker-6.0-20101108.log,44.67 KB, text/plain)
2010-11-08 17:53 UTC, Joel Berendzen
Details
build log (tinker-6.0-20101108-with-apbs-1.3.log,10.51 KB, text/plain)
2010-11-08 17:53 UTC, Joel Berendzen
Details
tinker-6.0-r1.ebuild.patch (tinker-6.0-r1.ebuild.patch,711 bytes, patch)
2010-11-09 19:11 UTC, Joel Berendzen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joel Berendzen 2010-11-08 17:22:20 UTC
Build fails in one of two different ways, depending on the version of apbs that is installed. apbs no longer appears as a dependency, though.  Failure is identical to closed bug 324969 in the first case.

Reproducible: Always

Steps to Reproduce:
1. emerge apbs; emerge tinker
2.
3.

Actual Results:  
If apbs-1.2 is installed, tinker build fails in the link step because of unresolved dependencies.  If apbs 1.3 is in stalled, tinker build fails in the compile step because of argument list differences.  


From the tinker ChangeLog

  28 Oct 2010; Justin Lecher <jlec@gentoo.org> tinker-5.1.09.ebuild,
  tinker-6.0.ebuild:
  Removed apbs support

This doesn't seem to be true as pmpb.c is still compiled and making apbs calls.  The apbs libraries are also reference in the ebuild.
Comment 1 Joel Berendzen 2010-11-08 17:23:30 UTC
Created attachment 253643 [details]
build log with apbs 1.2 installed
Comment 2 Joel Berendzen 2010-11-08 17:53:01 UTC
Created attachment 253653 [details]
build log

apbs 1.2 installed
Comment 3 Joel Berendzen 2010-11-08 17:53:39 UTC
Created attachment 253655 [details]
build log

apbs 1.3 installed
Comment 4 Joel Berendzen 2010-11-09 19:11:12 UTC
Created attachment 253777 [details, diff]
tinker-6.0-r1.ebuild.patch 

ebuild patch to remove apbs dependencies
Comment 5 Justin Lecher (RETIRED) gentoo-dev 2010-12-02 10:50:45 UTC
I cannot see any apbs deps here.
Comment 6 Joel Berendzen 2010-12-02 19:39:12 UTC
(In reply to comment #5)
> I cannot see any apbs deps here.
> 

Hmm?  The tinker-6.0 ebuild in the repository still fails exactly the same way for me.  From the build log (first attachment):

gfortran -Wl,-rpath /opt/sun-jdk-1.6.0.22/jre/lib/amd64/server/ -o gda.x gda.o libtinker.a -lapbsmainroutines -lapbs   -lmaloc -L/opt/sun-jdk-1.6.0.22/jre/lib/amd64/server/ -ljvm
libtinker.a(pmpb.o): In function `apbsempole_':
pmpb.c:(.text+0xef9): undefined reference to `Vatom_setDipole'

Vatom_setDipole is an APBS routine, not a tinker one. The patch I submitted causes dummy APBS routines to be compiled.
Comment 7 Justin Lecher (RETIRED) gentoo-dev 2010-12-02 21:47:01 UTC
I am on that.
Comment 8 Justin Lecher (RETIRED) gentoo-dev 2010-12-02 22:13:51 UTC
Please test version 6 and report.
Comment 9 Joel Berendzen 2010-12-03 20:23:58 UTC
Yes, it compiles now.  Thanks.