← Back to team overview

openjdk team mailing list archive

Bug#815885: openjdk-8 fails to configure on mips and mips64el

 

On 25.02.2016 16:11, Aurelien Jarno wrote:
On 2016-02-25 11:58, Matthias Klose wrote:
Package: src:openjdk-8
Version:
Severity: serious
Tags: sid stretch moreinfo

According to the build logs, openjdk-8 fails to configure on mips and mips64el:
https://buildd.debian.org/status/package.php?p=openjdk-8

I'm thinking to just disable openjdk builds on the mips* platforms. The
feedback from the porters is rare, and non-migration to testing holds back
security updates.

If you want feedback, it might be a good idea to start for help. I am
not really happy with all the decision that have been taken with openjdk
on mips.

For example, you asked us to check why openjdk-8 didn't build with
gcc-5. James Cowgill provided a patch [1] and a few days later I
confirmed that it was working fine [2]. Still the changelog from
version 8u72-b05-6 mentions an "untested patch" [3].

sorry, never saw your reply.

Later version
8u72-b15-1 simply removed the patch, which caused the package to
FTBFS on mips* [4]. Instead of asking for help, where we would have pointed
you to the issue, you decided to simply drop jamvm on mips. This is
clearly the wrong way to fix the issue.

well, then it's wrong as well to not open an issue with the patch, so that it doesn'get lost.

[...]
checking for nawk... /usr/bin/nawk
checking for cygpath... no
checking for readlink... /bin/readlink
checking for df... /bin/df
checking for SetFile... no
checking build system type... ../src/common/autoconf/build-aux/config.guess:
unable to guess system type

The problem can simply be explained by the diff between the two last
versions:

diff -u openjdk-8-8u72-b15/debian/control openjdk-8-8u72-b15/debian/control
--- openjdk-8-8u72-b15/debian/control
+++ openjdk-8-8u72-b15/debian/control
@@ -6,7 +6,7 @@
  Build-Depends: debhelper (>= 5), quilt, m4, lsb-release, zip, unzip,
    sharutils, gawk, cpio, pkg-config, procps, time, wdiff, fastjar (>= 2:0.96-0ubuntu2),
    autoconf, automake, autotools-dev, ant, ant-optional,  libtool,
-  g++-5, g++-4.9 [mips mipsel mips64 mips64el],
+  g++-5,
    openjdk-8-jdk | openjdk-7-jdk,
    libxtst-dev, libxi-dev, libxt-dev, libxaw7-dev, libxrender-dev, libcups2-dev, libasound2-dev, liblcms2-dev, libfreetype6-dev (>= 2.2.1), libgtk2.0-dev, libxinerama-dev, libkrb5-dev, xsltproc, libpcsclite-dev,
    libffi-dev,

You have dropped the build-depends on g++-4.9, still debian/rules but it
is still the version forced in debian/rules.

yes, sorry about that. however the versions before didn't build either.

Removing the version force in debian/rules fixes the issue.

does it even build with this? does it run the testsuite when I enable it?

mips* clearly is the openjdk platform which breaks the most often for release architectures. That didn't change for the past years. You know that as well.

Matthias


References