Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #82753
| From | Harald Dunkel <harald.dunkel@aixigo.com> |
|---|---|
| Newsgroups | linux.debian.bugs.dist, linux.debian.kernel |
| Subject | Bug#1073818: backport to Bookworm stumbles over missing stddef.h |
| Date | 2024-06-19 10:20 +0200 |
| Message-ID | <IQYHT-3ZmH-1@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Cross-posted to 2 groups.
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
Back to linux.debian.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
Bug#1073818: backport to Bookworm stumbles over missing stddef.h Harald Dunkel <harald.dunkel@aixigo.com> - 2024-06-19 10:20 +0200 Processed: Re: Bug#1073818: missing #include <stddef.h> causes FTBFS of nfs-utils when backporting to Bookworm "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-06-19 11:30 +0200 Bug#1073818: marked as done (backport to Bookworm stumbles over missing stddef.h) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-06-22 12:10 +0200
csiph-web