Debian Bug report logs - #841173
openjdk-9: FTBFS on mips*

version graph

Package: src:openjdk-9; Maintainer for src:openjdk-9 is (unknown);

Reported by: James Cowgill <jcowgill@debian.org>

Date: Tue, 18 Oct 2016 09:33:09 UTC

Severity: important

Tags: patch

Found in versions openjdk-9/9~b177-3, openjdk-9/9~b139-1

Fixed in version 9~b179-1

Done: Matthias Klose <doko@debian.org>

Bug is archived. No further changes may be made.

Forwarded to https://bugs.openjdk.java.net/browse/JDK-8170639

Toggle useless messages

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


Report forwarded to debian-bugs-dist@lists.debian.org, unknown-package@qa.debian.org:
Bug#841173; Package src:openjdk-9. (Tue, 18 Oct 2016 09:33:11 GMT) (full text, mbox, link).


Acknowledgement sent to James Cowgill <jcowgill@debian.org>:
New Bug report received and forwarded. Copy sent to unknown-package@qa.debian.org. (Tue, 18 Oct 2016 09:33:11 GMT) (full text, mbox, link).


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

From: James Cowgill <jcowgill@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: openjdk-9: FTBFS on mips*
Date: Tue, 18 Oct 2016 10:32:24 +0100
[Message part 1 (text/plain, inline)]
Source: openjdk-9
Version: 9~b139-1
Severity: important
Tags: patch

Hi,

openjdk-9 FTBFS on mips* with the error:

/«PKGBUILDDIR»/src/hotspot/src/os/linux/vm/jsig.c:47:2: error: #error
"Not all signals can be encoded in jvmsigs. Adapt its type!"
 #error "Not all signals can be encoded in jvmsigs. Adapt its type!"
  ^~~~~

This is because MIPS has 128 signals which the code added to OpenJDK 9
does not take into account. The attached patch fixes this by using
sigset_t to store the list of signals used by the JVM.

The patch was originally written for 9~b139-1, but I'm running another
build now for 9~b140-1 and I will let you know how it goes
(unfortunately it takes ages).

Thanks,
James
[mips-sigset.diff (text/x-patch, attachment)]
[signature.asc (application/pgp-signature, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, unknown-package@qa.debian.org:
Bug#841173; Package src:openjdk-9. (Wed, 19 Oct 2016 09:09:03 GMT) (full text, mbox, link).


Acknowledgement sent to James Cowgill <jcowgill@debian.org>:
Extra info received and forwarded to list. Copy sent to unknown-package@qa.debian.org. (Wed, 19 Oct 2016 09:09:03 GMT) (full text, mbox, link).


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

From: James Cowgill <jcowgill@debian.org>
To: 841173@bugs.debian.org
Subject: Re: Bug#841173: openjdk-9: FTBFS on mips*
Date: Wed, 19 Oct 2016 10:06:13 +0100
[Message part 1 (text/plain, inline)]
On 18/10/16 10:32, James Cowgill wrote:
> The patch was originally written for 9~b139-1, but I'm running another
> build now for 9~b140-1 and I will let you know how it goes
> (unfortunately it takes ages).

I tested openjdk-9_9~b140-1 with my patch on amd64, mips64el and mipsel
and it built fine on all of them.

Thanks,
James

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

Information forwarded to debian-bugs-dist@lists.debian.org, OpenJDK Team <openjdk@lists.launchpad.net>:
Bug#841173; Package src:openjdk-9. (Tue, 29 Nov 2016 14:48:02 GMT) (full text, mbox, link).


Acknowledgement sent to Matthias Klose <doko@debian.org>:
Extra info received and forwarded to list. Copy sent to OpenJDK Team <openjdk@lists.launchpad.net>. (Tue, 29 Nov 2016 14:48:02 GMT) (full text, mbox, link).


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

From: Matthias Klose <doko@debian.org>
To: 841173@bugs.debian.org, 841173-submitter@bugs.debian.org
Subject: Re: openjdk-9: FTBFS on mips*
Date: Tue, 29 Nov 2016 15:44:30 +0100
Please can you forward the issue upstream?



Message sent on to James Cowgill <jcowgill@debian.org>:
Bug#841173. (Tue, 29 Nov 2016 14:48:03 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, OpenJDK Team <openjdk@lists.launchpad.net>:
Bug#841173; Package src:openjdk-9. (Fri, 02 Dec 2016 11:00:03 GMT) (full text, mbox, link).


Acknowledgement sent to James Cowgill <jcowgill@debian.org>:
Extra info received and forwarded to list. Copy sent to OpenJDK Team <openjdk@lists.launchpad.net>. (Fri, 02 Dec 2016 11:00:03 GMT) (full text, mbox, link).


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

From: James Cowgill <jcowgill@debian.org>
To: 841173@bugs.debian.org
Subject: Re: Bug#841173: openjdk-9: FTBFS on mips*
Date: Fri, 2 Dec 2016 10:58:29 +0000
[Message part 1 (text/plain, inline)]
Control: forwarded -1 https://bugs.openjdk.java.net/browse/JDK-8170639

On 29/11/16 14:44, Matthias Klose wrote:
> Please can you forward the issue upstream?

So as discussed upstream, this won't make it into OpenJDK 9 so can the
patch be applied directly to Debian instead?

Thanks,
James

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

Set Bug forwarded-to-address to 'https://bugs.openjdk.java.net/browse/JDK-8170639'. Request was from James Cowgill <jcowgill@debian.org> to 841173-submit@bugs.debian.org. (Fri, 02 Dec 2016 11:00:03 GMT) (full text, mbox, link).


Reply sent to Matthias Klose <doko@ubuntu.com>:
You have taken responsibility. (Fri, 07 Jul 2017 16:24:05 GMT) (full text, mbox, link).


Notification sent to James Cowgill <jcowgill@debian.org>:
Bug acknowledged by developer. (Fri, 07 Jul 2017 16:24:05 GMT) (full text, mbox, link).


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

From: Matthias Klose <doko@ubuntu.com>
To: 841173-close@bugs.debian.org
Subject: Bug#841173: fixed in openjdk-9 9~b177-2
Date: Fri, 07 Jul 2017 16:20:38 +0000
Source: openjdk-9
Source-Version: 9~b177-2

We believe that the bug you reported is fixed in the latest version of
openjdk-9, 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 841173@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klose <doko@ubuntu.com> (supplier of updated openjdk-9 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: Fri, 07 Jul 2017 12:28:53 +0200
Source: openjdk-9
Binary: openjdk-9-jdk-headless openjdk-9-jre-headless openjdk-9-jdk openjdk-9-jre openjdk-9-demo openjdk-9-source openjdk-9-doc openjdk-9-dbg openjdk-9-jre-zero
Architecture: source
Version: 9~b177-2
Distribution: unstable
Urgency: medium
Maintainer: OpenJDK Team <openjdk@lists.launchpad.net>
Changed-By: Matthias Klose <doko@ubuntu.com>
Description:
 openjdk-9-dbg - Java runtime based on OpenJDK (debugging symbols)
 openjdk-9-demo - Java runtime based on OpenJDK (demos and examples)
 openjdk-9-doc - OpenJDK Development Kit (JDK) documentation
 openjdk-9-jdk - OpenJDK Development Kit (JDK)
 openjdk-9-jdk-headless - OpenJDK Development Kit (JDK) (headless)
 openjdk-9-jre - OpenJDK Java runtime, using ${vm:Name}
 openjdk-9-jre-headless - OpenJDK Java runtime, using ${vm:Name} (headless)
 openjdk-9-jre-zero - Alternative JVM for OpenJDK, using Zero/Shark
 openjdk-9-source - OpenJDK Development Kit (JDK) source files
Closes: 841173 850268 863080 864288 864351 864359 864595 864596 864643 865129 866924
Changes:
 openjdk-9 (9~b177-2) unstable; urgency=medium
 .
   * Try to build zero again on amd64, arm64, ppc64el and s390x.
   * Keep the conf/* symlinks in the JAVA_HOME directory.
     Closes: #866924, #863080.
   * Drop armel from the list of hotspot architectures. See #864464.
   * Stop using deprecated GNOME libraries. Closes: #850268.
   * Apply sparc64 build fixes (Adrian Glaubitz). Closes: #864351.
   * Update the zero-sparc patch (Adrian Glaubitz). Closes: #864359.
   * Update the m68k-support patch (Adrian Glaubitz). Closes: #864595.
   * Disable generation of jvmti.html on m68k (Adrian Glaubitz).
     Closes: #864596.
   * Update the zero-sh patch (Adrian Glaubitz). Closes: #864643.
   * Update the jdk-target-arch-define patch. Closes: #865129.
   * Provide jvmdir symlink in /usr/lib/debug. Addresses: #867314.
   * Fix pt_BR translation in awt message. Addresses: #863331.
   * Drop the 8073754-stack-overflow-9-build patch. Closes: #864288.
   * Use sigset_t to store the signals used by the JVM (James Cowgill).
     Closes: #841173.
Checksums-Sha1:
 f484d75a6b77a79ea9b5380497792c99cb778a87 4494 openjdk-9_9~b177-2.dsc
 1251666282702a872bdc17cc5544c20b77bb6a75 198828 openjdk-9_9~b177-2.debian.tar.xz
 db41b1774ab900d9fceb42c7995c424b5676f494 17050 openjdk-9_9~b177-2_source.buildinfo
Checksums-Sha256:
 0cd07587d75908e797ec698c1c93f8e407c18580d27725e3b695b3818868cd20 4494 openjdk-9_9~b177-2.dsc
 21317ad2b445de99b2d393f102b6cb0409a9c07fd890a0b3b442410ba4eb9074 198828 openjdk-9_9~b177-2.debian.tar.xz
 12f344293eacaa6780441320e073942a258bc790b494659cbaaa9b90e2a643c6 17050 openjdk-9_9~b177-2_source.buildinfo
Files:
 ce2a8cb6d70dd4eef19aec1ba10ad071 4494 java optional openjdk-9_9~b177-2.dsc
 2a647d1278bb69ae1bda5516781b0948 198828 java optional openjdk-9_9~b177-2.debian.tar.xz
 a379bfd753a137152c85067e770215b3 17050 java optional openjdk-9_9~b177-2_source.buildinfo

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

iQJEBAEBCAAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAllfrx8QHGRva29AdWJ1
bnR1LmNvbQAKCRC9fqpgd4+m9ZKpD/99hgKn7qJnL1eAhIC7WHI1N61mcZlOA89B
i4onrDpwSIvLevs/yK9DNyD7ZU40PXSceeebOK72FIp8g/fZzCfJe5kIFKcEo5LX
LVW7CgR/CyyX5Kf/DXVkLzSovCtVNXMCII/C12Cqw4T5Q7VwajOqS6Tv1zWvbO6k
eWbHCCn6iGQ6d40KD02bJFsGWmb5WeddmvZQEqop4flgNLbYeiKvR0JS5z39Mlus
nUm55N8IbgsX6YrziUlqvXjUoLAN6PxnhtWnsr7dv9bqZRfZ1p4CBhNNJoC1BQKZ
L91nUYzGwBBupw62z0wSQzn7i1BOEUnplLZhGccDyoUdlAB0iqdZrqKB44I2hfFr
YvQJR6ItDNZWNS/JlVLkAcB4IPYXiOeujN+7U8mBC1HNeJ1RfZqyuhm8BGit06ED
lNuj43lvD1rA98uR13iy2RcRYIfA1INXNPort3zbB3SXK9XZvBWaaBFwbNxTZ56s
GtX5AEdQnWHRv4ayV1wX91yfwnuqHCZ7wx+8tSmR3HPhHraqagZ3yqr4k1TtFNFc
E4q+PxaDEL1NN/26zrORbjA5tYvVCBnPtYVdIQrQPJavKTWaweqB8hgO8LCXd1TK
FuLNle4aaFtx58rlQa8vg1y853IsTANzgQH4FhrE6iTyRvtXd0wYm3qVFn1U3kMM
Cd0EHE3lqA==
=PDV6
-----END PGP SIGNATURE-----




Information forwarded to debian-bugs-dist@lists.debian.org, OpenJDK Team <openjdk@lists.launchpad.net>:
Bug#841173; Package src:openjdk-9. (Sat, 08 Jul 2017 06:39:12 GMT) (full text, mbox, link).


Acknowledgement sent to John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>:
Extra info received and forwarded to list. Copy sent to OpenJDK Team <openjdk@lists.launchpad.net>. (Sat, 08 Jul 2017 06:39:12 GMT) (full text, mbox, link).


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

From: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
To: Debian Bug Tracking System <841173@bugs.debian.org>
Subject: Re: openjdk-9: FTBFS on mips*
Date: Sat, 08 Jul 2017 08:38:54 +0200
Source: openjdk-9
Version: 9~b177-3
Followup-For: Bug #841173
Control: reopen -1

The build currently fails on mips* now because the patch
mips-sigset.diff is applied twice, once in the list above

        (...)
        jtreg-location.diff \
        sparc64-fixes.diff \
        jdk-target-arch-define.diff \
        jdk-i18n-pt_BR.diff \
        mips-sigset.diff \

and once below in a separate if-clause

ifneq (,$(findstring mips, $(DEB_HOST_ARCH)))
  COMMON_PATCHES += \
        mips-sigset.diff
endif

Please remove either of them.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Bug reopened Request was from John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> to 841173-submit@bugs.debian.org. (Sat, 08 Jul 2017 06:39:12 GMT) (full text, mbox, link).


No longer marked as fixed in versions openjdk-9/9~b177-2. Request was from John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> to 841173-submit@bugs.debian.org. (Sat, 08 Jul 2017 06:39:12 GMT) (full text, mbox, link).


Reply sent to Matthias Klose <doko@debian.org>:
You have taken responsibility. (Mon, 24 Jul 2017 11:27:06 GMT) (full text, mbox, link).


Notification sent to James Cowgill <jcowgill@debian.org>:
Bug acknowledged by developer. (Mon, 24 Jul 2017 11:27:06 GMT) (full text, mbox, link).


Message #44 received at 841173-done@bugs.debian.org (full text, mbox, reply):

From: Matthias Klose <doko@debian.org>
To: 841173-done@bugs.debian.org
Subject: fixed in 9~b179-1
Date: Mon, 24 Jul 2017 13:24:05 +0200
Version: 9~b179-1



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 04 Oct 2017 07:29:03 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: Wed Sep 27 07:39:44 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.