← Back to team overview

openjdk team mailing list archive

Bug#809849: openjdk-7-jdk: openjdk-7 source package: fake source package cannot be compiled on stretch

 

Package: openjdk-7-jdk
Version: 7u91-2.6.3-1
Severity: important

Dear Maintainer,

I decided to modify openjdk-7, as right to modify it is granted by GPL-v2. When trying to compile this package I first had to ask the debian community because this package gives no correct documentation on the steps to follow to
do so on Debian.
I succeded to modify and compile openjdk-7-7u75-2.5.4-2.
One month ago, I downloaded openjdk-7-7u91-2.6.3-1. After one month, I still cannot compile this package on Debian Stretch because this package relies on a dependency: g++-5. This package g++-5 conflicts with many compulsory installed
packages. Thus I cannot compile openjdk-7.
The source package openjdk-7 is not really a source package. The real one is maintained by Oracle Inc. and Launchpad adapts it to create the debian source
package.
Openjdk-7 is not a recent package as Oracle delivers openjdk-8 and openjdk-9. I do not understand why this legacy openjdk-7 package needs this g++-5 very recent release of g++. Maybe the only intent is to forbid its compilation on
downstream linux distributions.
I believe, the fact that Debian does not maintain a real source package for openjdk-7 is a major security leak because Debian cannot grant to the users the open-source contract of GPLv2: it is not possible to modify it under Debian. I daily use an openjdk compiled version. I cannot rely on Oracle Inc. goodwill for my daily needs. I do trust Debian for his respect of open-source freedoms. But Debian should neighter rely on Launchpad or Ubuntu to grant these freedoms
nor on Oracle Inc.



-- System Information:
Debian Release: stretch/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.2.0-1-amd64 (SMP w/24 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages openjdk-7-jdk depends on:
ii  libc6          2.21-6
ii  libx11-6       2:1.6.3-1
ii  openjdk-7-jre  7u91-2.6.3-1

Versions of packages openjdk-7-jdk recommends:
ii  libxt-dev  1:1.1.5-1

Versions of packages openjdk-7-jdk suggests:
pn  openjdk-7-demo    <none>
ii  openjdk-7-source  7u91-2.6.3-1
pn  visualvm          <none>