Dear maintainer,

On 2024-03-01 16:55, Aurelien Jarno wrote:
> Source: caml-crush
> Version: 1.0.12-1.1
> Severity: serious
> Tags: ftbfs
> Justification: fails to build from source (but built successfully in the past)
> 
> Dear maintainer,
> 
> Starting with glibc 2.31, support for NIS (libnsl library) has been
> moved to a separate libnsl2 package. In order to allow a smooth
> transition, a libnsl-dev, which depends on libtirpc-dev, has been added
> to the libc6-dev package.
> 
> The libnsl-dev dependency has been temporarily dropped in the 2.37-15.1
> NMU, as part of the 64-bit time_t transition. This causes caml-crush to
> FTBFS in sid with:
> 
> | checking for gawk... no
> | checking for mawk... mawk
> | checking for camlidl... yes
> | checking for spatch... yes
> | Detected coccinelle version 1.1.1
> | configure: Using default C based client and RPC
> | checking for getnetname in -ltirpc... no
> | configure: Using the glibc RPC implementation
> | checking for rpc/rpc.h... no
> | configure: error: Could not find C RPC headers.
> |         cd build-SERVER && tail -v -n \+0 config.log
> 
> This could be fixed by adding an explicit Build-Depends on libtirpc-dev.
> The glibc change will likely be reverted in the short term, but given
> its a change we want to do for Trixie, this will only lower the severity
> of the bug.
> 
> I also noticed that caml-crush, uses rpcgen, provided by the
> rpcsvc-proto during the build process. It is currently a dependency of
> the libc6-dev package for the same reason as libnsl-dev, and will be
> removed at some point. Therefore please also add an explicit
> Build-Depends on rpcsvc-proto.

I have just done a NMU to fix this issue. Please find the debdiff
attached.

Regards
Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurel...@aurel32.net                     http://aurel32.net
diff -Nru caml-crush-1.0.12/debian/changelog caml-crush-1.0.12/debian/changelog
--- caml-crush-1.0.12/debian/changelog  2023-01-27 09:11:33.000000000 +0100
+++ caml-crush-1.0.12/debian/changelog  2024-06-26 17:42:56.000000000 +0200
@@ -1,3 +1,10 @@
+caml-crush (1.0.12-1.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add build-dependency on libtirpc-dev and rpcsvc-proto (Closes: #1065186).
+
+ -- Aurelien Jarno <aure...@debian.org>  Wed, 26 Jun 2024 17:42:56 +0200
+
 caml-crush (1.0.12-1.1) unstable; urgency=medium
 
   * Non-maintainer upload
diff -Nru caml-crush-1.0.12/debian/control caml-crush-1.0.12/debian/control
--- caml-crush-1.0.12/debian/control    2021-11-25 16:23:09.000000000 +0100
+++ caml-crush-1.0.12/debian/control    2024-06-26 17:42:56.000000000 +0200
@@ -2,7 +2,7 @@
 Section: net
 Priority: optional
 Maintainer: Thomas Calderon <calderon.tho...@gmail.com>
-Build-Depends: debhelper (>= 12), debhelper-compat (= 13), 
ocaml-native-compilers, camlidl, coccinelle, libocamlnet-ocaml-dev (>= 3.5.1), 
libocamlnet-ssl-ocaml-dev (>= 3.5.1), libocamlnet-ocaml-bin (>= 3.5.1), 
libssl-dev, libgnutls28-dev, libconfig-file-ocaml-dev, camlp4, dh-exec
+Build-Depends: debhelper (>= 12), debhelper-compat (= 13), 
ocaml-native-compilers, camlidl, coccinelle, libocamlnet-ocaml-dev (>= 3.5.1), 
libocamlnet-ssl-ocaml-dev (>= 3.5.1), libocamlnet-ocaml-bin (>= 3.5.1), 
libssl-dev, libgnutls28-dev, libconfig-file-ocaml-dev, camlp4, dh-exec, 
libtirpc-dev, rpcsvc-proto
 Standards-Version: 4.6.0.1
 Homepage: https://github.com/caml-pkcs11/caml-crush
 Vcs-Git: https://github.com/caml-pkcs11/caml-crush.git

Reply via email to