Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 488496 - jruby-1.6.8 fails to compile with dev-java/snakeyaml-1.11
Summary: jruby-1.6.8 fails to compile with dev-java/snakeyaml-1.11
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 487280
  Show dependency tree
 
Reported: 2013-10-18 15:35 UTC by Michel Boaventura
Modified: 2013-10-24 19:35 UTC (History)
0 users

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


Attachments
emerge --info (emerge.info,4.95 KB, text/plain)
2013-10-18 15:36 UTC, Michel Boaventura
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michel Boaventura 2013-10-18 15:35:53 UTC
Jruby-1.6.8 fails to compile with dev-java/snakeyaml-1.11. I got this errors:

      [apt] /var/tmp/portage/dev-java/jruby-1.6.8/work/jruby-1.6.8/src/org/jruby/ext/psych/PsychEmitter.java:138: error: constructor DocumentStartEvent in class DocumentStartEvent cannot be applied to given types;
      [apt]         DocumentStartEvent event = new DocumentStartEvent(NULL_MARK, NULL_MARK, implicitBool, versionInts, tagsMap);
      [apt]                                    ^
      [apt]   required: Mark,Mark,boolean,Version,Map<String,String>
      [apt]   found: Mark,Mark,boolean,Integer[],Map<String,String>
      [apt]   reason: actual argument Integer[] cannot be converted to Version by method invocation conversion
      [apt] /var/tmp/portage/dev-java/jruby-1.6.8/work/jruby-1.6.8/src/org/jruby/ext/psych/PsychParser.java:131: error: incompatible types
      [apt]                     Integer[] versionInts = dse.getVersion();
      [apt]                                                           ^
      [apt]   required: Integer[]
      [apt]   found:    Version

If I downgrade snakeyaml to 1.9 it works.

Reproducible: Always
Comment 1 Michel Boaventura 2013-10-18 15:36:31 UTC
Created attachment 361236 [details]
emerge --info
Comment 2 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-10-24 19:33:11 UTC
+  24 Oct 2013; Tom Wijsman <TomWij@gentoo.org> +jruby-1.6.5.1-r1.ebuild,
+  +jruby-1.6.7.2-r1.ebuild, +jruby-1.6.8-r1.ebuild, -jruby-1.6.7.2.ebuild,
+  -jruby-1.6.8.ebuild:
+  Revision bumps; fixed up snakeyaml dependency to use SLOT 1.9, fixed up
+  documentation because install phase was failing due to missing index.html.
Comment 3 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-10-24 19:35:35 UTC
Added a mention of this bug to the ChangeLog. Thank you for reporting.