[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1090184: marked as done (ipsvd:FTBFS:build failed on riscv64 (./chkshsgr || (cat warn-shsgr; exit 1) return exit1))



Your message dated Sat, 21 Dec 2024 05:04:26 +0000
with message-id <E1tOrf8-007XL4-5Y@fasolo.debian.org>
and subject line Bug#1090184: fixed in ipsvd 1.0.0-9
has caused the Debian Bug report #1090184,
regarding ipsvd:FTBFS:build failed on riscv64 (./chkshsgr || (cat warn-shsgr; exit 1) return exit1)
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.)


-- 
1090184: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1090184
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: ipsvd
Version:  1.0.0-8
Severity: serious
Tags: FTBFS, patch
User: debian-riscv@lists.debian.org
Usertags: riscv64
X-Debbugs-Cc: debian-riscv@lists.debian.org

Dear  ipsvd Maintainer,
The package  ipsvd build failed on riscv.The crucial buildd log below:
```
./chkshsgr || (cat warn-shsgr; exit 1)
Oops. Your getgroups() returned 0, and setgroups() failed; this means
that I can't reliably do my shsgr test. Please either ``make'' as root
or ``make'' while you're in one or more supplementary groups.
make[1]: *** [Makefile:334: hasshsgr.h] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>/ipsvd-1.0.0/compile'
make: *** [debian/rules:27: build-stamp] Error 2
dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit status 2
```
The full buildd log is here:
https://buildd.debian.org/status/fetch.php?pkg=ipsvd&arch=riscv64&ver=1.0.0-8&stamp=1733757692&raw=0

My solution to this issue:
The issue occurs because, on certain architectures, chkshsgr does not have sufficient permissions to retrieve or set user groups.  I recommend skipping the chkshsgr tests to ensure the build process completes smoothly.I have tested this solution locally, and it works well.The debpatch is in the attachment.Please let me know whether this solution can be accepted.

Gui-Yue
Best Regards

Attachment: skip_chkshsgr_for_ipsvd.patch
Description: Binary data


--- End Message ---
--- Begin Message ---
Source: ipsvd
Source-Version: 1.0.0-9
Done: Andreas Beckmann <anbe@debian.org>

We believe that the bug you reported is fixed in the latest version of
ipsvd, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1090184@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Beckmann <anbe@debian.org> (supplier of updated ipsvd package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 21 Dec 2024 05:46:22 +0100
Source: ipsvd
Architecture: source
Version: 1.0.0-9
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Andreas Beckmann <anbe@debian.org>
Closes: 1090184
Changes:
 ipsvd (1.0.0-9) unstable; urgency=medium
 .
   * QA upload.
   * Revert to Rules-Requires-Root: binary-targets, rootless build does not
     work on the buildds due to getgroups()/setgroups() issues.
     (Closes: #1090184)
Checksums-Sha1:
 9293915db162847bb45fa0e96405ec89681a0ce0 1771 ipsvd_1.0.0-9.dsc
 731693dfa9c202662729241283d9da5f994e6212 7628 ipsvd_1.0.0-9.debian.tar.xz
 13786f38445a49df23ab398f2afba84e009f12b1 4621 ipsvd_1.0.0-9_source.buildinfo
Checksums-Sha256:
 6a2d73624e8fd40e65233d12da0ddc2de0a4916f1b9ebd2a7fafe3916c7ed829 1771 ipsvd_1.0.0-9.dsc
 6583e1d95d37387a8bf166f88465c7ec097fde51678074ea97e4998857576fe3 7628 ipsvd_1.0.0-9.debian.tar.xz
 6040faad86428b371569d754f29a67eedde2a5f73ee4131c0bc5c28b85e84c3d 4621 ipsvd_1.0.0-9_source.buildinfo
Files:
 bcd2abd2f7fe369310fa71d739114b71 1771 net optional ipsvd_1.0.0-9.dsc
 7d324628f228695c391d1f53b9907d36 7628 net optional ipsvd_1.0.0-9.debian.tar.xz
 359397771a122b723e08f15ec80970fb 4621 net optional ipsvd_1.0.0-9_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCAAuFiEE6/MKMKjZxjvaRMaUX7M/k1np7QgFAmdmSOkQHGFuYmVAZGVi
aWFuLm9yZwAKCRBfsz+TWentCEtVD/4vZwSz9vypXaxqdc8sIhFLBFvq9zdOV18b
38ykeymYiRtj6SMs0yAWqCw7x70AREewLN01WlnfUVHfPoe/3P239QxGm2qbcf7p
O/qbC8VW9sQTFwaqwf51gAl6pMuC0gKtyoq8TgoCiO/MKkXbTAYB2OdaFEmPZwBL
Ql7bXJy1PidDmOqCQsTcM8MaPvzrbwW3fvu8WxpcJ8h2iN6jq78XzHQnEvZgWyZw
1XoiSgb7+xMo0+HmCnHGZEUvGjvqMoMWvFQDn+vrR4HCD1HSXKxM7S6Es5dIFjPW
l9jXafVAnNLg5d+hDRYHAFh5L7dyl6HyMVetjK7kGDln1Z+Z5ABPsbLjVB5v8nvM
LMna4/4hJUBGb16Xz/D9mvUJ1tE/ezm7cMx+IvBWUOFvtVtAG9oNM1sEkcuN8ZJU
/geCF1rL2oVyuhTiGoKdxE4btlLJ947VrvligS5l9QnK1m3Y05Psz+8fMnfwM14j
+xRan1qBFfEqfK8RN8EN67k9u7xpzWxyM7YHMb4aHXs7HbWbEb8F1ozHHek/WLjy
s1CInVd73H2vukWmhBihHak0VmWUu8aenh9vrxFBthALKYoLyMEwFE8g718ow7lt
jb/k/3JS2O9McYCA45o/gtarM5nFOTa8m+fE8cCj/1DQp4mj4gb/SXcvJHWCgAh+
gQLy/HcMcw==
=2hWu
-----END PGP SIGNATURE-----

Attachment: pgpkNcfEonrUm.pgp
Description: PGP signature


--- End Message ---

Reply to: