Source: focalinux
Version: 2010-09-3.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`,
focalinux failed to rebuild.

Log Summary:
-------------------------------------------------------------------------------
[...]
cd focalinux-text/iniciante; ( \
debiandoc2text -lpt_BR ../../index.sgml \
)
#Constr�i o arquivo dinamicas.ent para a vers�o intermedi�rio
echo "<!-- N�vel da vers�o que ser� gerada (podem ser gerada mais de uma vers�o" >dinamicas.ent echo "em um �nico guia, produzindo uma vers�o INICIANTE/INTERMEDI�RIO, por" >>dinamicas.ent echo "exemplo). N�o se preocupe, a vers�o final do guia ser� bem organizada" >>dinamicas.ent
echo "(e um pouco grande, dependendo das escolhas...)" >>dinamicas.ent
echo "-->" >>dinamicas.ent
echo "<!entity % INICIANTE \"IGNORE\" >"  >>dinamicas.ent
echo "<!entity % INTERMEDIARIO \"INCLUDE\" >"  >>dinamicas.ent
echo "<!entity % AVANCADO \"IGNORE\" >"  >>dinamicas.ent
echo "<!entity % CAPJUNTOS \"INCLUDE\" >"  >>dinamicas.ent
echo "<!-- Data da cria��o do Documento -->"  >>dinamicas.ent
echo "<!entity DATADOC \"Domingo, 05 de Setembro de 2010\" >" >>dinamicas.ent
cd focalinux-text/intermediario; ( \
debiandoc2text -lpt_BR ../../index.sgml \
)
#Constr�i o arquivo dinamicas.ent para a vers�o Avan�ado
echo "<!-- N�vel da vers�o que ser� gerada (podem ser gerada mais de uma vers�o" >dinamicas.ent echo "em um �nico guia, produzindo uma vers�o INICIANTE/INTERMEDI�RIO, por" >>dinamicas.ent echo "exemplo). N�o se preocupe, a vers�o final do guia ser� bem organizada" >>dinamicas.ent
echo "(e um pouco grande, dependendo das escolhas...)" >>dinamicas.ent
echo "-->" >>dinamicas.ent
echo "<!entity % INICIANTE \"IGNORE\" >"  >>dinamicas.ent
echo "<!entity % INTERMEDIARIO \"IGNORE\" >"  >>dinamicas.ent
echo "<!entity % AVANCADO \"INCLUDE\" >"  >>dinamicas.ent
echo "<!entity % CAPJUNTOS \"INCLUDE\" >"  >>dinamicas.ent
echo "<!-- Data da cria��o do Documento -->"  >>dinamicas.ent
echo "<!entity DATADOC \"Domingo, 05 de Setembro de 2010\" >" >>dinamicas.ent
cd focalinux-text/avancado; ( \
debiandoc2text -lpt_BR ../../index.sgml \
)
touch build-text-stamp
dh_testdir
mkdir -p focalinux-html/iniciante
mkdir -p focalinux-html/intermediario
mkdir -p focalinux-html/avancado
#Constr�i o arquivo dinamicas.ent para a vers�o iniciante
echo "<!-- N�vel da vers�o que ser� gerada (podem ser gerada mais de uma vers�o" >dinamicas.ent echo "em um �nico guia, produzindo uma vers�o INICIANTE/INTERMEDI�RIO, por" >>dinamicas.ent echo "exemplo). N�o se preocupe, a vers�o final do guia ser� bem organizada" >>dinamicas.ent
echo "(e um pouco grande, dependendo das escolhas...)" >>dinamicas.ent
echo "-->" >>dinamicas.ent
echo "<!entity % INICIANTE \"INCLUDE\" >"  >>dinamicas.ent
echo "<!entity % INTERMEDIARIO \"IGNORE\" >"  >>dinamicas.ent
echo "<!entity % AVANCADO \"IGNORE\" >"  >>dinamicas.ent
echo "<!entity % CAPJUNTOS \"INCLUDE\" >"  >>dinamicas.ent
echo "<!-- Data da cria��o do Documento -->"  >>dinamicas.ent
echo "<!entity DATADOC \"Domingo, 05 de Setembro de 2010\" >" >>dinamicas.ent
cd focalinux-html/iniciante; ( \
debiandoc2html -lpt_BR ../../index.sgml \
)
#Constr�i o arquivo dinamicas.ent para a vers�o intermedi�rio
echo "<!-- N�vel da vers�o que ser� gerada (podem ser gerada mais de uma vers�o" >dinamicas.ent echo "em um �nico guia, produzindo uma vers�o INICIANTE/INTERMEDI�RIO, por" >>dinamicas.ent echo "exemplo). N�o se preocupe, a vers�o final do guia ser� bem organizada" >>dinamicas.ent
echo "(e um pouco grande, dependendo das escolhas...)" >>dinamicas.ent
echo "-->" >>dinamicas.ent
echo "<!entity % INICIANTE \"IGNORE\" >"  >>dinamicas.ent
echo "<!entity % INTERMEDIARIO \"INCLUDE\" >"  >>dinamicas.ent
echo "<!entity % AVANCADO \"IGNORE\" >"  >>dinamicas.ent
echo "<!entity % CAPJUNTOS \"INCLUDE\" >"  >>dinamicas.ent
echo "<!-- Data da cria��o do Documento -->"  >>dinamicas.ent
echo "<!entity DATADOC \"Domingo, 05 de Setembro de 2010\" >" >>dinamicas.ent
cd focalinux-html/intermediario; ( \
debiandoc2html -lpt_BR ../../index.sgml \
)
#Constr�i o arquivo dinamicas.ent para a vers�o avan�ado
echo "<!-- N�vel da vers�o que ser� gerada (podem ser gerada mais de uma vers�o" >dinamicas.ent echo "em um �nico guia, produzindo uma vers�o INICIANTE/INTERMEDI�RIO, por" >>dinamicas.ent echo "exemplo). N�o se preocupe, a vers�o final do guia ser� bem organizada" >>dinamicas.ent
echo "(e um pouco grande, dependendo das escolhas...)" >>dinamicas.ent
echo "-->" >>dinamicas.ent
echo "<!entity % INICIANTE \"IGNORE\" >"  >>dinamicas.ent
echo "<!entity % INTERMEDIARIO \"IGNORE\" >"  >>dinamicas.ent
echo "<!entity % AVANCADO \"INCLUDE\" >"  >>dinamicas.ent
echo "<!entity % CAPJUNTOS \"INCLUDE\" >"  >>dinamicas.ent
echo "<!-- Data da cria��o do Documento -->"  >>dinamicas.ent
echo "<!entity DATADOC \"Domingo, 05 de Setembro de 2010\" >" >>dinamicas.ent
cd focalinux-html/avancado; ( \
debiandoc2html -lpt_BR ../../index.sgml \
)
touch build-html-stamp
debian/rules binary-focalinux-text DH_OPTIONS="-pfocalinux-text"
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# Need this version of debhelper for DH_OPTIONS to work.
dh_testdir
dh_testroot
dh_installdirs /usr/share/doc/focalinux-text
dh_installdirs: warning: Compatibility levels before 10 are deprecated (level 8 in use)
dh_installdirs /usr/share/doc/focalinux/text/iniciante
dh_installdirs: warning: Compatibility levels before 10 are deprecated (level 8 in use)
dh_installdirs /usr/share/doc/focalinux/text/intermediario
dh_installdirs: warning: Compatibility levels before 10 are deprecated (level 8 in use)
dh_installdirs /usr/share/doc/focalinux/text/avancado
dh_installdirs: warning: Compatibility levels before 10 are deprecated (level 8 in use)
dh_installdirs /DEBIAN
dh_installdirs: warning: Compatibility levels before 10 are deprecated (level 8 in use) install -m 644 focalinux-text/iniciante/index.txt debian/focalinux-text/usr/share/doc/focalinux/text/iniciante install -m 644 focalinux-text/intermediario/index.txt debian/focalinux-text/usr/share/doc/focalinux/text/intermediario install -m 644 focalinux-text/avancado/index.txt debian/focalinux-text/usr/share/doc/focalinux/text/avancado
dh_installdocs TODO README
dh_installdocs: warning: Compatibility levels before 10 are deprecated (level 8 in use)
chown -R root.root debian/focalinux-text
chown: warning: '.' should be ':': ‘root.root’
chown: changing ownership of 'debian/focalinux-text/usr/share/doc/focalinux-text/README': Operation not permitted chown: changing ownership of 'debian/focalinux-text/usr/share/doc/focalinux-text/copyright': Operation not permitted chown: changing ownership of 'debian/focalinux-text/usr/share/doc/focalinux-text/TODO': Operation not permitted chown: changing ownership of 'debian/focalinux-text/usr/share/doc/focalinux-text': Operation not permitted chown: changing ownership of 'debian/focalinux-text/usr/share/doc/focalinux/text/avancado/index.txt': Operation not permitted chown: changing ownership of 'debian/focalinux-text/usr/share/doc/focalinux/text/avancado': Operation not permitted chown: changing ownership of 'debian/focalinux-text/usr/share/doc/focalinux/text/iniciante/index.txt': Operation not permitted chown: changing ownership of 'debian/focalinux-text/usr/share/doc/focalinux/text/iniciante': Operation not permitted chown: changing ownership of 'debian/focalinux-text/usr/share/doc/focalinux/text/intermediario/index.txt': Operation not permitted chown: changing ownership of 'debian/focalinux-text/usr/share/doc/focalinux/text/intermediario': Operation not permitted chown: changing ownership of 'debian/focalinux-text/usr/share/doc/focalinux/text': Operation not permitted chown: changing ownership of 'debian/focalinux-text/usr/share/doc/focalinux': Operation not permitted chown: changing ownership of 'debian/focalinux-text/usr/share/doc': Operation not permitted chown: changing ownership of 'debian/focalinux-text/usr/share/doc-base/focalinux-text.focalinux-text-avancado': Operation not permitted chown: changing ownership of 'debian/focalinux-text/usr/share/doc-base/focalinux-text.focalinux-text-intermediario': Operation not permitted chown: changing ownership of 'debian/focalinux-text/usr/share/doc-base/focalinux-text.focalinux-text-iniciante': Operation not permitted chown: changing ownership of 'debian/focalinux-text/usr/share/doc-base': Operation not permitted chown: changing ownership of 'debian/focalinux-text/usr/share': Operation not permitted chown: changing ownership of 'debian/focalinux-text/usr': Operation not permitted chown: changing ownership of 'debian/focalinux-text/DEBIAN': Operation not permitted chown: changing ownership of 'debian/focalinux-text': Operation not permitted
make[1]: *** [debian/rules:167: binary-focalinux-text] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:151: binary-indep] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-16T04:03:14Z

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


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