Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-7600

build failure in opennms-doc/guide-doc on FreeBSD

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 15.0.0
    • Fix Version/s: 16.0.3, 17.0.0
    • Component/s: Build / Packaging
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None

      Description

      opennms-doc/guide-doc fails when building on FreeBSD and using native openjdk 7 or 8 JVM. It is successful when using a Linux JVM.

      [INFO] Scanning for projects...
      [INFO] 
      [INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1
      [INFO]                                                                         
      [INFO] ------------------------------------------------------------------------
      [INFO] Building OpenNMS :: Documentation :: Guide Documentation 16.0.0-SNAPSHOT
      [INFO] ------------------------------------------------------------------------
      [INFO] 
      [INFO] --- maven-resources-plugin:2.6:copy-resources (copy-resources) @ guide-doc ---
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] Copying 21 resources
      [INFO] 
      [INFO] --- asciidoctor-maven-plugin:1.5.2:process-asciidoc (output-html) @ guide-doc ---
      [INFO] Rendered /usr/home/roskens/opennms.git/opennms-doc/guide-doc/src/asciidoc/index.adoc
      [INFO] 
      [INFO] --- asciidoctor-maven-plugin:1.5.2:process-asciidoc (generate-pdf-doc) @ guide-doc ---
      asciidoctor: WARNING: conversion missing in backend pdf for inline_callout
      asciidoctor: WARNING: conversion missing in backend pdf for inline_callout
      asciidoctor: WARNING: conversion missing in backend pdf for inline_callout
      asciidoctor: WARNING: conversion missing in backend pdf for inline_callout
      asciidoctor: WARNING: conversion missing in backend pdf for inline_callout
      asciidoctor: WARNING: conversion missing in backend pdf for inline_callout
      asciidoctor: WARNING: conversion missing in backend pdf for inline_callout
      asciidoctor: WARNING: conversion missing in backend pdf for inline_callout
      asciidoctor: WARNING: conversion missing in backend pdf for inline_callout
      asciidoctor: WARNING: conversion missing in backend pdf for inline_callout
      asciidoctor: WARNING: conversion missing in backend pdf for inline_callout
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 15.008 s
      [INFO] Finished at: 2015-04-04T19:18:10-06:00
      [INFO] Final Memory: 49M/743M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.asciidoctor:asciidoctor-maven-plugin:1.5.2:process-asciidoc (generate-pdf-doc) on project guide-doc: Execution generate-pdf-doc of goal org.asciidoctor:asciidoctor-maven-plugin:1.5.2:process-asciidoc failed: (NotImplementedError) fstat unimplemented unsupported or native support failed to load -> [Help 1]
      [ERROR] 
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR] 
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
      [ERROR] child exited with value 1
      

      the exception stack trace is:

      [ERROR] Failed to execute goal org.asciidoctor:asciidoctor-maven-plugin:1.5.2:process-asciidoc (generate-pdf-doc) on project guide-doc: Execution generate-pdf-doc of goal org.asciidoctor:asciidoctor-maven-plugin:1.5.2:process-asciidoc failed: (NotImplementedError) fstat unimplemented unsupported or native support failed to load -> [Help 1]
      org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.asciidoctor:asciidoctor-maven-plugin:1.5.2:process-asciidoc (generate-pdf-doc) on project guide-doc: Execution generate-pdf-doc of goal org.asciidoctor:asciidoctor-maven-plugin:1.5.2:process-asciidoc failed: (NotImplementedError) fstat unimplemented unsupported or native support failed to load
      	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224)
      	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
      	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
      	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:108)
      	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76)
      	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
      	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116)
      	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)
      	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
      	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
      	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
      	at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
      	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
      	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
      	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
      Caused by: org.apache.maven.plugin.PluginExecutionException: Execution generate-pdf-doc of goal org.asciidoctor:asciidoctor-maven-plugin:1.5.2:process-asciidoc failed: (NotImplementedError) fstat unimplemented unsupported or native support failed to load
      	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:144)
      	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
      	... 19 more
      Caused by: org.jruby.exceptions.RaiseException: (NotImplementedError) fstat unimplemented unsupported or native support failed to load
      	at org.jruby.RubyFile.size(org/jruby/RubyFile.java:1125)
      	at RUBY.render_body(/home/roskens/.m2/repository/org/asciidoctor/asciidoctorj-pdf/1.5.0-alpha.6/asciidoctorj-pdf-1.5.0-alpha.6.jar!/gems/pdf-core-0.2.5/lib/pdf/core/document_state.rb:69)
      	at RUBY.each(/home/roskens/.m2/repository/org/asciidoctor/asciidoctorj-pdf/1.5.0-alpha.6/asciidoctorj-pdf-1.5.0-alpha.6.jar!/gems/pdf-core-0.2.5/lib/pdf/core/object_store.rb:70)
      	at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1613)
      	at RUBY.each(/home/roskens/.m2/repository/org/asciidoctor/asciidoctorj-pdf/1.5.0-alpha.6/asciidoctorj-pdf-1.5.0-alpha.6.jar!/gems/pdf-core-0.2.5/lib/pdf/core/object_store.rb:69)
      	at RUBY.render_body(/home/roskens/.m2/repository/org/asciidoctor/asciidoctorj-pdf/1.5.0-alpha.6/asciidoctorj-pdf-1.5.0-alpha.6.jar!/gems/pdf-core-0.2.5/lib/pdf/core/document_state.rb:68)
      	at RUBY.render_body(/home/roskens/.m2/repository/org/asciidoctor/asciidoctorj-pdf/1.5.0-alpha.6/asciidoctorj-pdf-1.5.0-alpha.6.jar!/gems/prawn-1.2.1/lib/prawn/document/internals.rb:141)
      	at RUBY.render(/home/roskens/.m2/repository/org/asciidoctor/asciidoctorj-pdf/1.5.0-alpha.6/asciidoctorj-pdf-1.5.0-alpha.6.jar!/gems/prawn-1.2.1/lib/prawn/document.rb:359)
      	at RUBY.render_file(/home/roskens/.m2/repository/org/asciidoctor/asciidoctorj-pdf/1.5.0-alpha.6/asciidoctorj-pdf-1.5.0-alpha.6.jar!/gems/prawn-1.2.1/lib/prawn/document.rb:376)
      	at org.jruby.RubyIO.open(org/jruby/RubyIO.java:1181)
      	at RUBY.render_file(/home/roskens/.m2/repository/org/asciidoctor/asciidoctorj-pdf/1.5.0-alpha.6/asciidoctorj-pdf-1.5.0-alpha.6.jar!/gems/prawn-1.2.1/lib/prawn/document.rb:376)
      	at RUBY.write(/home/roskens/.m2/repository/org/asciidoctor/asciidoctorj-pdf/1.5.0-alpha.6/asciidoctorj-pdf-1.5.0-alpha.6.jar!/gems/asciidoctor-pdf-1.5.0.alpha.6/lib/asciidoctor-pdf/converter.rb:1235)
      	at RUBY.write(/home/roskens/.m2/repository/org/asciidoctor/asciidoctorj/1.5.2/asciidoctorj-1.5.2.jar!/gems/asciidoctor-1.5.2/lib/asciidoctor/document.rb:1051)
      	at RUBY.convert(/home/roskens/.m2/repository/org/asciidoctor/asciidoctorj/1.5.2/asciidoctorj-1.5.2.jar!/gems/asciidoctor-1.5.2/lib/asciidoctor.rb:1504)
      	at RUBY.convert_file(/home/roskens/.m2/repository/org/asciidoctor/asciidoctorj/1.5.2/asciidoctorj-1.5.2.jar!/gems/asciidoctor-1.5.2/lib/asciidoctor.rb:1562)
      	at RUBY.convertFile(<script>:68)
      	at org.jruby.gen.InterfaceImpl1173645862.convertFile(org/jruby/gen/InterfaceImpl1173645862.gen:13)
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ronald.roskens@biworldwide.com Ron Roskens
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: