Package: nfs-common
Version: 2.6.4-4
Severity: wishlist

Backporting 2.6.4-4 to Bookworm fails with

:
:
Making all in reexport
make[3]: Entering directory '/build/nfs-utils-2.6.4/support/reexport'
gcc -DHAVE_CONFIG_H -I. -I../../support/include  -I/usr/include/tirpc  
-I/usr/include/libxml2  -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE 
-I../../support/include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -pipe  
-Wall  -Wextra  -Werror=strict-prototypes  -Werror=missing-prototypes  
-Werror=missing-declarations  -Werror=format=2  -Werror=undef  
-Werror=missing-include-dirs  -Werror=strict-aliasing=2  -Werror=init-self  
-Werror=implicit-function-declaration  -Werror=return-type  -Werror=switch  
-Werror=overflow  -Werror=parentheses  -Werror=aggregate-return  
-Werror=unused-result  -fno-strict-aliasing  -Werror=format-overflow=2 
-Werror=int-conversion -Werror=incompatible-pointer-types 
-Werror=misleading-indentation -Wno-cast-function-type -g -O2 
-ffile-prefix-map=/build/nfs-utils-2.6.4=. -fstack-protector-strong -Wformat 
-Werror=format-security -c -o fsidd-fsidd.o `test -f 'fsidd.c' || echo 
'./'`fsidd.c
gcc -DHAVE_CONFIG_H -I. -I../../support/include  -I/usr/include/tirpc  
-I/usr/include/libxml2  -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE 
-I../../support/include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -pipe  
-Wall  -Wextra  -Werror=strict-prototypes  -Werror=missing-prototypes  
-Werror=missing-declarations  -Werror=format=2  -Werror=undef  
-Werror=missing-include-dirs  -Werror=strict-aliasing=2  -Werror=init-self  
-Werror=implicit-function-declaration  -Werror=return-type  -Werror=switch  
-Werror=overflow  -Werror=parentheses  -Werror=aggregate-return  
-Werror=unused-result  -fno-strict-aliasing  -Werror=format-overflow=2 
-Werror=int-conversion -Werror=incompatible-pointer-types 
-Werror=misleading-indentation -Wno-cast-function-type -g -O2 
-ffile-prefix-map=/build/nfs-utils-2.6.4=. -fstack-protector-strong -Wformat 
-Werror=format-security -c -o fsidd-backend_sqlite.o `test -f 
'backend_sqlite.c' || echo './'`backend_sqlite.c
gcc -DHAVE_CONFIG_H -I. -I../../support/include  -I/usr/include/tirpc  
-I/usr/include/libxml2  -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -pipe  
-Wall  -Wextra  -Werror=strict-prototypes  -Werror=missing-prototypes  
-Werror=missing-declarations  -Werror=format=2  -Werror=undef  
-Werror=missing-include-dirs  -Werror=strict-aliasing=2  -Werror=init-self  
-Werror=implicit-function-declaration  -Werror=return-type  -Werror=switch  
-Werror=overflow  -Werror=parentheses  -Werror=aggregate-return  
-Werror=unused-result  -fno-strict-aliasing  -Werror=format-overflow=2 
-Werror=int-conversion -Werror=incompatible-pointer-types 
-Werror=misleading-indentation -Wno-cast-function-type -g -O2 
-ffile-prefix-map=/build/nfs-utils-2.6.4=. -fstack-protector-strong -Wformat 
-Werror=format-security -c -o reexport.o reexport.c
reexport.c: In function 'connect_fsid_service':
reexport.c:40:28: error: implicit declaration of function 'offsetof' 
[-Werror=implicit-function-declaration]
   40 |                 addr_len = offsetof(struct sockaddr_un, sun_path) + 
strlen(addr.sun_path);
      |                            ^~~~~~~~
reexport.c:18:1: note: 'offsetof' is defined in header '<stddef.h>'; did you 
forget to '#include <stddef.h>'?
   17 | #include "xlog.h"
  +++ |+#include <stddef.h>
   18 | 
reexport.c:40:37: error: expected expression before 'struct'
   40 |                 addr_len = offsetof(struct sockaddr_un, sun_path) + 
strlen(addr.sun_path);
      |                                     ^~~~~~
cc1: some warnings being treated as errors
make[3]: *** [Makefile:535: reexport.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/build/nfs-utils-2.6.4/support/reexport'
make[2]: *** [Makefile:450: all-recursive] Error 1
make[2]: Leaving directory '/build/nfs-utils-2.6.4/support'
make[1]: *** [Makefile:491: all-recursive] Error 1
make[1]: Leaving directory '/build/nfs-utils-2.6.4'
dh_auto_build: error: make -j28 returned exit code 2
make: *** [debian/rules:12: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
E: Failed autobuilding of package
I: unmounting dev/ptmx filesystem
I: unmounting dev/pts filesystem
I: unmounting dev/shm filesystem
I: unmounting proc filesystem
I: unmounting sys filesystem
I: cleaning the build env 
I: removing directory /local/pbuilder/build//3798159 and its subdirectories


Not sure if this is the right place to report, though.


Regards

Harri

Reply via email to