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

Bug#1089449: taglib: Supporting rootless builds by default



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

Log Summary:
-------------------------------------------------------------------------------
[...]
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/tstringlist.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/tbytevector.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/tbytevectorlist.h -- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/tbytevectorstream.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/tiostream.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/tfile.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/tfilestream.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/tmap.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/tmap.tcc
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/tpropertymap.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/trefcounter.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/tdebuglistener.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/mpegfile.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/mpegproperties.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/mpegheader.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/xingheader.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/id3v1tag.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/id3v1genres.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/id3v2.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/id3v2extendedheader.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/id3v2frame.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/id3v2header.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/id3v2synchdata.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/id3v2footer.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/id3v2framefactory.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/id3v2tag.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/attachedpictureframe.h -- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/commentsframe.h -- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/eventtimingcodesframe.h -- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/generalencapsulatedobjectframe.h -- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/ownershipframe.h -- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/popularimeterframe.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/privateframe.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/relativevolumeframe.h -- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/synchronizedlyricsframe.h -- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/textidentificationframe.h -- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/uniquefileidentifierframe.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/unknownframe.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/unsynchronizedlyricsframe.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/urllinkframe.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/chapterframe.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/tableofcontentsframe.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/podcastframe.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/oggfile.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/oggpage.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/oggpageheader.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/xiphcomment.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/vorbisfile.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/vorbisproperties.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/oggflacfile.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/speexfile.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/speexproperties.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/opusfile.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/opusproperties.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/flacfile.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/flacpicture.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/flacproperties.h -- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/flacmetadatablock.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/apefile.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/apeproperties.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/apetag.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/apefooter.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/apeitem.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/mpcfile.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/mpcproperties.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/wavpackfile.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/wavpackproperties.h -- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/trueaudiofile.h -- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/trueaudioproperties.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/rifffile.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/aifffile.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/aiffproperties.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/wavfile.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/wavproperties.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/infotag.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/asffile.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/asfproperties.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/asftag.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/asfattribute.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/asfpicture.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/mp4file.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/mp4atom.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/mp4tag.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/mp4item.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/mp4properties.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/mp4coverart.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/modfilebase.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/modfile.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/modtag.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/modproperties.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/itfile.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/itproperties.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/s3mfile.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/s3mproperties.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/xmfile.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/xmproperties.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu/libtag_c.so.0.0.0 -- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu/libtag_c.so.0 -- Set non-toolchain portion of runtime path of "/<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu/libtag_c.so.0.0.0" to "" -- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu/libtag_c.so
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/include/taglib/tag_c.h
-- Installing: /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu/pkgconfig/taglib_c.pc
make[1]: Leaving directory '/<<PKGBUILDDIR>>/builddir'
   dh_install -O--buildsystem=cmake -O--builddirectory=builddir
   debian/rules override_dh_installdocs
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_installdocs -X '*.md5'
# Install bindings README
if [ -d debian/libtag1v5 ]; then \
install -m644 -oroot -groot -T bindings/README debian/libtag1v5/usr/share/doc/libtag1v5/README.bindings; \
fi;
install: cannot change ownership of 'debian/libtag1v5/usr/share/doc/libtag1v5/README.bindings': Operation not permitted
make[1]: *** [debian/rules:32: override_dh_installdocs] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:47: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-18T16:45:22Z

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


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/1047159.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 to: