#1130118 amanda: FTBFS with libc6-dev dropping dependency on rpcsvc-proto

Package:
src:amanda
Source:
src:amanda
Submitter:
Aurelien Jarno
Date:
2026-09-29 20:25:02 UTC
Severity:
normal
Tags:
#1130118#5
Date:
2026-03-08 20:12:58 UTC
From:
To:
Dear maintainer(s),

Historically, the rpcgen has been provided by glibc. It was split out
into the rpcsvc-proto package starting with glibc 2.31 (released in
bookworm), and libc6-dev gained a dependency on it as part of the
transition.

It now makes sense to finish this transition by using an explicit
Build-Depends on rpcsvc-proto instead of relying on the dependency
pulled in via libc6-dev.

amanda is one of the packages requiring this Build-Depends on
rpcsvc-proto. Indeed it FTBFS with a modified glibc that no longer
depends on it. From my build log:

| checking for SWIG version... 4.4.0
| checking for ps... /usr/bin/ps
| checking ps argument to use... -eo pid,ppid,command and -eo pid,ppid,command
| checking for rpcgen... no

...

| Making all in ndmp-src
| make[3]: Entering directory '/build/reproducible-path/amanda-3.5.4/ndmp-src'
| rm -f ndmp0_xdr.c
| rm -f ndmp0.h
| c -o ndmp0_xdr.c ./ndmp0.x
| /bin/bash: line 1: c: command not found
| make[3]: [Makefile:2539: ndmp0_xdr.c] Error 127 (ignored)
| h -o ndmp0.h ./ndmp0.x
| /bin/bash: line 1: h: command not found
| make[3]: [Makefile:2540: ndmp0_xdr.c] Error 127 (ignored)
| sed 's+#include ".\/ndmp0.h"+#include "config.h"\
| \#include "ndmp0.h"+' ndmp0_xdr.c > ndmp0_xdr.c.new ; mv ndmp0_xdr.c.new ndmp0_xdr.c
| sed: can't read ndmp0_xdr.c: No such file or directory
| rm -f ndmp2_xdr.c
| rm -f ndmp2.h
| c -o ndmp2_xdr.c ./ndmp2.x
| /bin/bash: line 1: c: command not found
| make[3]: [Makefile:2550: ndmp2_xdr.c] Error 127 (ignored)
| h -o ndmp2.h ./ndmp2.x
| /bin/bash: line 1: h: command not found
| make[3]: [Makefile:2551: ndmp2_xdr.c] Error 127 (ignored)
| sed 's+#include ".\/ndmp2.h"+#include "config.h"\
| \#include "ndmp2.h"+' ndmp2_xdr.c > ndmp2_xdr.c.new ; mv ndmp2_xdr.c.new ndmp2_xdr.c
| sed: can't read ndmp2_xdr.c: No such file or directory
| rm -f ndmp3_xdr.c
| rm -f ndmp3.h
| c -o ndmp3_xdr.c ./ndmp3.x
| /bin/bash: line 1: c: command not found
| make[3]: [Makefile:2561: ndmp3_xdr.c] Error 127 (ignored)
| h -o ndmp3.h ./ndmp3.x
| /bin/bash: line 1: h: command not found
| make[3]: [Makefile:2562: ndmp3_xdr.c] Error 127 (ignored)
| sed 's+#include ".\/ndmp3.h"+#include "config.h"\
| \#include "ndmp3.h"+' ndmp3_xdr.c > ndmp3_xdr.c.new ; mv ndmp3_xdr.c.new ndmp3_xdr.c
| sed: can't read ndmp3_xdr.c: No such file or directory
| rm -f ndmp4_xdr.c
| rm -f ndmp4.h
| c -o ndmp4_xdr.c ./ndmp4.x
| /bin/bash: line 1: c: command not found
| make[3]: [Makefile:2572: ndmp4_xdr.c] Error 127 (ignored)
| h -o ndmp4.h ./ndmp4.x
| /bin/bash: line 1: h: command not found
| make[3]: [Makefile:2573: ndmp4_xdr.c] Error 127 (ignored)
| sed 's+#include ".\/ndmp4.h"+#include "config.h"\
| \#include "ndmp4.h"+' ndmp4_xdr.c > ndmp4_xdr.c.new ; mv ndmp4_xdr.c.new ndmp4_xdr.c
| sed: can't read ndmp4_xdr.c: No such file or directory
| rm -f ndmp9_xdr.c
| rm -f ndmp9.h
| c -o ndmp9_xdr.c ./ndmp9.x
| /bin/bash: line 1: c: command not found
| make[3]: [Makefile:2583: ndmp9_xdr.c] Error 127 (ignored)
| h -o ndmp9.h ./ndmp9.x
| /bin/bash: line 1: h: command not found
| make[3]: [Makefile:2584: ndmp9_xdr.c] Error 127 (ignored)
| sed 's+#include ".\/ndmp9.h"+#include "config.h"\
| \#include "ndmp9.h"+' ndmp9_xdr.c > ndmp9_xdr.c.new ; mv ndmp9_xdr.c.new ndmp9_xdr.c
| sed: can't read ndmp9_xdr.c: No such file or directory
| make  all-am
| make[4]: Entering directory '/build/reproducible-path/amanda-3.5.4/ndmp-src'
| gcc -DHAVE_CONFIG_H -I. -I../config  -I../common-src -I../common-src -I../gnulib -I/usr/include/tirpc -Wdate-time -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -I/usr/include/tirpc  -D_GNU_SOURCE  -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DNDMOS_CONST_NDMJOBLIB_REVISION='"amanda-3.5.4"' -DAMANDA_FILE=\"`basename amndmjob_main.c`\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/amanda-3.5.4=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=gnu17 -fno-strict-aliasing    -c -o amndmjob_main.o amndmjob_main.c
| In file included from ndmlib.h:43,
|                  from ndmagents.h:98,
|                  from ndmjob.h:38,
|                  from amndmjob_main.c:39:
| ndmprotocol.h:102:10: fatal error: ndmp0.h: No such file or directory
|   102 | #include "ndmp0.h"
|       |          ^~~~~~~~~
| compilation terminated.
| make[4]: *** [Makefile:2098: amndmjob_main.o] Error 1
| make[4]: Leaving directory '/build/reproducible-path/amanda-3.5.4/ndmp-src'
| make[3]: *** [Makefile:1872: all] Error 2
| make[3]: Leaving directory '/build/reproducible-path/amanda-3.5.4/ndmp-src'
| make[2]: *** [Makefile:1724: all-recursive] Error 1
| make[2]: Leaving directory '/build/reproducible-path/amanda-3.5.4'
| make[1]: *** [Makefile:1648: all] Error 2
| make[1]: Leaving directory '/build/reproducible-path/amanda-3.5.4'
| dh_auto_build: error: make -j1 returned exit code 2
| make: *** [debian/rules:43: build] Error 25
| dpkg-buildpackage: error: debian/rules build subprocess failed with exit status 2

Therefore could you please add a Build-Depends on rpcsvc-proto for the
next amanda upload?

Regards
Aurelien

#1130118#10
Date:
2026-08-10 12:54:00 UTC
From:
To:
control: severity 1130118 serious
control: severity 1130228 serious

Hi,

With the upload of glibc 2.43 to unstable, the packages now FTBFS in
unstable, hence upgrading the severity to serious.

Regards
Aurelien

#1130118#17
Date:
2026-09-03 03:11:35 UTC
From:
To:
Dear Maintainer,

Attached is a patch that addresses this bug.

Kind regards,

Reuben

#1130118#24
Date:
2026-09-29 12:00:00 UTC
From:
To:
Dear maintainer,

I've prepared an NMU for amanda (versioned as 1:3.5.4-2.2) and
uploaded it to DELAYED/7. Please feel free to tell me if I
should cancel it.

Regards,

Jeremy Sowden

#1130118#31
Date:
2026-09-29 18:09:23 UTC
From:
To:
Hi,

Please go forward with the NMU.


Kind regards
Jose M Calhariz

#1130118#36
Date:
2026-09-29 20:23:37 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
amanda, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1130118@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jeremy Sowden <azazel@debian.org> (supplier of updated amanda package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Tue, 29 Sep 2026 10:27:31 +0100
Source: amanda
Architecture: source
Version: 1:3.5.4-2.2
Distribution: unstable
Urgency: medium
Maintainer: Jose M Calhariz <calhariz@debian.org>
Changed-By: Jeremy Sowden <azazel@debian.org>
Closes: 1102797 1130118
Changes:
 amanda (1:3.5.4-2.2) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * d/control
     - add build-dep on rpcsvc-proto (Closes: #1130118)
     - add build-dep on libcrypt-dev
     - add build-dep on perl-xs-dev (Closes: #1102797)
     - update pkg-config build-dep to pkgconf
Checksums-Sha1:
 c4b173296d4d5af3587cc42062de7ecc9d84771b 2407 amanda_3.5.4-2.2.dsc
 272893b7824d1dde1f40f701e5cd92aa132c65ea 52548 amanda_3.5.4-2.2.debian.tar.xz
 454d97bce419d28121a3291a70d5ff0bd4a9d92c 14084 amanda_3.5.4-2.2_amd64.buildinfo
Checksums-Sha256:
 76b4e6b0482b5fd998eac4f2b0e448047520b24604853ba41a4f335674f49fc9 2407 amanda_3.5.4-2.2.dsc
 89f3714e3e7b3afdba4c332ef62a5931dc55bc88e07d7238d09070399925df76 52548 amanda_3.5.4-2.2.debian.tar.xz
 4868fdb50ea73e18a3e2fc16d2eb80eb487b0756faa7c6a189f477fc3a5f8af6 14084 amanda_3.5.4-2.2_amd64.buildinfo
Files:
 eaeb15fcccde6ed14cd7116f35d2a13d 2407 utils optional amanda_3.5.4-2.2.dsc
 79085aa7f38d8d3c08dd2b1725c5d4cf 52548 utils optional amanda_3.5.4-2.2.debian.tar.xz
 0be329b01086f2eb57ceed3862b1e541 14084 utils optional amanda_3.5.4-2.2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

wsG7BAEBCgBvBYJqu4y4CRAphqwKvfEEDUcUAAAAAAAeACBzYWx0QG5vdGF0aW9u
cy5zZXF1b2lhLXBncC5vcmeWgce3Tva1uC/KmoC1xee/perKJwr/DDNZZTy3YXOq
bxYhBGwdtFNj70A3vVbVFymGrAq98QQNAABMog/9H9HQ4m15IwCFrH+jpbZCRqh4
fZa0vSfnYDq++SwSfvQcqsn7W+MmYTn3uWrc67lV5Wr9Hee6sEvVuUN2y+qP+91y
fhZWJhQuf4nqJomzMm4BrjL5S8OQkDzWLfpxEK/vFvW4GNsgQW63k/PIeQNUtg2G
D/q+tYTr2g2kEpcFqB809ynaFbcnTE0q25W+A0OJzXxSszchUyJUx56PamH5Mz7k
muTtaDaZ/L1burBu9MMu/W7LZ2qmDgxXyEBL8xtc4qkQPty3fgsyZnVZcKXrXUBh
RCmew6/OBHgOfgOL2C4LqdMWXhOFvyEwVialR4dIHtctlabcUYhXDCr7YwlBOEsY
f0TNGFrkR/GFPBAUwjZITIS91nEDPAaeYkNKA4H0dTylKfRCt6yXaScJdYVQlfyR
+JS828j0YclCJh3wy2zPu37sC79SD9ZG8OWUflp+Y/Zyqnp+UHVctXbvZNX3TPTq
amOtZKnx1842kmkExiuTy5TnkrM0iPzgaHr8Ca8Hx9uSAxyd5xwkEUs4ggmo6ZCo
F6suGsftWOOC57ZOYHNqVE4p/3jZBmSo2SIviiEBsvdLhrMKq8yqnq/f9s5phbLV
y3O4qt+1hbEiXlBQXiQRC4Bcmp7qxD/RDGpwXcFRO1mYAXnqqYEfIvsihmU0hthB
t9VPxXfe7rbCMYsuoU4=
=ut9b
-----END PGP SIGNATURE-----