Source: ipsvd
Version:  1.0.0-8
Severity: serious
Tags: FTBFS, patch
User: debian-ri...@lists.debian.org
Usertags: riscv64
X-Debbugs-Cc: debian-ri...@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

Reply via email to