-
Bug
-
Resolution: Fixed
-
P4
-
14, 15
-
b24
-
linux
Several jpackage jtreg tests fail on Debian with this error:
Generating DEB for installer to: /home/nicgas01/jdk/build/linux-aarch64-server-release/test-support/jtreg_test_jdk_tools_jpackage_linux_AppCategoryTest_java/tools/jpackage/linux/AppCategoryT\
est/./output/appcategorytest_1.0-1_arm64.deb.
Running [fakeroot, dpkg-deb, --verbose, -b, /tmp/jdk.incubator.jpackage5360969385964413475/images, /home/nicgas01/jdk/build/linux-aarch64-server-release/test-support/jtreg_test_jdk_tools_jpa\
ckage_linux_AppCategoryTest_java/tools/jpackage/linux/AppCategoryTest/./output/appcategorytest_1.0-1_arm64.deb]
dpkg-deb: error: parsing file '/tmp/jdk.incubator.jpackage5360969385964413475/images/DEBIAN/control' near line 9 package 'appcategorytest':
end of file during value of field 'Installed-Size' (missing final newline)
java.io.IOException: Command [fakeroot, dpkg-deb, --verbose, -b, /tmp/jdk.incubator.jpackage5360969385964413475/images, /home/nicgas01/jdk/build/linux-aarch64-server-release/test-support/jtr\
eg_test_jdk_tools_jpackage_linux_AppCategoryTest_java/tools/jpackage/linux/AppCategoryTest/./output/appcategorytest_1.0-1_arm64.deb] exited with 2 code
at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.Executor.executeExpectSuccess(Executor.java:73)
dpkg-deb requires the control file end with a final newline. Seen on Ubuntu 18.04 and Debian Bullseye.
Generating DEB for installer to: /home/nicgas01/jdk/build/linux-aarch64-server-release/test-support/jtreg_test_jdk_tools_jpackage_linux_AppCategoryTest_java/tools/jpackage/linux/AppCategoryT\
est/./output/appcategorytest_1.0-1_arm64.deb.
Running [fakeroot, dpkg-deb, --verbose, -b, /tmp/jdk.incubator.jpackage5360969385964413475/images, /home/nicgas01/jdk/build/linux-aarch64-server-release/test-support/jtreg_test_jdk_tools_jpa\
ckage_linux_AppCategoryTest_java/tools/jpackage/linux/AppCategoryTest/./output/appcategorytest_1.0-1_arm64.deb]
dpkg-deb: error: parsing file '/tmp/jdk.incubator.jpackage5360969385964413475/images/DEBIAN/control' near line 9 package 'appcategorytest':
end of file during value of field 'Installed-Size' (missing final newline)
java.io.IOException: Command [fakeroot, dpkg-deb, --verbose, -b, /tmp/jdk.incubator.jpackage5360969385964413475/images, /home/nicgas01/jdk/build/linux-aarch64-server-release/test-support/jtr\
eg_test_jdk_tools_jpackage_linux_AppCategoryTest_java/tools/jpackage/linux/AppCategoryTest/./output/appcategorytest_1.0-1_arm64.deb] exited with 2 code
at jdk.incubator.jpackage/jdk.incubator.jpackage.internal.Executor.executeExpectSuccess(Executor.java:73)
dpkg-deb requires the control file end with a final newline. Seen on Ubuntu 18.04 and Debian Bullseye.