Debian Bug report logs - #873996
FTBFS with Java 9 due to -source/-target only

version graph

Package: src:octave; Maintainer for src:octave is Debian Octave Group <team+pkg-octave-team@tracker.debian.org>;

Reported by: Chris West <solo-debianbugs@goeswhere.com>

Date: Fri, 1 Sep 2017 20:09:01 UTC

Severity: normal

Found in version octave/4.2.1

Fixed in version octave/4.2.1-3

Done: Sébastien Villemot <sebastien@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>:
Bug#873996; Package src:octave. (Fri, 01 Sep 2017 20:09:04 GMT) (full text, mbox, link).


Acknowledgement sent to Chris West <solo-debianbugs@goeswhere.com>:
New Bug report received and forwarded. Copy sent to Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>. (Fri, 01 Sep 2017 20:09:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Chris West <solo-debianbugs@goeswhere.com>
To: submit@bugs.debian.org
Subject: FTBFS with Java 9 due to -source/-target only
Date: Fri, 1 Sep 2017 21:05:45 +0100
Source: octave
Version: 4.2.1
Severity: normal
User: debian-java@lists.debian.org
Usertags: default-java9

This package fails to build with default-jdk pointing to openjdk-9-jdk.
The wiki has some common problems and their solutions:
https://wiki.debian.org/Java/Java9Pitfalls

An automated tool has decided that this package will build fine if the
-source and -target options are changed to 1.6; no additional changes
are required. This was done by building with a compiler that changed
the settings automatically, then the real compiler, and diffing the
results. This modified compiler will never be part of Debian.

ant and Maven are supposed to do this for you, and I've tried to check
that this package is not using ant or Maven correctly, but I might have
messed up.

Build log sample, a bit messed up due to parallel:

	( cd ./scripts/java; "javac" -source 1.3 -target 1.3 -Xlint:-options -d /build/octave-4.2.1/scripts/java org/octave/OctaveReference.java )
error: Source option 1.3 is no longer supported. Use 1.6 or later.
error: Target option 1.3 is no longer supported. Use 1.6 or later.

...

Makefile:27394: recipe for target 'scripts/java/org/octave/OctaveReference.class' failed
make[3]: *** [scripts/java/org/octave/OctaveReference.class] Error 2

...

make[3]: Leaving directory '/build/octave-4.2.1'
Makefile:26173: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1


Cheers,
Chris.




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>:
Bug#873996; Package src:octave. (Fri, 01 Sep 2017 20:15:08 GMT) (full text, mbox, link).


Acknowledgement sent to Mike Miller <mtmiller@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>. (Fri, 01 Sep 2017 20:15:08 GMT) (full text, mbox, link).


Message #10 received at 873996@bugs.debian.org (full text, mbox, reply):

From: Mike Miller <mtmiller@debian.org>
To: Chris West <solo-debianbugs@goeswhere.com>, 873996@bugs.debian.org
Subject: Re: [Pkg-octave-devel] Bug#873996: FTBFS with Java 9 due to -source/-target only
Date: Fri, 1 Sep 2017 13:14:15 -0700
[Message part 1 (text/plain, inline)]
On Fri, Sep 01, 2017 at 21:05:45 +0100, Chris West wrote:
> This package fails to build with default-jdk pointing to openjdk-9-jdk.

If/when this needs to be patched in unstable, here is the upstream fix
that can be cherry-picked:

https://hg.savannah.gnu.org/hgweb/octave/rev/20c83f619102

-- 
mike
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>:
Bug#873996; Package src:octave. (Sun, 10 Sep 2017 19:54:02 GMT) (full text, mbox, link).


Acknowledgement sent to Sébastien Villemot <sebastien@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>. (Sun, 10 Sep 2017 19:54:02 GMT) (full text, mbox, link).


Message #15 received at 873996@bugs.debian.org (full text, mbox, reply):

From: Sébastien Villemot <sebastien@debian.org>
To: 873996@bugs.debian.org
Cc: control@bugs.debian.org
Subject: [pkg-octave/master] java9.patch: new patch, fixes FTBFS with Java 9.
Date: Sun, 10 Sep 2017 19:50:42 +0000
tag 873996 pending
thanks

Date: Sun Sep 10 17:33:51 2017 +0200
Author: Sébastien Villemot <sebastien@debian.org>
Commit ID: eb21f1084dd1b6c879d757afb028a105daf25026
Commit URL: https://anonscm.debian.org/cgit/pkg-octave/octave.git;a=commitdiff;h=eb21f1084dd1b6c879d757afb028a105daf25026
Patch URL: https://anonscm.debian.org/cgit/pkg-octave/octave.git;a=commitdiff_plain;h=eb21f1084dd1b6c879d757afb028a105daf25026

    java9.patch: new patch, fixes FTBFS with Java 9.

    Closes: #873996
      



Added tag(s) pending. Request was from Sébastien Villemot <sebastien@debian.org> to control@bugs.debian.org. (Sun, 10 Sep 2017 19:54:04 GMT) (full text, mbox, link).


Reply sent to Sébastien Villemot <sebastien@debian.org>:
You have taken responsibility. (Sun, 10 Sep 2017 21:15:16 GMT) (full text, mbox, link).


Notification sent to Chris West <solo-debianbugs@goeswhere.com>:
Bug acknowledged by developer. (Sun, 10 Sep 2017 21:15:16 GMT) (full text, mbox, link).


Message #22 received at 873996-close@bugs.debian.org (full text, mbox, reply):

From: Sébastien Villemot <sebastien@debian.org>
To: 873996-close@bugs.debian.org
Subject: Bug#873996: fixed in octave 4.2.1-3
Date: Sun, 10 Sep 2017 21:12:45 +0000
Source: octave
Source-Version: 4.2.1-3

We believe that the bug you reported is fixed in the latest version of
octave, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 873996@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sébastien Villemot <sebastien@debian.org> (supplier of updated octave package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 10 Sep 2017 17:34:32 +0200
Source: octave
Binary: octave octave-common octave-doc octave-htmldoc octave-info liboctave4 liboctave-dev
Architecture: source
Version: 4.2.1-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>
Changed-By: Sébastien Villemot <sebastien@debian.org>
Description:
 liboctave-dev - Development files for the GNU Octave language
 liboctave4 - Shared libraries of the GNU Octave language
 octave     - GNU Octave language for numerical computations
 octave-common - architecture-independent files for octave
 octave-doc - PDF documentation on the GNU Octave language
 octave-htmldoc - HTML documentation on the GNU Octave language
 octave-info - GNU Info documentation on the GNU Octave language
Closes: 867212 870657 870690 873996 875063
Changes:
 octave (4.2.1-3) unstable; urgency=medium
 .
   [ Sébastien Villemot ]
   * d/strncmp.patch: new patch, makes strncmp case-sensitive again.
     Thanks to Thierry Rascle (Closes: #867212)
   * d/rules: drop --max-parallel workaround to dh_auto_install.
     As a consequence, build-depend on debhelper ≥ 10.3.
   * Set gnuplot-qt as the preferred gnuplot alternative, also add gnuplot-nox.
   * d/control: drop useless Breaks on liboctave{1,2,3}.
   * d/watch: revert to xz format only.
     The dropping of .xz in 4.2.0 was an accident, now repaired. And if we also
     check for .gz, it takes precedence, which is not what we want.
   * Enforce generic BLAS.
     Avoids tying the binary to OpenBLAS or ATLAS.
   * No longer run the testsuite using xvfb-run.
     This fixes SIGILL with Qt5.
   * Install back the PDF files of the octave-doc package in
     /usr/share/doc/octave-doc. This fixes FTBFS with DEB_BUILD_OPTIONS=nodoc.
     The PDF will be moved again to /usr/share/doc/octave when we bump to
     debhelper compat level 11.
   * java9.patch: new patch, fixes FTBFS with Java 9. (Closes: #873996)
 .
   [ Mike Miller ]
   * d/control: drop useless Build-Depends on libftgl-dev. (Closes: #870657)
   * d/control: Build-Depends on bison, gperf, icoutils, librsvg2-bin.
   * d/clean: List files in the source distribution that should be rebuilt.
     (Closes: #870690)
   * d/control: Build-Depend on Qt 5 libraries, drop Qt 4 equivalents.
     (Closes: #875063)
   * d/control: drop obsolete Conflicts/Replaces against octave-java.
   * d/octave.postinst: run /usr/bin/octave explicitly to build package cache.
 .
   [ Rafael Laboissiere ]
   * d/u/metadata: Change type of reference to "manual"
   * d/u/metadata: Use BibTeX format in Author field
   * d/u/metadata: Update reference for version 4.2.0
   * d/p/add-corrcoef-function.patch: New patch
   * d/control: Bump Standards-Version to 4.1.0 (no changes needed)
Checksums-Sha1:
 640bc59431a74fbcc687ff1b5ce4fc4539683c19 2978 octave_4.2.1-3.dsc
 2d122e011b9c387c4ed7b1b322d98978b0bc9ee9 64480 octave_4.2.1-3.debian.tar.xz
 41c62fd2da2cb6f31015b9c144140aa358451dc4 22336 octave_4.2.1-3_amd64.buildinfo
Checksums-Sha256:
 776d7b3f24d5c52f1d06f42c59d4337acd702cd4fc858173e0dcc6ea590fecc4 2978 octave_4.2.1-3.dsc
 5ab15840204a819d6d3279849298a30befdb918654f4c9fbb64527c53b25c624 64480 octave_4.2.1-3.debian.tar.xz
 4c975b5e5481c2acabfb3b7f3d69feccd6d6f6425e8869fd53b75e5db58ef6c0 22336 octave_4.2.1-3_amd64.buildinfo
Files:
 c26988bae0157e5e47b8bee88449882a 2978 math optional octave_4.2.1-3.dsc
 c7a4a6e281755c125cc721949d6c4e20 64480 math optional octave_4.2.1-3.debian.tar.xz
 e77418296e85df73b82c782cf3524697 22336 math optional octave_4.2.1-3_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEU5UdlScuDFuCvoxKLOzpNQ7OvkoFAlm1l4AACgkQLOzpNQ7O
vkrAZQ//VIT5iGltTfyuwWcZayLS1ZlfSDFL6UnQSJvnobDLaHoWnnvu48nt1wEV
KzRLhM2HzD57q2pBxvepYuRV2ZOZ0TdXxSC3czaT6tvm0qGlPunWHRe8mbx955Cx
INYMn0CxyEJTP2mblzIxIib9geoHtP6kJgDkVnTGz07o9imFH3QKGct2o+Hfyyrv
jY6ZHnj09Ia4IiF4Dtm2LK5v00ZONa1ajr9AZDIeGV1IGR4pWtykYGgTRNcTv8Vk
rUnWVZoMvZz1oTyw37fdL+y4t10LOa714yF2/SM9kiRt3oPvFpeuO+jmS9Azwnly
4/CU/xzsvXBhp5ziU9iyaU49LQJWfk66uHwlZJPWlZKP7m4BzQBoRY8l8pHnVnzK
pITceOXRrKyHfPttB5xE2pgXJONlarUHswde74sapp5R7JzssF9unka2Xsv/KruT
s7Si95Ib5yh/LxwsVNjEoQSsSXO4jYthetr2jbzLo9Vahky4EVEk/s1kxzf5APEI
ByDIfSknpKmhVuPMjyxNI2dXO0Vej114V765cuGSjmt3VDDrJAYw96NT1FNBqRvl
H0r5xRtRyaSHoQDfopJTKEqsIDc3m7NwMEskBSgr8GlQLSw7xwWOy5S1wmzYi3iA
etlre9S+grkM4mApivKA0XsaBk90G8jQCuzsrDlqjSvYEAJC3/U=
=35Dl
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 09 Oct 2017 08:05:50 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Jul 1 15:06:02 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.