Source: swish-e
Version: 2.4.7-6.2
Severity: important
Tags: ftbfs
Justification: FTBFS
X-Debbugs-Cc: [email protected]
User: [email protected]
Usertags: rrr-no-as-default-issue

Dear maintainer,

During a test rebuild for building packages with
`Rules-Requires-Root: no` as the default in `dpkg`,
swish-e failed to rebuild.

Log Summary:
-------------------------------------------------------------------------------
[...]
/usr/bin/install -c -m 644 './INSTALL' '/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/INSTALL' /usr/bin/install -c -m 644 './README' '/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/README' /usr/bin/install -c -m 644 'README.cvs' '/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/README.cvs' test -z "/usr/lib/pkgconfig" || mkdir -p -- "/<<PKGBUILDDIR>>/debian/swish-e/usr/lib/pkgconfig" /usr/bin/install -c -m 644 'swish-e.pc' '/<<PKGBUILDDIR>>/debian/swish-e/usr/lib/pkgconfig/swish-e.pc'
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
sed -i "/dependency_libs/ s/'.*'/''/" `find . -name '*.la'`
# perl
(cd perl;/usr/bin/make install DESTDIR=/<<PKGBUILDDIR>>/debian/swish-e)
make[1]: Entering directory '/<<PKGBUILDDIR>>/perl'
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- API.bs blib/arch/auto/SWISH/API/API.bs 644
Manifying 1 pod document
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /<<PKGBUILDDIR>>/debian/swish-e/usr/lib/aarch64-linux-gnu/perl5/5.40/auto/SWISH/API/API.so Installing /<<PKGBUILDDIR>>/debian/swish-e/usr/lib/aarch64-linux-gnu/perl5/5.40/SWISH/API.pm
Installing /<<PKGBUILDDIR>>/debian/swish-e/usr/share/man/man3/SWISH::API.3pm
make[1]: Leaving directory '/<<PKGBUILDDIR>>/perl'
# docs
(cd example;pod2man -s 7 swish.cgi >../swish.cgi.7 ;pod2man -s 7 search.cgi >../search.cgi.7)
dh_installman
dh_installman: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_installdocs README* dh_installdocs: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_installexamples example/* conf filter-bin prog-bin SWISH-Stemmer-0.05.tar.gz dh_installexamples: warning: Compatibility levels before 10 are deprecated (level 9 in use)
# swish-search symlinks
(cd /<<PKGBUILDDIR>>/debian/swish-e/usr/bin; ln -s swish-e swish-search)
(cd /<<PKGBUILDDIR>>/debian/swish-e/usr/share/man/man1; ln -s swish-e.1 swish-search.1)
# let's make lintian happy
mv /<<PKGBUILDDIR>>/debian/swish-e/usr/bin/swish-filter-test /<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/ find /<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples -name '*' -exec chmod 644 {} \; chmod: cannot access '/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/swish.cgi.in': Permission denied chmod: cannot access '/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/swish.gif': Permission denied chmod: cannot access '/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/swish.config': Permission denied find: ‘/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/templates’: Permission denied chmod: cannot access '/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/templates': Permission denied find: ‘/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/prog-bin’: Permission denied chmod: cannot access '/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/prog-bin': Permission denied chmod: cannot access '/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/swish-debiandoc': Permission denied chmod: cannot access '/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/README': Permission denied chmod: cannot access '/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/swish.tmpl': Permission denied chmod: cannot access '/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/search.cgi': Permission denied chmod: cannot access '/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/SWISH-Stemmer-0.05.tar.gz': Permission denied find: ‘/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/filters’: Permission denied chmod: cannot access '/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/filters': Permission denied find: ‘/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/modules’: Permission denied chmod: cannot access '/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/modules': Permission denied find: ‘/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/conf’: Permission denied chmod: cannot access '/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/conf': Permission denied chmod: cannot access '/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/search-debiandoc': Permission denied chmod: cannot access '/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/swish-filter-test': Permission denied chmod: cannot access '/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/swish-debiandoc.config': Permission denied chmod: cannot access '/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/swish-mail': Permission denied chmod: cannot access '/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/search.cgi.in': Permission denied chmod: cannot access '/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/swish.tt': Permission denied find: ‘/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/filter-bin’: Permission denied chmod: cannot access '/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/filter-bin': Permission denied chmod: cannot access '/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/Makefile.in': Permission denied chmod: cannot access '/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/Makefile': Permission denied chmod: cannot access '/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/Makefile.am': Permission denied chmod: cannot access '/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/swish.cgi': Permission denied
make: *** [debian/rules:69: binary-arch] Error 1
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-18T16:34:48Z

Finished
--------

du: cannot access '/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/swish.cgi.in': Permission denied du: cannot access '/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/swish.gif': Permission denied du: cannot access '/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/swish.config': Permission denied du: cannot access '/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/templates': Permission denied du: cannot access '/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/prog-bin': Permission denied du: cannot access '/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/swish-debiandoc': Permission denied du: cannot access '/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/README': Permission denied du: cannot access '/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/swish.tmpl': Permission denied du: cannot access '/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/search.cgi': Permission denied du: cannot access '/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/SWISH-Stemmer-0.05.tar.gz': Permission denied du: cannot access '/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/filters': Permission denied du: cannot access '/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/modules': Permission denied du: cannot access '/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/conf': Permission denied du: cannot access '/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/search-debiandoc': Permission denied du: cannot access '/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/swish-filter-test': Permission denied du: cannot access '/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/swish-debiandoc.config': Permission denied du: cannot access '/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/swish-mail': Permission denied du: cannot access '/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/search.cgi.in': Permission denied du: cannot access '/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/swish.tt': Permission denied du: cannot access '/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/filter-bin': Permission denied du: cannot access '/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/Makefile.in': Permission denied du: cannot access '/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/Makefile': Permission denied du: cannot access '/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/Makefile.am': Permission denied du: cannot access '/<<PKGBUILDDIR>>/debian/swish-e/usr/share/doc/swish-e/examples/swish.cgi': Permission denied
E: read_command failed to execute du
E: Cannot determine space needed for /<<PKGBUILDDIR>> (du failed)

+------------------------------------------------------------------------------+
| Cleanup |
+------------------------------------------------------------------------------+

Purging /<<BUILDDIR>>
Not cleaning session: cloned chroot in use
E: Build failure (dpkg-buildpackage died)

+------------------------------------------------------------------------------+
| Summary |
+------------------------------------------------------------------------------+

Build Architecture: arm64
Build Type: binary
Build-Space: n/a
Build-Time: 83
Distribution: sid
Fail-Stage: build
Host Architecture: arm64
Install-Time: 18
Job: /tmp/debusine-fetch-exec-upload-edu7oe_5/swish-e_2.4.7-6.2.dsc
Machine Architecture: arm64
Package: swish-e
Package-Time: 136
Source-Version: 2.4.7-6.2
Space: n/a
Status: attempted
Version: 2.4.7-6.2
--------------------------------------------------------------------------------
Finished at 2024-11-18T16:34:48Z
Build needed 00:02:16, no disk space

-------------------------------------------------------------------------------


The above is just how the build ends and not necessarily the most
relevant part. If required, the full build log is available here:

https://people.debian.org/~nthykier/rrr-no-as-default/logs/1046963.gz

You can find common solutions at
https://people.debian.org/~nthykier/rrr-no-as-default/docs/solutions.md

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

If this package is listed in
https://people.debian.org/~nthykier/rrr-no-as-default/docs/static-ownership.list,
then please just set `Rules-Requires-Root: binary-targets` to the source
stanza of `debian/control` as a fix to this bug.

If this package is listed in
https://people.debian.org/~nthykier/rrr-no-as-default/docs/maybe-misbuilds.list,
then the package was deemed at risk for misbuilding (having wrong
ownership) but had a FTBFS problem we tested it. Please test whether the
package works with `Rules-Requires-Root: no` validating that the
resulting deb has the correct ownership for all paths in the deb.

The goal is to have the default changed in `dpkg` either in `Trixie` or
`Forky`, depending on progress and feasibility with the release schedule
for Trixie.

For more information on this bug filing, please see:
https://lists.debian.org/debian-dpkg/2024/11/msg00016.html

Thanks,


PS: The builds were performed in mid-November. If you fixed the problem
between between then and this bug being filed, then please just close
the bug with the version it was fixed in.

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to