Source: xmlindent
Version: 0.2.17-6
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`,
xmlindent failed to rebuild.

Log Summary:
-------------------------------------------------------------------------------
[...]

+------------------------------------------------------------------------------+
| Build
                                                                       |
+------------------------------------------------------------------------------+


Unpack source
-------------

Format: 3.0 (quilt)
Source: xmlindent
Binary: xmlindent
Architecture: any
Version: 0.2.17-6
Maintainer: Miriam Ruiz <[email protected]>
Homepage: http://xmlindent.sourceforge.net/
Standards-Version: 4.2.1.2
Build-Depends: debhelper (>= 9), quilt, dh-buildinfo, flex, libfl-dev
Package-List:
 xmlindent deb devel optional arch=any
Checksums-Sha1:
024d5c27ae7fd63b012e663c437b3ec46f12b789 18333 xmlindent_0.2.17.orig.tar.gz
 8061d935ae0db2ae5d1d8d5ffbbec7dec628bd1a 3924
xmlindent_0.2.17-6.debian.tar.xz
Checksums-Sha256:
 3a0f6887b696087b8dad4901d3994954214dbbd78499eaf622b9a85060cf254c 18333
xmlindent_0.2.17.orig.tar.gz
 1e6117fe1b15d45901d8211c03c4add6a3b349aa95a7d566cd1b2beb6a7998fc 3924
xmlindent_0.2.17-6.debian.tar.xz
Files:
 c08be3867ee906ca69b949d55a4f3780 18333 xmlindent_0.2.17.orig.tar.gz
 1bc6566432813cbfb7d0055e1ac80ec1 3924 xmlindent_0.2.17-6.debian.tar.xz


gpgv: Signature made Sat Oct 13 03:49:53 2018 UTC
gpgv:                using RSA key 75EFC41387105FFAF4392E025F8E6BE0928FFAFA
gpgv: Can't check signature: No public key
dpkg-source: warning: cannot verify inline signature for ./
xmlindent_0.2.17-6.dsc: no acceptable signature found
dpkg-source: info: extracting xmlindent in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking xmlindent_0.2.17.orig.tar.gz
dpkg-source: info: unpacking xmlindent_0.2.17-6.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying makefile.patch
dpkg-source: info: applying whitespace.patch
dpkg-source: info: applying strlen_yytext_assertion.patch
dpkg-source: info: applying noabort.patch

Check disk space
----------------

Sufficient free space for build

User Environment
----------------

APT_CONFIG=/var/lib/sbuild/apt.conf
HOME=/sbuild-nonexistent
LANG=C.UTF-8
LC_ALL=C.UTF-8
LOGNAME=debusine-worker
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SHELL=/bin/sh
USER=debusine-worker

dpkg-buildpackage
-----------------

Command: dpkg-buildpackage -us -uc -b -rfakeroot
dpkg-buildpackage: info: source package xmlindent
dpkg-buildpackage: info: source version 0.2.17-6
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Miriam Ruiz <[email protected]>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
 debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
[ ! -f Makefile ] || /usr/bin/make clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f xmlindent *.o core lex.yy.c
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
[ ! -d debian/patches ] || /usr/bin/make -f /usr/share/quilt/quilt.make
unpatch
make[1]: Entering directory '/<<PKGBUILDDIR>>'
QUILT_PATCHES=debian/patches \
        quilt --quiltrc /dev/null pop -a -R || test $? = 2
Removing patch noabort.patch
Restoring xmlindent.yy

Removing patch strlen_yytext_assertion.patch
Restoring indent.c

Removing patch whitespace.patch
Restoring indent.c

Removing patch makefile.patch
Restoring Makefile

No patches applied
rm -rf .pc debian/stamp-patched
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_clean dh_clean: warning: Compatibility levels before 10 are
deprecated (level 9 in use)
 debian/rules binary
dh_testdir
[ ! -d debian/patches ] || /usr/bin/make -f /usr/share/quilt/quilt.make
patch
make[1]: Entering directory '/<<PKGBUILDDIR>>'
QUILT_PATCHES=debian/patches \
        quilt --quiltrc /dev/null push -a || test $? = 2
Applying patch makefile.patch
patching file Makefile

Applying patch whitespace.patch
patching file indent.c

Applying patch strlen_yytext_assertion.patch
patching file indent.c

Applying patch noabort.patch
patching file xmlindent.yy

Now at patch noabort.patch
touch debian/stamp-patched
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
touch configure-stamp
dh_testdir
dh_auto_build -- \
        CFLAGS="-g -O2 -Werror=implicit-function-declaration -ffile-prefix-
map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection
-Wformat -Werror=format-security -mbranch-protection=standard -Wdate-
time -D_FORTIFY_SOURCE=2" \
        CXXFLAGS="-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-
protector-strong -fstack-clash-protection -Wformat -Werror=format-
security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2" \
        LDFLAGS="-Wl,-z,relro -Wl,-z,defs  -Wl,-as-needed -Wl,--no-undefined"
dh_auto_build: warning: Compatibility levels before 10 are deprecated
(level 9 in use)
        make -j1 "CFLAGS=-g -O2 -Werror=implicit-function-declaration -ffile-
prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-
protection -Wformat -Werror=format-security -mbranch-protection=standard
-Wdate-time -D_FORTIFY_SOURCE=2" "CXXFLAGS=-g -O2 -ffile-prefix-map=/
<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -
Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time
-D_FORTIFY_SOURCE=2" "LDFLAGS=-Wl,-z,relro -Wl,-z,defs  -Wl,-as-needed -
Wl,--no-undefined"
make[1]: Entering directory '/<<PKGBUILDDIR>>'
flex xmlindent.yy
cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/
<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -
Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time
-D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,defs  -Wl,-as-needed -Wl,--no-
undefined error.c indent.c buffer.c main.c -o xmlindent -lfl
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
touch build-stamp
dh_testdir
dh_testroot
dh_prep
dh_installdirs
dh_installdirs: warning: Compatibility levels before 10 are deprecated
(level 9 in use)
/usr/bin/make install DESTDIR=/<<PKGBUILDDIR>>/debian/xmlindent
make[1]: Entering directory '/<<PKGBUILDDIR>>'
mkdir -p /<<PKGBUILDDIR>>/debian/xmlindent/usr/bin
mkdir -p /<<PKGBUILDDIR>>/debian/xmlindent/usr/share/man/man1
install -m555 xmlindent /<<PKGBUILDDIR>>/debian/xmlindent/usr/bin/xmlindent
install -m444 xmlindent.1 /<<PKGBUILDDIR>>/debian/xmlindent/usr/share/
man/man1/xmlindent.1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_testdir
dh_testroot
dh_installchangelogs ChangeLog
dh_installchangelogs: warning: Compatibility levels before 10 are
deprecated (level 9 in use)
dh_installdocs
dh_installdocs: warning: Compatibility levels before 10 are deprecated
(level 9 in use)
dh_installexamples
dh_installexamples: warning: Compatibility levels before 10 are
deprecated (level 9 in use)
dh_installman
dh_installman: warning: Compatibility levels before 10 are deprecated
(level 9 in use)
dh_link
dh_link: warning: Compatibility levels before 10 are deprecated (level 9
in use)
dh_strip
dh_strip: warning: Compatibility levels before 10 are deprecated (level
9 in use)
strip: unable to copy file 'debian/xmlindent/usr/bin/xmlindent'; reason:
Permission denied
dh_strip: error: strip --remove-section=.comment --remove-section=.note
debian/xmlindent/usr/bin/xmlindent returned exit code 1
dh_strip: error: Aborting due to earlier error
make: *** [debian/rules:60: binary-arch] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit
status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-18T21:11:29Z

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


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