Source: amanda
Version: 1:3.5.4-2.1
Severity: important
Tags: ftbfs
User: [email protected]
Usertags: rpcsvc-proto

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

Reply via email to