Source: octave Version: 5.1.0-4 Severity: important Tags: patch User: debian-h...@lists.debian.org Usertags: hurd
Hello, octave is currently not getting built on ports which do not have java support, because it build-depends on default-jdk which is not available there. The attach changes fix this. "patch" drops the default-jdk build-depency on those ports, so the package can be built there. The "always-build-octave-jar.patch" patch should be removed: since we do not have a jdk, calling javac can not work anyway. "patch2" makes sure that on ports without java support, we do not build the arch:all java-common package. always-build-octave-jar.patch was meant to make sure that non-java ports still properly build the octave-common package, but the thing is: they can not, since they do not have a javac to be run. But at least patch2 makes sure that they do not. arch:all packages are built by buildds on an amd64 box that has java support anyway. Samuel -- System Information: Debian Release: bullseye/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), (500, 'proposed-updates'), (500, 'oldstable-proposed-updates-debug'), (500, 'oldstable-proposed-updates'), (500, 'oldoldstable'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.4.0 (SMP w/8 CPU cores) Kernel taint flags: TAINT_OOT_MODULE Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) -- Samuel How do I type "for i in *.dvi do xdvi i done" in a GUI? (Discussion in comp.os.linux.misc on the intuitiveness of interfaces.)
--- debian/control.original 2020-01-01 19:10:58.000000000 +0000 +++ debian/control 2020-01-01 19:12:14.000000000 +0000 @@ -7,7 +7,7 @@ Build-Depends: automake, bison, debhelper-compat (= 12), - default-jdk, + default-jdk [!hppa !hurd-any !kfreebsd-any], desktop-file-utils, dh-exec, epstool,
--- debian/rules.original 2019-10-30 11:35:16.000000000 +0000 +++ debian/rules 2020-01-02 00:50:29.000000000 +0000 @@ -76,6 +76,12 @@ env OCTAVE=./run-octave debian/tests/builtin-features endif +ifneq (,$(filter $(DEB_HOST_ARCH),$(NO_JDK_ARCHS))) +override_dh_auto_build-indep: + # We can not build java-common on these + false +endif + # override normal dh_compress call to avoid compressing .pdf files override_dh_compress: dh_compress --exclude=.pdf