bastif pushed to branch master at Debian Java Maintainers / vnu
Commits: b700dbe1 by Fab Stz at 2026-08-06T07:40:21+02:00 bin:vnu-server: Remove call to debug_failure function This function doesn't exist in this file and is not required here. - - - - - 9927471a by Fab Stz at 2026-08-06T07:54:19+02:00 Increase Stacksize to 3072 on loong64 in vnu & vnu-server scripts - - - - - adbfc969 by Fab Stz at 2026-08-06T07:55:26+02:00 Update changelog for 26.5.2.1+dfsg-2 release - - - - - 6 changed files: - debian/changelog - debian/java-wrappers/vnu-server.in - debian/java-wrappers/vnu.in - debian/rules - debian/vnu-jetty12.README.Debian - debian/vnu-tomcat11.README.Debian Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,10 @@ +vnu (26.5.2.1+dfsg-2) UNRELEASED; urgency=medium + + * bin:vnu-server: Remove call to debug_failure function + * Increase Stacksize to 3072 on loong64 in vnu & vnu-server scripts + + -- Fab Stz <[email protected]> Thu, 06 Aug 2026 07:54:54 +0200 + vnu (26.5.2.1+dfsg-1) unstable; urgency=medium * Stop adding html5spec to orig.tar ===================================== debian/java-wrappers/vnu-server.in ===================================== @@ -28,7 +28,6 @@ wait_until_ready() echo "Success." else echo "Failed (reached max count '$count_max')." >&2 - debug_failure >&2 exit 1 fi } @@ -90,9 +89,12 @@ if [ "$STOP" = 1 ]; then exit fi -if [ "$(dpkg --print-architecture)" = "i386" ] || [ "$(dpkg --print-architecture)" = "loong64" ]; then +if [ "$(dpkg --print-architecture)" = "i386" ]; then JAVA_ARGS="-Xss2048k $JAVA_ARGS" fi +if [ "$(dpkg --print-architecture)" = "loong64" ]; then + JAVA_ARGS="-Xss3072k $JAVA_ARGS" +fi find_jars "$PATH_TO_VNU_JAR"/vnu.jar ===================================== debian/java-wrappers/vnu.in ===================================== @@ -15,9 +15,12 @@ if [ "$DEBUG_WRAPPER" ]; then java_debug "Path to vnu.jar: $PATH_TO_VNU_JAR" fi -if [ "$(dpkg --print-architecture)" = "i386" ] || [ "$(dpkg --print-architecture)" = "loong64" ]; then +if [ "$(dpkg --print-architecture)" = "i386" ]; then JAVA_ARGS="-Xss2048k $JAVA_ARGS" fi +if [ "$(dpkg --print-architecture)" = "loong64" ]; then + JAVA_ARGS="-Xss3072k $JAVA_ARGS" +fi find_jars "$PATH_TO_VNU_JAR"/vnu.jar ===================================== debian/rules ===================================== @@ -62,7 +62,12 @@ ifneq ($(filter $(ARCH_REQUIRING_CUSTOM_XSS),$(DEB_HOST_ARCH)),) #Consider invoking java with the -Xss option. For example: #java -Xss512k -jar ~/vnu.jar FILE.html # with openjdk-21 512 was sufficient, but with openjdk-25 we need at least 1750 +ifeq (i386,$(DEB_HOST_ARCH)) BUILD_ARGS += --stacksize=2048 +endif +ifeq (loong64,$(DEB_HOST_ARCH)) + BUILD_ARGS += --stacksize=3072 +endif # Using _JAVA_OPTIONS doesn't work as an alternative: See: https://stackoverflow.com/q/49233449/15401262 #export _JAVA_OPTIONS="-Xss512k" endif ===================================== debian/vnu-jetty12.README.Debian ===================================== @@ -3,7 +3,10 @@ With jetty12, vnu webapp is reachable at: http://localhost:8080/vnu On some architectures (eg. i386, loong64), vnu needs the JVM to be invoked -with the following JVM option "-Xss2048k". +with the following JVM option "-Xss%SIZE%k". +Where %SIZE% is + - 2048 on i386 + - 3072 on loong64 This is enabled on these architecture with the following content in file /etc/jetty12/start.d/vnu-xss-${ARCH}.ini ===================================== debian/vnu-tomcat11.README.Debian ===================================== @@ -2,8 +2,8 @@ With tomcat11, vnu webapp is reachable at: http://localhost:8080/vnu -On some architectures (eg. i386, loong64), you may also have to launch -tomcat with the following JVM option "-Xss%SIZE%k". +On some architectures (eg. i386, loong64), vnu needs the JVM to be invoked +with the following JVM option "-Xss%SIZE%k". Where %SIZE% is - 2048 on i386 - 3072 on loong64 View it on GitLab: https://salsa.debian.org/java-team/vnu/-/compare/2f4a254d3db6356f4b5cf2f9ea9b0ef19befd539...adbfc96903bacecba408052e5db42aa571d03d2f -- View it on GitLab: https://salsa.debian.org/java-team/vnu/-/compare/2f4a254d3db6356f4b5cf2f9ea9b0ef19befd539...adbfc96903bacecba408052e5db42aa571d03d2f You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help
_______________________________________________ pkg-java-commits mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-commits

