Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 506544 - net-misc/sks-1.1.4-r1: compilation fails due to "-warn-error A"
Summary: net-misc/sks-1.1.4-r1: compilation fails due to "-warn-error A"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Kristian Fiskerstrand (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-02 12:03 UTC by Hanno Böck
Modified: 2014-05-05 22:05 UTC (History)
1 user (show)

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


Attachments
compilation log with error (net-misc:sks-1.1.4-r1:20140401-225306.log,9.65 KB, text/x-log)
2014-04-02 12:03 UTC, Hanno Böck
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hanno Böck gentoo-dev 2014-04-02 12:03:59 UTC
Created attachment 374088 [details]
compilation log with error

Compilation of net-misc/sks-1.1.4-r1 fails for me. The reason seems to be that ocaml introduced some more warnings (i have 4.01.0 installed) and the package passes "-warn-error A" to the ocaml compilation. The effect is that every compiler warning is treated as an error. Removing that from the Makefile and it compiles fine.
Comment 1 Kristian Fiskerstrand (RETIRED) gentoo-dev 2014-04-02 13:00:07 UTC
This relates to the upstream fix in PR at https://bitbucket.org/skskeyserver/sks-keyserver/pull-request/26/conditionally-use-warn-error-a-only-if/diff . As 1.1.5 is not too far down the road I don't expect to fix this for the 1.1.4 ebuild.
Comment 2 Kristian Fiskerstrand (RETIRED) gentoo-dev 2014-04-02 13:19:17 UTC
Just to add the other Issue related to ocaml 4.x at https://bitbucket.org/skskeyserver/sks-keyserver/issue/2/use-of-deprecated-operator-or 

Please note the following section of the 1.1.4 announcement at http://lists.nongnu.org/archive/html/sks-devel/2012-10/msg00010.html: "There are a few prerequisites to building this code.  You need:
* ocaml-3.10.2 or later.  Get it from <http://www.ocaml.org>
  ocaml-3.12.x is recommended, ocaml-4.x is not recommended at this time"
Comment 3 Kristian Fiskerstrand (RETIRED) gentoo-dev 2014-05-05 22:05:43 UTC
This issue has been solved in SKS 1.1.5 that is now included in the tree