RFR(XS): 8244981: jpackage error due to missing final newline in Debian control file
Nick Gasson
nick.gasson at arm.com
Thu May 14 08:18:19 UTC 2020
Hi,
Bug: https://bugs.openjdk.java.net/browse/JDK-8244981
Webrev: http://cr.openjdk.java.net/~ngasson/8244981/webrev.0/
Several jpackage jtreg tests fail on Debian/Ubuntu with this error:
Running [fakeroot, dpkg-deb, --verbose, -b, <..snip..>]
dpkg-deb: error: parsing file '/tmp/<..snip..>/images/DEBIAN/control' near line 9 package 'appcategorytest':
end of file during value of field 'Installed-Size' (missing final newline)
dpkg-deb requires each field in the control file to be terminated with a
newline. This patch adds a trailing newline to all resource files, but I
think that shouldn't cause a problem.
Tested with jdk/tools/jpackage jtreg tests.
--
Thanks,
Nick
More information about the core-libs-dev
mailing list