Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 301762 - sci-chemistry/ccp4-apps-6.1.3 fails to compile
Summary: sci-chemistry/ccp4-apps-6.1.3 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Justin Lecher (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-21 19:26 UTC by Johan Hattne
Modified: 2010-02-02 08:34 UTC (History)
0 users

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


Attachments
Proposed fix for compilation failure in clipper_progs (6.1.3-clipper-template.patch,2.56 KB, patch)
2010-01-21 19:28 UTC, Johan Hattne
Details | Diff
Output of emerge --info (emerge.info,3.55 KB, text/plain)
2010-01-21 19:47 UTC, Johan Hattne
Details
Build log for failed compilation (build.log,98.21 KB, text/plain)
2010-01-21 19:56 UTC, Johan Hattne
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Johan Hattne 2010-01-21 19:26:56 UTC
Compilation fails in clipper_progs with error messages

intensity_target.h:114: error: expected constructor, destructor, or type conversion before ‘<’ token
intensity_target.h:120: error: expected initializer before ‘<’ token

Reproducible: Always

Steps to Reproduce:
1. emerge "=ccp4-apps-6.1.3"
Comment 1 Johan Hattne 2010-01-21 19:28:37 UTC
Created attachment 217101 [details, diff]
Proposed fix for compilation failure in clipper_progs
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2010-01-21 19:40:24 UTC
Could you add a build.log and the output of emerge --info =sci-chemistry/ccp4-apps-6.1.3?
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2010-01-21 19:41:14 UTC
The old tarball compiles fine here, perhaps they changed something here. I will test that, but it will take a week, as I am on conference now.
Comment 4 Johan Hattne 2010-01-21 19:47:40 UTC
Created attachment 217104 [details]
Output of emerge --info
Comment 5 Johan Hattne 2010-01-21 19:56:37 UTC
Created attachment 217106 [details]
Build log for failed compilation
Comment 6 Justin Lecher (RETIRED) gentoo-dev 2010-01-21 19:58:19 UTC
Thanks.
pointless and scala is bumped.
Comment 7 Justin Lecher (RETIRED) gentoo-dev 2010-01-30 18:20:49 UTC
Where do you have the patch from?
Comment 8 Justin Lecher (RETIRED) gentoo-dev 2010-01-30 19:51:58 UTC
I added your patch. I am also not sure whether it is the correct fix. Nevertheless it compiles fine and the test-framework also is positive.
Please test and report if something goes wrong.

+*ccp4-apps-6.1.3-r2 (30 Jan 2010)
+
+  30 Jan 2010; Justin Lecher (jlec) <jlec@j-schmitz.net>
+  +files/6.1.3-clipper-template.patch, -ccp4-apps-6.1.3-r1.ebuild,
+  +ccp4-apps-6.1.3-r2.ebuild:
+  Fix for 301762, thanks Johan Hattne for the patch
+
Comment 9 Johan Hattne 2010-02-02 05:42:50 UTC
(In reply to comment #7)
> Where do you have the patch from?

That patch originates here.  If it works for you (I could reproduce the problem and the fix with gcc-3.4.6 on amd64) I'll submit to upstream, unless you've already handed it over.

Thanks!
Comment 10 Justin Lecher (RETIRED) gentoo-dev 2010-02-02 08:34:03 UTC
No it's okay. I will report that upstream and we will wait what they say. Meanwhile keep an eye on ctruncate, in case the patch makes something evil.