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

minion build fails with makerpm.sh -a

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 18.0.0
    • Fix Version/s: 19.0.0
    • Component/s: Build / Packaging
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None

      Description

      The minion spec file doesn't perform its own building, so the tarball resources it is looking for don't exist when run under `makerpm.sh -a` which skips the compile.pl and only does assemble. It assumes that the maven resources will be pulled down as-needed from OpenNMS and Maven Central during the assembly stage.

      + cd /home/bamboo/git/opennms/target/rpm/BUILD
      + mkdir -p /home/bamboo/git/opennms/target/rpm/BUILDROOT/opennms-minion-18.0.0-1.x86_64/opt/minion
      + tar zxvf /home/bamboo/git/opennms/target/rpm/BUILD/opennms-18.0.0-1/features/minion/container/karaf/target/karaf-*.tar.gz -C /home/bamboo/git/opennms/target/rpm/BUILDROOT/opennms-minion-18.0.0-1.x86_64/opt/minion --strip-components=1
      tar (child): /home/bamboo/git/opennms/target/rpm/BUILD/opennms-18.0.0-1/features/minion/container/karaf/target/karaf-*.tar.gz: Cannot open: No such file or directory
      tar (child): Error is not recoverable: exiting now
      tar: Child returned status 2
      tar: Error is not recoverable: exiting now
      error: Bad exit status from /home/bamboo/git/opennms/target/rpm/tmp/rpm-tmp.v2yu4G (%install)

        Attachments

          Activity

            People

            • Assignee:
              ranger Benjamin Reed
              Reporter:
              ranger Benjamin Reed
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: