Your message dated Fri, 13 Nov 2026 11:59:40 +0000
with message-id <[email protected]>
and subject line Bug#1153639: Removed package(s) from unstable
has caused the Debian Bug report #857847,
regarding java-package: proposal to add a --no-deps flag to make-jpkg
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
857847: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=857847
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: java-package
Version: 0.62
Severity: wishlist

Hello Emmanuel et al,
I'm currently using an internal build of java-package which has
a --no-deps parameter that drops ${shlibs:Depends} from the
generated control file. I know it's ugly, prone to cause issues but
it makes a few things easier for me. It simply allows to build one
.deb for several different Debian releases we can just install to drop
the JDK on the system.

Is there a general willingness to adopt such a patch? My internal
diff is attached.

Sven
diff --git a/lib/oracle-jdk.sh b/lib/oracle-jdk.sh
index 23ce971..02b53d3 100644
--- a/lib/oracle-jdk.sh
+++ b/lib/oracle-jdk.sh
@@ -184,7 +184,9 @@ oracle_j2sdk_control() {
     build_depends="libasound2, libgl1-mesa-glx, libgtk2.0-0, libxslt1.1, 
libxtst6, libxxf86vm1"
     j2se_control
     java_browser_plugin="java-browser-plugin, "
-    depends="\${shlibs:Depends}"
+    if [ "${no_deps:-false}" != "true" ]; then
+       depends="\${shlibs:Depends}"
+    fi
     if [ "${DEB_BUILD_ARCH:0:3}" = "arm" -a "${j2se_arch}" != "arm-vfp-hflt" 
]; then
         # ARM is only softfloat ATM so if building on armhf
         # force the dependencies to pickup cross platform fu
diff --git a/lib/oracle-jre.sh b/lib/oracle-jre.sh
index 94e3d5d..818c54b 100644
--- a/lib/oracle-jre.sh
+++ b/lib/oracle-jre.sh
@@ -143,6 +143,9 @@ oracle_j2re_control() {
     if [ "$create_cert_softlinks" == "true" ]; then
         depends="ca-certificates-java"
     fi
+    if [ "${no_deps:-false}" != "true" ]; then
+       depends="${depends}, \${shlibs:Depends}"
+    fi
     for i in `seq 5 ${j2se_release}`;
     do
         provides_runtime="${provides_runtime} java${i}-runtime,"
@@ -151,7 +154,7 @@ oracle_j2re_control() {
     cat << EOF
 Package: $j2se_package
 Architecture: $j2se_debian_arch
-Depends: \${misc:Depends}, \${shlibs:Depends}, java-common, $depends
+Depends: \${misc:Depends}, java-common, $depends
 Recommends: netbase
 Provides: java-virtual-machine, java-runtime, java2-runtime, $provides_runtime 
java-runtime-headless, java2-runtime-headless, $provides_headless 
java-browser-plugin
 Description: $j2se_title
diff --git a/lib/oracle-server-jre.sh b/lib/oracle-server-jre.sh
index d901e31..08e9035 100644
--- a/lib/oracle-server-jre.sh
+++ b/lib/oracle-server-jre.sh
@@ -127,6 +127,9 @@ oracle_server_j2re_control() {
     if [ "$create_cert_softlinks" == "true" ]; then
         depends="ca-certificates-java"
     fi
+    if [ "${no_deps:-false}" != "true" ]; then
+       depends="${depends}, \${shlibs:Depends}"
+    fi
     for i in `seq 5 ${j2se_release}`;
     do
         provides_headless="${provides_headless} java${i}-runtime-headless,"
@@ -134,7 +137,7 @@ oracle_server_j2re_control() {
     cat << EOF
 Package: $j2se_package
 Architecture: $j2se_debian_arch
-Depends: \${misc:Depends}, \${shlibs:Depends}, java-common, $depends
+Depends: \${misc:Depends}, java-common, $depends
 Recommends: netbase
 Provides: java-runtime-headless, java2-runtime-headless, $provides_headless
 Description: $j2se_title
diff --git a/make-jpkg b/make-jpkg
index 3db992c..7ac4a12 100755
--- a/make-jpkg
+++ b/make-jpkg
@@ -89,6 +89,7 @@ The following options are recognized:
   --source             build a source package instead of a binary deb package
   --with-system-certs  integrate with the system's keystore
   --jce-policy FILE    Replace cryptography files with versions from FILE
+  --no-deps            Do not generate shlibs:Depends on the final package
 
   --help               display this help and exit
   --version            output version information and exit
@@ -146,6 +147,8 @@ while [[ $# -gt 0 && "x$1" == x--* ]]; do
     revision="-${1}"
     elif [[ "x$1" == x--changes ]]; then
     genchanges="true"
+    elif [[ "x$1" == x--no-deps ]]; then
+    no_deps="true"
     elif [[ "x$1" == x--source ]]; then
     build_source="true"
     elif [[ "x$1" == x--with-system-certs ]]; then
diff --git a/make-jpkg.1 b/make-jpkg.1
index 34a5462..791a103 100644
--- a/make-jpkg.1
+++ b/make-jpkg.1
@@ -70,6 +70,9 @@ ca-certificates and ca-certificates-java packages.
 Replace cryptography files with versions
 from the specified JCE_POLICY_FILE.
 .TP
+.B --no-deps
+do not generate shlibs:Depends package dependency
+.TP
 .B --help
 display help text and exit
 .TP

--- End Message ---
--- Begin Message ---
Version: 0.64+rm

Dear submitter,

as the package java-package has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1153639

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to