Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 335572 - sci-biology/allpaths:3 compilation fails, version bump, workaround attached
Summary: sci-biology/allpaths:3 compilation fails, version bump, workaround attached
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Andrey Kislyuk (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-01 17:30 UTC by Joel Berendzen
Modified: 2011-01-25 17:30 UTC (History)
1 user (show)

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


Attachments
allpaths-3.2.ebuild (allpaths-3.2.ebuild,1.19 KB, text/plain)
2010-09-01 17:31 UTC, Joel Berendzen
Details
allpaths-3.34911.ebuild.patch (allpaths-3.34911.ebuild.patch,1.56 KB, patch)
2010-10-13 18:35 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-09-01 17:30:14 UTC
sci-biology/allpaths:3 has never compiled for me under gcc 4.4. This turns out to be due to the optimizer in recent gcc's removing code that isn't dead.  

I have reported the bug upstream. The latest upstream version is 3.2.

The ebuild doesn't respect CXXFLAGS and always uses "-O3", but -O2 breaks it as well.  In addition, the ebuild puts executable code in /usr/share.

I'm attaching an ebuild that addresses the issues above.  I don't have a fix for the optimizer problem, so my ebuild doesn't respect CXXFLAGS, nor does it respect LDFLAGS (http://bugs.gentoo.org/show_bug.cgi?id=335374).  However, it does work for me.



Reproducible: Always

Steps to Reproduce:
1. emerge allpaths:3


Actual Results:  
 ./.libs/libAllPaths3.a(MuxWalkGraph.o): In function `MuxWalkGraph_to_HyperKmerPath::AssociateClosers(HyperKmerPath&) const':
 /root/allpaths/allpaths3-3.2/src/paths/MuxWalkGraph.cc:740: undefined reference to `digraphE<KmerPath>::TransferEdges(int, int, unsigned char)'
Comment 1 Joel Berendzen 2010-09-01 17:31:35 UTC
Created attachment 245645 [details]
allpaths-3.2.ebuild
Comment 2 Joel Berendzen 2010-10-13 18:35:54 UTC
Created attachment 250477 [details, diff]
allpaths-3.34911.ebuild.patch

Version numbering and URL have changed; ebuild still does not respect CFLAGS, nor does it use --as-needed.  Patch against allpaths-3.1.ebuild.
Comment 3 Andrey Kislyuk (RETIRED) gentoo-dev 2011-01-25 17:30:04 UTC
sci-biology/allpaths moved to sci-biology/allpathslg, all old ebuilds will be dropped. Please check if the problem persists with the latest sci-biology/allpathslg and reopen the bug if appropriate.