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

linux rpm packager: "Permission denied" for 'jre/lib/jexec' and 'jre/lib/amd64/libjfxwebkit.so' files

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: 7u40
    • Fix Version/s: 8u20
    • Component/s: deploy
    • Labels:
    • Environment:

      Ubuntu quantal (12.10) x86_64

      Description

      We use the ant tasks to package our application on a jenkins node running "Ubuntu quantal (12.10) x86_64" linux. Deb and rpm packaging tools are installed and both packages are being build.

      However for rpm we see the following two messages on the console:

      /usr/bin/strip: unable to copy file '/tmp/build3375603490833293885.fxbundler/rmpbuildroot/BUILDROOT/SFX2-0.1-1.x86_64/opt/SFX2/runtime/jre/lib/jexec'; reason: Permission denied

      /usr/bin/strip: unable to copy file '/tmp/build3375603490833293885.fxbundler/rmpbuildroot/BUILDROOT/SFX2-0.1-1.x86_64/opt/SFX2/runtime/jre/lib/amd64/libjfxwebkit.so'; reason: Permission denied

      Is there an explanation for this? Anything we have to worry about?

      Complete log:

      12:20:13 Using base JDK at: /opt/java/jdk1.7.0_40/jre
      12:20:13 Creating app bundle: /home/jenkins/workspace/SFX2-Linux/sfx2-frontend/target/application-bundle/bundles/SFX2
      12:20:16 Using default package resource [RPM spec file] (add package/linux/SFX2.spec to the class path to customize)
      12:20:16 Using default package resource [Menu shortcut descriptor] (add package/linux/SFX2.desktop to the class path to customize)
      12:20:16 Using default package resource [menu icon] (add package/linux/SFX2.png to the class path to customize)
      12:20:17 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.10y6uE
      12:20:17 + umask 022
      12:20:17 + cd /tmp/build3375603490833293885.fxbundler/rmpbuildroot/BUILD
      12:20:17 + exit 0
      12:20:17 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.jMQ6Fb
      12:20:17 + umask 022
      12:20:17 + cd /tmp/build3375603490833293885.fxbundler/rmpbuildroot/BUILD
      12:20:17 + exit 0
      12:20:17 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.HkOlRI
      12:20:17 + umask 022
      12:20:17 + cd /tmp/build3375603490833293885.fxbundler/rmpbuildroot/BUILD
      12:20:17 + rm -rf /tmp/build3375603490833293885.fxbundler/rmpbuildroot/BUILDROOT/SFX2-0.1-1.x86_64
      12:20:17 + mkdir -p /tmp/build3375603490833293885.fxbundler/rmpbuildroot/BUILDROOT/SFX2-0.1-1.x86_64/opt
      12:20:17 + cp -r /tmp/build3375603490833293885.fxbundler/images/linux-rpm.image/SFX2 /tmp/build3375603490833293885.fxbundler/rmpbuildroot/BUILDROOT/SFX2-0.1-1.x86_64/opt
      12:20:17 + /usr/lib/rpm/brp-compress
      12:20:17 + /usr/lib/rpm/brp-strip /usr/bin/strip
      12:20:17 /usr/bin/strip: unable to copy file '/tmp/build3375603490833293885.fxbundler/rmpbuildroot/BUILDROOT/SFX2-0.1-1.x86_64/opt/SFX2/runtime/jre/lib/jexec'; reason: Permission denied
      12:20:17 + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
      12:20:19 + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
      12:20:20 /usr/bin/strip: unable to copy file '/tmp/build3375603490833293885.fxbundler/rmpbuildroot/BUILDROOT/SFX2-0.1-1.x86_64/opt/SFX2/runtime/jre/lib/amd64/libjfxwebkit.so'; reason: Permission denied
      12:20:20 Processing files: SFX2-0.1-1.x86_64
      12:20:20 Checking for unpackaged file(s): /usr/lib/rpm/check-files /tmp/build3375603490833293885.fxbundler/rmpbuildroot/BUILDROOT/SFX2-0.1-1.x86_64
      12:20:42 Wrote: /home/jenkins/workspace/SFX2-Linux/sfx2-frontend/target/application-bundle/bundles/SFX2-0.1-1.x86_64.rpm
      12:20:42 Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.XAoIW9
      12:20:42 + umask 022
      12:20:42 + cd /tmp/build3375603490833293885.fxbundler/rmpbuildroot/BUILD
      12:20:42 + exit 0
      12:20:42 Package (.rpm) saved to: /home/jenkins/workspace/SFX2-Linux/sfx2-frontend/target/application-bundle/bundles

        Attachments

          Activity

            People

            • Assignee:
              shemnon Danno Ferrin (Inactive)
              Reporter:
              jhohmuthjfx Jens Hohmuth (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: