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


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

Bug#1077023: bad build time package dependency for nfs-utils

Started byHarald Dunkel <harald.dunkel@aixigo.com>
First post2024-07-25 12:00 +0200
Last post2024-08-31 17:30 +0200
Articles 9 — 4 participants

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


Contents

  Bug#1077023: bad build time package dependency for nfs-utils Harald Dunkel <harald.dunkel@aixigo.com> - 2024-07-25 12:00 +0200
    Bug#1077023: bad build time package dependency for nfs-utils Salvatore Bonaccorso <carnil@debian.org> - 2024-07-26 00:50 +0200
    Bug#1077023: bad build time package dependency for nfs-utils Harald Dunkel <harri@afaics.de> - 2024-08-12 11:00 +0200
      Bug#1077023: bad build time package dependency for nfs-utils Salvatore Bonaccorso <carnil@debian.org> - 2024-08-12 21:40 +0200
        Re: Bug#1077023: bad build time package dependency for nfs-utils Harald Dunkel <harald.dunkel@aixigo.com> - 2024-08-13 09:50 +0200
          Re: Bug#1077023: bad build time package dependency for nfs-utils Salvatore Bonaccorso <carnil@debian.org> - 2024-08-17 10:30 +0200
        Bug#1077023: bad build time package dependency for nfs-utils Harald Dunkel <harald.dunkel@aixigo.com> - 2024-08-22 13:40 +0200
    Bug#1077023: marked as done (bad build time package dependency  for nfs-utils) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-08-26 23:00 +0200
    Bug#1077023: marked as done (bad build time package dependency  for nfs-utils) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-08-31 17:30 +0200

#83189 — Bug#1077023: bad build time package dependency for nfs-utils

FromHarald Dunkel <harald.dunkel@aixigo.com>
Date2024-07-25 12:00 +0200
SubjectBug#1077023: bad build time package dependency for nfs-utils
Message-ID<J43qp-cho-1@gated-at.bofh.it>
Package: nfs-utils
Version: 2.6.4-5

Trying to backport nfs-utils to Bookworm I ran into a build error:

:
gcc -DHAVE_CONFIG_H -I. -I../../support/include  -I/usr/include/tirpc  -I/usr/include/libxml2  -I ../../support/nfsidmap -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  -isystem /usr/include/mit-krb5 -isystem /usr/include/mit-krb5 -g -O2 -ffile-prefix-map=/build/nfs-utils-2.6.4=. -fstack-protector-strong -Wformat -Werror=format-security -c -o 
svcgssd-svcgssd_mech2file.o `test -f 'svcgssd_mech2file.c' || echo './'`svcgssd_mech2file.c
gcc -DHAVE_CONFIG_H -I. -I../../support/include  -I/usr/include/tirpc  -I/usr/include/libxml2  -I ../../support/nfsidmap -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  -isystem /usr/include/mit-krb5 -isystem /usr/include/mit-krb5 -g -O2 -ffile-prefix-map=/build/nfs-utils-2.6.4=. -fstack-protector-strong -Wformat -Werror=format-security -c -o 
svcgssd-svcgssd_proc.o `test -f 'svcgssd_proc.c' || echo './'`svcgssd_proc.c
gcc -DHAVE_CONFIG_H -I. -I../../support/include  -I/usr/include/tirpc  -I/usr/include/libxml2  -I ../../support/nfsidmap -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  -isystem /usr/include/mit-krb5 -isystem /usr/include/mit-krb5 -g -O2 -ffile-prefix-map=/build/nfs-utils-2.6.4=. -fstack-protector-strong -Wformat -Werror=format-security -c -o 
svcgssd-svcgssd_krb5.o `test -f 'svcgssd_krb5.c' || echo './'`svcgssd_krb5.c
gssd_proc.c: In function 'create_auth_rpc_client':
gssd_proc.c:415:24: error: 'struct rpc_gss_sec' has no member named 'minor_status'
   415 |                 if (sec.minor_status == KRB5KRB_AP_ERR_BAD_INTEGRITY) {
       |                        ^
make[3]: *** [Makefile:824: gssd-gssd_proc.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/build/nfs-utils-2.6.4/utils/gssd'
make[2]: *** [Makefile:467: all-recursive] Error 1
make[2]: Leaving directory '/build/nfs-utils-2.6.4/utils'
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 25
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//2023043 and its subdirectories

AFAIU some newer version of libtirpc is needed, which is not mentioned in
the control file.


Regards

Harri

[toc] | [next] | [standalone]


#83205

FromSalvatore Bonaccorso <carnil@debian.org>
Date2024-07-26 00:50 +0200
Message-ID<J4frz-kKG-7@gated-at.bofh.it>
In reply to#83189
Hi Harald,

On Thu, Jul 25, 2024 at 11:48:53AM +0200, Harald Dunkel wrote:
> Package: nfs-utils
> Version: 2.6.4-5
> 
> Trying to backport nfs-utils to Bookworm I ran into a build error:
> 
> :
> gcc -DHAVE_CONFIG_H -I. -I../../support/include  -I/usr/include/tirpc
> -I/usr/include/libxml2  -I ../../support/nfsidmap -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  -isystem /usr/include/mit-krb5 -isystem
> /usr/include/mit-krb5 -g -O2 -ffile-prefix-map=/build/nfs-utils-2.6.4=.
> -fstack-protector-strong -Wformat -Werror=format-security -c -o
> svcgssd-svcgssd_mech2file.o `test -f 'svcgssd_mech2file.c' || echo
> './'`svcgssd_mech2file.c
> gcc -DHAVE_CONFIG_H -I. -I../../support/include  -I/usr/include/tirpc
> -I/usr/include/libxml2  -I ../../support/nfsidmap -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  -isystem /usr/include/mit-krb5 -isystem
> /usr/include/mit-krb5 -g -O2 -ffile-prefix-map=/build/nfs-utils-2.6.4=.
> -fstack-protector-strong -Wformat -Werror=format-security -c -o
> svcgssd-svcgssd_proc.o `test -f 'svcgssd_proc.c' || echo './'`svcgssd_proc.c
> gcc -DHAVE_CONFIG_H -I. -I../../support/include  -I/usr/include/tirpc
> -I/usr/include/libxml2  -I ../../support/nfsidmap -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  -isystem /usr/include/mit-krb5 -isystem
> /usr/include/mit-krb5 -g -O2 -ffile-prefix-map=/build/nfs-utils-2.6.4=.
> -fstack-protector-strong -Wformat -Werror=format-security -c -o
> svcgssd-svcgssd_krb5.o `test -f 'svcgssd_krb5.c' || echo './'`svcgssd_krb5.c
> gssd_proc.c: In function 'create_auth_rpc_client':
> gssd_proc.c:415:24: error: 'struct rpc_gss_sec' has no member named 'minor_status'
>   415 |                 if (sec.minor_status == KRB5KRB_AP_ERR_BAD_INTEGRITY) {
>       |                        ^
> make[3]: *** [Makefile:824: gssd-gssd_proc.o] Error 1
> make[3]: *** Waiting for unfinished jobs....
> make[3]: Leaving directory '/build/nfs-utils-2.6.4/utils/gssd'
> make[2]: *** [Makefile:467: all-recursive] Error 1
> make[2]: Leaving directory '/build/nfs-utils-2.6.4/utils'
> 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 25
> 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//2023043 and its subdirectories
> 
> AFAIU some newer version of libtirpc is needed, which is not mentioned in
> the control file.

I do not think we will want that. The reason is that upstream actually
reverted one change later on in nfs-utils-2-7-1-rc3 touching this in
f05af7d9924b ("gssd: revert commit 513630d720bd"), to later on apply
2bfb59c6f50e ("gssd: handle KRB5_AP_ERR_BAD_INTEGRITY for machine
credentials") which is guarded if the tirpc version has the seccreate
feature, this is in nfs-utils-2-7-1-rc3.

That seems to be the right fix, so that the features are only used if
supported as it seems the inention was.

I guess to close this bug it will be sufficient to wait for the 2.7.1
release to happend, or bckport the commits from the
nfs-utils-2-7-1-rc3 tag.

But I have to double-check again.

Regards,
Salvatore

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


#83464

FromHarald Dunkel <harri@afaics.de>
Date2024-08-12 11:00 +0200
Message-ID<Jaz4d-4tDu-5@gated-at.bofh.it>
In reply to#83189
Somehow this got stuck :-(.

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


#83473

FromSalvatore Bonaccorso <carnil@debian.org>
Date2024-08-12 21:40 +0200
Message-ID<JaJ3z-4zL5-3@gated-at.bofh.it>
In reply to#83464
Hi

On Mon, Aug 12, 2024 at 10:42:20AM +0200, Harald Dunkel wrote:
> Somehow this got stuck :-(.

No I'm aware of it, but decided not to cherry-pick the set of commits
but rather wait that upstream releases the respective upstream
version. 

if you need it urgently you might check that the commits
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1077023#10 are
actually enough and we do not need more?

Regards,
Salvatore

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


#83480

FromHarald Dunkel <harald.dunkel@aixigo.com>
Date2024-08-13 09:50 +0200
Message-ID<JaUs1-4GFu-11@gated-at.bofh.it>
In reply to#83473
Sorry, I didn't mean to blame you. My real problem is, I have an NFS
server based on Debian 12 in the office that gets stuck every other
week. nfsd just stops and cannot be killed, see #1071562. *This* is
the bug report not making any progress.

All I can do is trying to improve the NFServer, eg by installing the
most recent nfs-utils and an up-to-date kernel. If this doesn't help
I have to move back to Debian 11, or ditch Debian in favor of RHEL.

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


#83518

FromSalvatore Bonaccorso <carnil@debian.org>
Date2024-08-17 10:30 +0200
Message-ID<JcmYV-5Br4-11@gated-at.bofh.it>
In reply to#83480
Hi Harald,

On Tue, Aug 13, 2024 at 08:59:04AM +0200, Harald Dunkel wrote:
> Sorry, I didn't mean to blame you. My real problem is, I have an NFS
> server based on Debian 12 in the office that gets stuck every other
> week. nfsd just stops and cannot be killed, see #1071562. *This* is
> the bug report not making any progress.
> 
> All I can do is trying to improve the NFServer, eg by installing the
> most recent nfs-utils and an up-to-date kernel. If this doesn't help
> I have to move back to Debian 11, or ditch Debian in favor of RHEL.

Thanks for clarifying te scope :). And sorry for the late reply, busy
with other this week.

#1071562 might need that we reassign it to src:linux, but I will try
to look into it.

If you have the issue almost easily reproducible, if you disable NFSv4
read delegations (thorugh fs.leases-enable=0), does the situation
improves?

For context of the debian-kernel list, there is as well discussion on
https://lore.kernel.org/linux-nfs/4c3080af-eec7-4af5-8b0d-c35ac98ec074@aixigo.com/
.

Regards,
Salvatore

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


#83594

FromHarald Dunkel <harald.dunkel@aixigo.com>
Date2024-08-22 13:40 +0200
Message-ID<Jeekx-6Mjf-5@gated-at.bofh.it>
In reply to#83473
Hi Salvatore,

for testing I have derived a private nfs-utils package for shiny new
version 2.7.1 and gave it a try: 3 patches could be dropped, one patch
had to be refreshed, the rest builds out of the box (on Bookworm).

	quilt delete fsidd-call-anonymous-sockets-by-their-name-only-don-.patch
	quilt delete junction-export-cache-cast-to-a-type-with-a-known-si.patch
	quilt delete reexport.c-Some-Distros-need-the-following-include-t.patch

Testing it right now, together with kernel 2.9.7 from the backports
repository.

Regards
Harri

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


#83715 — Bug#1077023: marked as done (bad build time package dependency for nfs-utils)

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2024-08-26 23:00 +0200
SubjectBug#1077023: marked as done (bad build time package dependency for nfs-utils)
Message-ID<JfOYF-7QGb-19@gated-at.bofh.it>
In reply to#83189

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

Your message dated Mon, 26 Aug 2024 20:49:05 +0000
with message-id <E1sige9-007cIx-C2@fasolo.debian.org>
and subject line Bug#1077023: fixed in nfs-utils 1:2.7.1-1~exp1
has caused the Debian Bug report #1077023,
regarding bad build time package dependency for nfs-utils
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.)


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

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


#83780 — Bug#1077023: marked as done (bad build time package dependency for nfs-utils)

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2024-08-31 17:30 +0200
SubjectBug#1077023: marked as done (bad build time package dependency for nfs-utils)
Message-ID<Jhyd3-904I-3@gated-at.bofh.it>
In reply to#83189

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

Your message dated Sat, 31 Aug 2024 15:25:46 +0000
with message-id <E1skPz0-00FTGr-Un@fasolo.debian.org>
and subject line Bug#1077023: fixed in nfs-utils 1:2.7.1-1
has caused the Debian Bug report #1077023,
regarding bad build time package dependency for nfs-utils
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.)


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

[toc] | [prev] | [standalone]


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


csiph-web