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

tools/jpackage tests fail with old rpmbuild versions

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 15
    • Fix Version/s: 15
    • Component/s: tools
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b12
    • CPU:
      generic
    • OS:
      generic

      Description

      Currently the tools/jpackage tests, for example jdk/test/jdk/tools/jpackage/linux/AppCategoryTest.java fail on older distros with rpmbuild tools < 4.10 .
      This can be seen on Suse Linux (SLES11) with rpmbuild 4.4 and on RedHat 6 with rpmbuild 4.8 .
      For example, rpmbuild returns an unexpected "rpmbuild: no spec files given for build" when calling :

      > rpmbuild --eval=%{_target_cpu}
      > x86_64
      > rpmbuild: no spec files given for build

      Probably we should check for at least rpmbuild version 4.10 when executing the tests (on Suse Linux 12 and on RedHat 7+ we have rpmbuild 4.11 or higher).

        Attachments

          Activity

            People

            Assignee:
            mbaesken Matthias Baesken
            Reporter:
            mbaesken Matthias Baesken
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: