RFR: 8235482: [TESTBUG] PackageType LINUX_RPM should be excluded for jpackage tests on debian systems
Alexey Semenyuk
alexey.semenyuk at oracle.com
Tue Dec 10 15:53:19 UTC 2019
Daniel,
You need to have 'rpmbuild' and 'rpm' command in the path to enable
jpackage build rpm packages.
- Alexey
On 12/10/2019 3:42 AM, Daniel Peintner wrote:
> All,
>
> I think I have a related question/problem.
>
> I was able to run the latest jpackage build (14-jpackage+1-70
> (2019/11/12)) successfully on Windows creating msi and on Ubuntu
> creating deb.
>
> However, I fail to create a rpm package. I tried both, openSUSE Leap
> 15.1 and also Fedora 31.
>
> Both fail with the statement:
> Error: Invalid or unsupported type: [rpm]
>
> Is this a known error?
>
> I am using the badass-runtime-plugin [1] but I don't think the plugin
> is causing issues.
>
> Thanks,
>
> -- Daniel
>
> [1] https://github.com/beryx/badass-runtime-plugin/
>
>
>
>
> On Sat, Dec 7, 2019 at 1:42 AM Jie Fu <fujie at loongson.cn
> <mailto:fujie at loongson.cn>> wrote:
>
> Hi Alexey,
>
> Thanks for your review and comments.
>
> I have two questions:
> - 1) Have you ever tried the rpm tests on a debian system?
> - 2) How to decide whether the rpm tests are supported on a
> debian system?
>
> Thanks a lot.
> Best regards,
> Jie
>
> On 2019/12/7 上午1:26, Alexey Semenyuk wrote:
> > This fix will disable running rpm tests on Debian systems that
> support
> > it. This is not a good idea.
> > If you need to exclude some packaging from jpackage tests, just run
> > jtreg with "jpackage.test.disabledPackagers" system property set to
> > the list of corresponding package types. E.g.:
> > -Djpackage.test.disabledPackagers=rpm will disable rpm packaging.
> >
> > - Alexey
> >
> > On 12/6/2019 7:51 AM, Jie Fu wrote:
> >> Hi all,
> >>
> >> May I get reviews for the small fix?
> >>
> >> JBS: https://bugs.openjdk.java.net/browse/JDK-8235482
> >> Webrev: http://cr.openjdk.java.net/~jiefu/8235482/webrev.00/
> >>
> >> Thanks a lot.
> >> Best regards,
> >> Jie
> >>
>
More information about the core-libs-dev
mailing list