JDK-8228722 : jpackage RPM tests fail on some versions of rpmbuild
  • Type: Bug
  • Component: tools
  • Sub-Component: jpackage
  • Affected Version: internal
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: linux
  • CPU: generic
  • Submitted: 2019-07-29
  • Updated: 2019-07-30
  • Resolved: 2019-07-30
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
internalFixed
Related Reports
Relates :  
Description
Information by Andy Herrik:
"all rpm tests are throwing exception from getRpmArch()"
"the exception is that thrown from line 68 of Base.java, because JPackageHelper.execute(out, "rpmbuild", "-E=%{_target_cpu}") returned non-zero."
Confirmed assumption was it's because of "-E" shortcut:
"yes --eval works fine."
Comments
http://hg.openjdk.java.net/jdk/sandbox/rev/6805e0ef7453
30-07-2019

http://cr.openjdk.java.net/~dchuyko/8228722/webrev.00/
29-07-2019