Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #82753 > unrolled thread

Bug#1073818: backport to Bookworm stumbles over missing stddef.h

Started byHarald Dunkel <harald.dunkel@aixigo.com>
First post2024-06-19 10:20 +0200
Last post2024-06-22 12:10 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.debian.kernel


Contents

  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

#82753 — Bug#1073818: backport to Bookworm stumbles over missing stddef.h

FromHarald Dunkel <harald.dunkel@aixigo.com>
Date2024-06-19 10:20 +0200
SubjectBug#1073818: backport to Bookworm stumbles over missing stddef.h
Message-ID<IQYHT-3ZmH-1@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#82754 — Processed: Re: Bug#1073818: missing #include <stddef.h> causes FTBFS of nfs-utils when backporting to Bookworm

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2024-06-19 11:30 +0200
SubjectProcessed: Re: Bug#1073818: missing #include <stddef.h> causes FTBFS of nfs-utils when backporting to Bookworm
Message-ID<IQZND-3ZZ1-9@gated-at.bofh.it>
In reply to#82753
Processing control commands:

> reassign -1 src:nfs-utils 1:2.6.4-4
Bug #1073818 [nfs-common] backport to Bookworm stumbles over missing stddef.h
Bug reassigned from package 'nfs-common' to 'src:nfs-utils'.
No longer marked as found in versions 2.6.4-4.
Ignoring request to alter fixed versions of bug #1073818 to the same values previously set
Bug #1073818 [src:nfs-utils] backport to Bookworm stumbles over missing stddef.h
Marked as found in versions nfs-utils/1:2.6.4-4.
> tags -1 upstream fixed-upstream ftbfs confirmed
Bug #1073818 [src:nfs-utils] backport to Bookworm stumbles over missing stddef.h
Added tag(s) fixed-upstream, ftbfs, upstream, and confirmed.
> forwarded -1 http://git.linux-nfs.org/?p=steved/nfs-utils.git;a=commit;h=a2c95e4f557a71b482bb62bad6d93ddde51e5dc6
Bug #1073818 [src:nfs-utils] backport to Bookworm stumbles over missing stddef.h
Set Bug forwarded-to-address to 'http://git.linux-nfs.org/?p=steved/nfs-utils.git;a=commit;h=a2c95e4f557a71b482bb62bad6d93ddde51e5dc6'.

-- 
1073818: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1073818
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#82798 — Bug#1073818: marked as done (backport to Bookworm stumbles over missing stddef.h)

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2024-06-22 12:10 +0200
SubjectBug#1073818: marked as done (backport to Bookworm stumbles over missing stddef.h)
Message-ID<IS5QZ-4Img-13@gated-at.bofh.it>
In reply to#82753

[Multipart message — attachments visible in raw view] — view raw

Your message dated Sat, 22 Jun 2024 10:04:27 +0000
with message-id <E1sKxbf-004uUQ-9P@fasolo.debian.org>
and subject line Bug#1073818: fixed in nfs-utils 1:2.6.4-5
has caused the Debian Bug report #1073818,
regarding backport to Bookworm stumbles over missing stddef.h
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1073818: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1073818
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web