Bug#821181: jruby: FTBFS due to PsychParser class error

Miguel Landaeta nomadium at debian.org
Wed Apr 20 22:40:07 UTC 2016


On Sat, Apr 16, 2016 at 10:04 PM, Emmanuel Bourg <ebourg at apache.org> wrote:
> Le 16/04/2016 16:08, Miguel Landaeta a écrit :
>
>> The bug was caused by a breaking change introduced in snakeyaml 1.17.
>
> Hi Miguel,

Hello Emmanuel,

>
> Was this caused by the removal of getVersion() from
> DumperOptions.Version? I may try to patch snakeyaml and bring back the
> method to preserve the compatibility.
>

Yes, that was the cause of the bug.

> What is the other issue you encountered?
>

After patching the getVersion() change I found the following error
with maven-bundler-plugin:

[...]
[WARNING] Manifest org.jruby:jruby-complete:bundle:1.7.25 : Export
org.jruby.util.io,  has 4,  private references [jnr.posix,
jnr.unixsocket, org.jcodings, jnr.constants.platform],

[ERROR] Manifest org.jruby:jruby-complete:bundle:1.7.25 : The default
package '.' is not permitted by the Import-Package syntax.

 This can be caused by compile errors in Eclipse because Eclipse
creates

valid class files regardless of compile errors.

The following package(s) import from the default package null

[ERROR] Error(s) found in manifest configuration

[INFO] ------------------------------------------------------------------------

[INFO] Reactor Summary:

[INFO]

[INFO] JRuby .............................................. SUCCESS [
0.119 s][INFO] JRuby Core .........................................
SUCCESS [01:00 min]

   [INFO] JRuby Ext .......................................... SUCCESS
[  0.004 s][INFO] JRuby Readline .....................................
SUCCESS [  3.436 s]

[INFO] JRuby Ripper ....................................... SUCCESS [  4.680 s]

[INFO] JRuby Lib Setup .................................... SUCCESS [
0.003 s]

[INFO] JRuby Artifacts .................................... SUCCESS [  0.003 s]

[INFO] JRuby Stdlib ....................................... SUCCESS [
1.777 s]

[INFO] JRuby Complete ..................................... FAILURE [  5.236 s]

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 01:17 min

[INFO] Finished at: 2016-04-16T13:12:11+00:00

[INFO] Final Memory: 110M/751M

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal
org.apache.felix:maven-bundle-plugin:2.5.4:manifest (default) on
project jruby-complete: Error(s) found in manifest configuration ->
[Help 1]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with
the -e switch.

[...]


I have not found yet the root cause of that.

When I have some time available I will keep debugging if nobody beats me to it.

Cheers,



More information about the pkg-java-maintainers mailing list