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

[Bundlers] setting "linux.bundleName" causes rpm bundler to fail

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8u20
    • 8u20
    • deploy

      Passing any param into field LinuxRPMBundler.BUNDLE_NAME.getID() would cause LinuxRPMBundler to fail with such an exception:

      java.io.IOException: Exec failed with code 1 command [[rpmbuild, -bb, /tmp/fxbundler6261877762250946040/images/linux-rpm.image/foobar.spec, --define, %_sourcedir /tmp/fxbundler6261877762250946040/images/linux-rpm.image, --define, %_rpmdir /tmp/testBundlerWorkDir/bundles, --define, %_topdir /tmp/fxbundler6261877762250946040/rmpbuildroot] in /tmp/fxbundler6261877762250946040/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.utils.JavaApiBundlingManager.execute(JavaApiBundlingManager.java:31)
      at com.oracle.appbundlers.tests.ResourcesTest.testLinuxSpecificOptions(ResourcesTest.java:463)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:483)
      at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
      at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
      at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
      at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
      at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
      at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
      at org.testng.TestRunner.privateRun(TestRunner.java:767)
      at org.testng.TestRunner.run(TestRunner.java:617)
      at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
      at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
      at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
      at org.testng.SuiteRunner.run(SuiteRunner.java:240)
      at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
      at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
      at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
      at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
      at org.testng.TestNG.run(TestNG.java:1057)
      at org.testng.TestNG.privateMain(TestNG.java:1364)
      at org.testng.TestNG.main(TestNG.java:1333)

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

              Created:
              Updated:
              Resolved:
              Imported: