Hi Adam, On Fri, Mar 03, 2017 at 05:41:51PM +0000, Adam D. Barratt wrote: > On 2017-03-03 17:29, Breno Leitao wrote: > >Package jsvc (commons-daemon) contains a patch enabling ppc64el on > >version 1.0.15-6 (currently on Jessie), but it does not work. A new > >patch required to add functional support for commons-daemon on ppc64el. > > > >This patch is already commited on upstream as in Stretch. > > > >You can find more information about this bug at #856560. > > > >Let me know if I can update a fixed package in stable. > > We'd need to see a source debdiff for the proposed (and tested) package > first, please.
Sure. This is the debdiff I have. I tested it and it solves the problem on ppc64el, and it does not seem cause any regression on amd64.
diff -Nru commons-daemon-1.0.15/debian/changelog commons-daemon-1.0.15/debian/changelog --- commons-daemon-1.0.15/debian/changelog 2014-11-11 10:01:45.000000000 -0500 +++ commons-daemon-1.0.15/debian/changelog 2017-03-03 13:47:51.000000000 -0500 @@ -1,3 +1,11 @@ +commons-daemon (1.0.15-6+deb8u1) jessie; urgency=medium + + * Team upload. + * This package is broken on Jessie, showing "Cannot find any VM in Java + Home". Fixing it. (Closes: #856560) + + -- Breno Leitao <lei...@debian.org> Fri, 03 Mar 2017 13:47:51 -0500 + commons-daemon (1.0.15-6) unstable; urgency=medium * Team upload. diff -Nru commons-daemon-1.0.15/debian/patches/ppc64el.diff commons-daemon-1.0.15/debian/patches/ppc64el.diff --- commons-daemon-1.0.15/debian/patches/ppc64el.diff 2014-11-11 10:01:45.000000000 -0500 +++ commons-daemon-1.0.15/debian/patches/ppc64el.diff 2017-03-03 13:34:37.000000000 -0500 @@ -1,7 +1,7 @@ Description: Add ppc64el support Author: Colin Watson <cjwat...@ubuntu.com> -Forwarded: https://issues.apache.org/jira/browse/DAEMON-326 -Last-Update: 2014-11-06 +Forwarded: https://issues.apache.org/jira/browse/DAEMON-358 +Last-Update: 2017-03-02 Index: b/src/native/unix/configure =================================================================== @@ -12,9 +12,9 @@ HOST_CPU=aarch64 ;; + powerpc64le) -+ CFLAGS="$CFLAGS -DCPU=\\\"powerpc64le\\\"" -+ supported_os="powerpc64le" -+ HOST_CPU=powerpc64le ++ CFLAGS="$CFLAGS -DCPU=\\\"ppc64le\\\"" ++ supported_os="ppc64le" ++ HOST_CPU=ppc64le + ;; *) echo "$as_me:$LINENO: result: failed" >&5 @@ -28,9 +28,9 @@ HOST_CPU=aarch64 ;; + powerpc64le) -+ CFLAGS="$CFLAGS -DCPU=\\\"powerpc64le\\\"" -+ supported_os="powerpc64le" -+ HOST_CPU=powerpc64le ++ CFLAGS="$CFLAGS -DCPU=\\\"ppc64le\\\"" ++ supported_os="ppc64le" ++ HOST_CPU=ppc64le + ;; *) AC_MSG_RESULT([failed])
pgpo1GLhts7v8.pgp
Description: PGP signature