The change to fix this bug introduces bugs in rdeps like osmosis: #1151255

/usr/share/maven-repo/org/springframework/spring-jdbc/debian/spring-jdbc-debian.pom
 contains:

                <dependency>
                        <groupId>org.apache.derby</groupId>
                        <artifactId>derbytools</artifactId>
                        <version>debian</version>
                        <scope>compile</scope>
                </dependency>

It either needs to be marked optional, or derby-tools needs to become a 
libspring-jdbc-java dependency.

--- a/debian/patches/derby_10.17.patch
+++ b/debian/patches/derby_10.17.patch
@@ -7,11 +7,19 @@ Last-Update: 2026-10-17
--- a/build.gradle
 +++ b/build.gradle
-@@ -639,6 +639,7 @@
+@@ -639,6 +639,7 @@ project("spring-jdbc") {
                compile(project(":spring-beans"))
                compile(project(":spring-core"))
                compile(project(":spring-tx"))
-+        compile("org.apache.derby:derbytools:debian")
++              compile("org.apache.derby:derbytools:debian")
                optional(project(":spring-context"))  // for 
JndiDataSourceLookup
                
optional("javax.transaction:javax.transaction-api:${jtaVersion}")
                optional("com.mchange:c3p0:0.9.5.2")
+@@ -646,6 +647,7 @@ project("spring-jdbc") {
+               optional("com.h2database:h2:1.4.193")
+               optional("org.apache.derby:derby:10.13.1.1")
+               optional("org.apache.derby:derbyclient:10.13.1.1")
++              optional("org.apache.derby:derbytools:debian")
+       }
+ }
+

Or:

--- a/debian/control
+++ b/debian/control
@@ -282,7 +282,8 @@ Description: modular Java/J2EE application framework - 
transaction
Package: libspring-jdbc-java
 Architecture: all
-Depends: libc3p0-java,
+Depends: derby-tools,
+         libc3p0-java,
          libspring-beans-java (= ${source:Version}),
          libspring-transaction-java (= ${source:Version}),
          ${misc:Depends}

Kind Regards,

Bas

--
 PGP Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1

Reply via email to