Source: openguides
Version: 0.84-1
Severity: important
Tags: ftbfs
Justification: FTBFS
X-Debbugs-Cc: ni...@thykier.net
User: ni...@thykier.net
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`,
openguides failed to rebuild.

Log Summary:
-------------------------------------------------------------------------------
[...]
ok 1 - Right number of nodes returned in pure category search
ok 2 - Index of Category Pubs - Test
ok 3 - ...and we link to the category page.
ok 4 - Right number of nodes returned in pure locale search
ok 5 - Index of Locale Waddon - Test
ok 6 - ...and we link to the locale page.
ok 7 - Right number of nodes returned in category+locale search
ok 8 - Index of Category Pubs and Locale Waddon - Test
ok 9 - ...and we link to the category page.
ok 10 - ...and we link to the locale page.
ok 11 - Right number of nodes returned in category+locale search with map
ok 12 - Map of Category Pubs and Locale Waddon - Test
ok 13 - ...and we link to the category page.
ok 14 - ...and we link to the locale page.
ok 15 - Page title is correct on RDF version.
ok 16 - JSON format invocation doesn't cause error.
ok 17 - ...and its output looks like JSON.
ok 18 - ...and has the right number of nodes.
ok
t/906_show_index_form.t ................... 1..40
Creating table internal_links... done
Creating table schema_info... done
Creating table content... done
Creating table metadata... done
Creating table node... done
ok 1 - ->make_index_form_dropdowns doesn't die when no criteria supplied
ok 2 - ...and we have a 'cat' select
ok 3 - ...and the categories seem to be in the right order
ok 4 - ...and we have a 'loc' select
ok 5 - ...and the locales seem to be in the right order
ok 6 - ...and category dropdown comes before locale dropdown
ok 7 - ...and the empty value is selected for category
ok 8 - ...and the empty value is selected for locale
ok 9 - ->make_index_form_dropdowns doesn't die when category supplied
ok 10 - ...and we have a 'cat' select
ok 11 - ...and the categories seem to be in the right order
ok 12 - ...and we have a 'loc' select
ok 13 - ...and the locales seem to be in the right order
ok 14 - ...and category dropdown comes before locale dropdown
ok 15 - ...and the category is selected
ok 16 - ...and the empty value is present in the category dropdown
ok 17 - ...but not selected
ok 18 - ...and the empty value is selected for locale
ok 19 - ->make_index_form_dropdowns doesn't die when locale supplied
ok 20 - ...and we have a 'cat' select
ok 21 - ...and the categories seem to be in the right order
ok 22 - ...and we have a 'loc' select
ok 23 - ...and the locales seem to be in the right order
ok 24 - ...and category dropdown comes before locale dropdown
ok 25 - ...and the locale is selected
ok 26 - ...and the empty value is present in the locale dropdown
ok 27 - ...but not selected
ok 28 - ...and the empty value is selected for category
ok 29 - ->make_index_form_dropdowns doesn't die when locale and categorysupplied
ok 30 - ...and we have a 'cat' select
ok 31 - ...and the categories seem to be in the right order
ok 32 - ...and we have a 'loc' select
ok 33 - ...and the locales seem to be in the right order
ok 34 - ...and category dropdown comes before locale dropdown
ok 35 - ...and the category is selected
ok 36 - ...and the empty value is present in the category dropdown
ok 37 - ...but not selected
ok 38 - ...and the locale is selected
ok 39 - ...and the empty value is present in the locale dropdown
ok 40 - ...but not selected
ok
t/907_auto_map_link.t ..................... 1..10
Creating table metadata... done
Creating table node... done
Creating table schema_info... done
Creating table content... done
Creating table internal_links... done
ok 1 - node display OK if no custom auto map link template
ok 2 - map link included from node data if no custom template
ok 3 - custom template saw map link
ok 4 - custom template noticed we were in the address section
ok 5 - custom template didn't have any map link but was called
ok 6 - but not from the address section
ok 7 - custom template didn't have any map link but was called
ok 8 - and was called from the address section
ok 9 - custom template saw map link
ok 10 - but not from the address section
ok
t/908_custom_node_location_search.t ....... 1..3
Creating table node... done
Creating table content... done
Creating table internal_links... done
Creating table schema_info... done
Creating table metadata... done
ok 1 - node display OK if no custom node location search template
ok 2 - Find all things found
ok 3 - custom template included
ok
t/909_external_class_metadata.t ........... 1..2
Creating table content... done
Creating table node... done
Creating table schema_info... done
Creating table internal_links... done
Creating table metadata... done
ok 1 - map link has a class of external
ok 2 - website link has a class of external
ok
All tests successful.
Files=100, Tests=1400, 58 wallclock secs ( 0.52 usr 0.25 sys + 44.02 cusr 7.23 csys = 52.02 CPU)
Result: PASS
   create-stamp debian/debhelper-build-stamp
   dh_prep
   dh_installdirs
   debian/rules override_dh_auto_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_install
/usr/bin/perl Build install --destdir /<<PKGBUILDDIR>>/debian/openguides --create_packlist 0
Building OpenGuides
Installing /<<PKGBUILDDIR>>/debian/openguides/usr/share/perl5/OpenGuides.pm
Installing /<<PKGBUILDDIR>>/debian/openguides/usr/share/perl5/OpenGuides/Config.pm Installing /<<PKGBUILDDIR>>/debian/openguides/usr/share/perl5/OpenGuides/CGI.pm Installing /<<PKGBUILDDIR>>/debian/openguides/usr/share/perl5/OpenGuides/Search.pm Installing /<<PKGBUILDDIR>>/debian/openguides/usr/share/perl5/OpenGuides/Build.pm Installing /<<PKGBUILDDIR>>/debian/openguides/usr/share/perl5/OpenGuides/Utils.pm Installing /<<PKGBUILDDIR>>/debian/openguides/usr/share/perl5/OpenGuides/RDF.pm Installing /<<PKGBUILDDIR>>/debian/openguides/usr/share/perl5/OpenGuides/Feed.pm Installing /<<PKGBUILDDIR>>/debian/openguides/usr/share/perl5/OpenGuides/ConfigData.pm Installing /<<PKGBUILDDIR>>/debian/openguides/usr/share/perl5/OpenGuides/Test.pm Installing /<<PKGBUILDDIR>>/debian/openguides/usr/share/perl5/OpenGuides/JSON.pm Installing /<<PKGBUILDDIR>>/debian/openguides/usr/share/perl5/OpenGuides/Template.pm Installing /<<PKGBUILDDIR>>/debian/openguides/usr/share/perl5/OpenGuides/Search/Lucy.pm Installing /<<PKGBUILDDIR>>/debian/openguides/usr/share/man/man3/OpenGuides::CGI.3pm Installing /<<PKGBUILDDIR>>/debian/openguides/usr/share/man/man3/OpenGuides::Search.3pm Installing /<<PKGBUILDDIR>>/debian/openguides/usr/share/man/man3/OpenGuides::ConfigData.3pm Installing /<<PKGBUILDDIR>>/debian/openguides/usr/share/man/man3/OpenGuides::Utils.3pm Installing /<<PKGBUILDDIR>>/debian/openguides/usr/share/man/man3/OpenGuides::Config.3pm Installing /<<PKGBUILDDIR>>/debian/openguides/usr/share/man/man3/OpenGuides::Test.3pm Installing /<<PKGBUILDDIR>>/debian/openguides/usr/share/man/man3/OpenGuides::RDF.3pm Installing /<<PKGBUILDDIR>>/debian/openguides/usr/share/man/man3/OpenGuides::JSON.3pm Installing /<<PKGBUILDDIR>>/debian/openguides/usr/share/man/man3/OpenGuides::Template.3pm Installing /<<PKGBUILDDIR>>/debian/openguides/usr/share/man/man3/OpenGuides::Feed.3pm Installing /<<PKGBUILDDIR>>/debian/openguides/usr/share/man/man3/OpenGuides::Search::Lucy.3pm Installing /<<PKGBUILDDIR>>/debian/openguides/usr/share/man/man3/OpenGuides.3pm Installing scripts to /<<PKGBUILDDIR>>/debian/openguides/usr/lib/cgi-bin/openguides: Trying to ensure that wiki.conf is protected by .htaccess.. apparent success. You should check that this is working! Installing templates to /<<PKGBUILDDIR>>/debian/openguides/usr/share/openguides/templates: Creating directory /<<PKGBUILDDIR>>/debian/openguides/etc/openguides/default/templates. Installing static files to /<<PKGBUILDDIR>>/debian/openguides/usr/share/openguides/static:
Checking database schema...
Creating table content... done
Creating table metadata... done
Creating table node... done
Creating table schema_info... done
Creating table internal_links... done
rm -f debian/openguides/usr/share/perl5/OpenGuides/Build.pm debian/openguides/usr/share/perl5/OpenGuides/ConfigData.pm debian/openguides/usr/share/man/man3/OpenGuides::ConfigData.3pm debian/openguides/var/lib/openguides/sqlite/default.db
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_install
   dh_installdocs
   dh_installchangelogs
   dh_installexamples
   dh_installman
   dh_installdebconf
   dh_lintian
   dh_perl
   dh_link
   dh_strip_nondeterminism
   dh_compress
   debian/rules override_dh_fixperms
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_fixperms
chgrp www-data debian/openguides/etc/openguides/default/wiki.conf
chgrp: changing group of 'debian/openguides/etc/openguides/default/wiki.conf': Operation not permitted
make[1]: *** [debian/rules:20: override_dh_fixperms] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:3: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-17T16:08:28Z

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


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/1025801.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