Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8096086

[Bundlers] bundling RPM after DEB is always failed

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8u20
    • Fix Version/s: 8u20
    • Component/s: deploy
    • Labels:
    • Environment:

      Ubuntu 13.04 x64
      RPM version 4.10.1

      Description

      When I'm using just RPM bundler (you can add it to test application with .filter (bundler -> "rpm".equals(bundler.getID()))), I get the correct RPM package, but when I'm constructing all the linux bundles together, I get the strange stacktrace in output:

      Executing bundler: linux.app, finished
      Executing bundler: debapp1
      , finished
      Executing bundler: rpmjava.io.IOException: Exec failed with code 1 command [[rpmbuild, -bb, /tmp/fxbundler4471787566620763661/images/linux-rpm.image/app1.spec, --define, %_sourcedir /tmp/fxbundler4471787566620763661/images/linux-rpm.image, --define, %_rpmdir /tmp/testApp/bundles/hello, --define, %_topdir /tmp/fxbundler4471787566620763661/rmpbuildroot] in /tmp/fxbundler4471787566620763661/images/linux-rpm.image
      at com.sun.javafx.tools.packager.bundlers.IOUtils.exec(IOUtils.java:165)
      at com.sun.javafx.tools.packager.bundlers.IOUtils.exec(IOUtils.java:138)
      at com.sun.javafx.tools.packager.bundlers.IOUtils.exec(IOUtils.java:132)
      at com.sun.javafx.tools.packager.bundlers.LinuxRPMBundler.buildRPM(LinuxRPMBundler.java:377)
      at com.sun.javafx.tools.packager.bundlers.LinuxRPMBundler.bundle(LinuxRPMBundler.java:184)
      at com.sun.javafx.tools.packager.bundlers.LinuxRPMBundler.execute(LinuxRPMBundler.java:450)
      at com.oracle.appbundlers.AppBundlersSampleGUI.lambda$null$2(AppBundlersSampleGUI.java:89)
      at com.oracle.appbundlers.AppBundlersSampleGUI$$Lambda$184/1211181795.accept(Unknown Source)
      at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
      , finished
      at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
      at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
      at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
      at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512)
      at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502)
      at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
      at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
      at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
      at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
      at com.oracle.appbundlers.AppBundlersSampleGUI.lambda$start$3(AppBundlersSampleGUI.java:85)
      at com.oracle.appbundlers.AppBundlersSampleGUI$$Lambda$1/806131788.handle(Unknown Source)
      at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86)
      at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
      at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
      at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
      at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:49)
      at javafx.event.Event.fireEvent(Event.java:204)
      at javafx.scene.Node.fireEvent(Node.java:8175)
      at javafx.scene.control.Button.fire(Button.java:185)
      at com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased(ButtonBehavior.java:182)
      at com.sun.javafx.scene.control.skin.BehaviorSkinBase$1.handle(BehaviorSkinBase.java:96)
      at com.sun.javafx.scene.control.skin.BehaviorSkinBase$1.handle(BehaviorSkinBase.java:89)
      at com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:218)
      at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80)
      at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
      at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
      at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
      at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
      at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)
      at javafx.event.Event.fireEvent(Event.java:204)
      at javafx.scene.Scene$MouseHandler.process(Scene.java:3746)
      at javafx.scene.Scene$MouseHandler.access$1800(Scene.java:3471)
      at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1695)
      at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2486)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:314)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:243)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:345)
      at com.sun.glass.ui.View.handleMouseEvent(View.java:526)
      at com.sun.glass.ui.View.notifyMouse(View.java:898)
      at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
      at com.sun.glass.ui.gtk.GtkApplication.access$200(GtkApplication.java:48)
      at com.sun.glass.ui.gtk.GtkApplication$6$1.run(GtkApplication.java:149)
      at java.lang.Thread.run(Thread.java:744)


      removing "linux.app" from run doesn't change anything, but after removing "deb" bundling would succeed

        Attachments

          Activity

            People

            • Assignee:
              shemnon Danno Ferrin (Inactive)
              Reporter:
              dginzbur Dmitry Ginzburg (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: