Source: tripwire
Version: 2.4.3.7-5
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`,
tripwire failed to rebuild.

Log Summary:
-------------------------------------------------------------------------------
[...]
g++ -DHAVE_CONFIG_H -I. -I../.. -I./.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -Wextra -Wno-unused-parameter -c -o usernotifystdout_t.o usernotifystdout_t.cpp g++ -DHAVE_CONFIG_H -I. -I../.. -I./.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -Wextra -Wno-unused-parameter -c -o wchar16_t.o wchar16_t.cpp g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu++14 -Wextra -Wno-unused-parameter -Wl,-z,relro -L../../lib -o twtest archive_t.o blockfile_t.o blockrecordarray_t.o charutil_t.o cmdlineparser_t.o codeconvert_t.o configfile_t.o cryptoarchive_t.o crypto_t.o dbdatasource_t.o debug_t.o displayencoder_t.o error_t.o errorbucketimpl_t.o fcocompare_t.o fcodatabasefile_t.o fconame_t.o fconametbl_t.o fconametranslator_t.o fcopropimpl_t.o fcopropvector_t.o fcoreport_t.o fcosetimpl_t.o fcospec_t.o fcospecattr_t.o fcospechelper_t.o fcospeclist_t.o fcospecutil_t.o file_t.o fileheader_t.o fileutil_t.o fsdatasourceiter_t.o fsobject_t.o fspropcalc_t.o fspropdisplayer_t.o fspropset_t.o fsspec_t.o genre_t.o genrespeclist_t.o genreswitcher_t.o growheap_t.o hashtable_t.o hierdatabase_t.o keyfile_t.o platform_t.o policyparser_t.o refcountobj_t.o resources_t.o serializer_t.o serializerimpl_t.o signature_t.o srefcountobj_t.o stdtest.o stringencoder_t.o tasktimer_t.o tchar_t.o test.o textreportviewer_t.o twlocale_t.o twutil_t.o types_t.o unixfsservices_t.o usernotifystdout_t.o wchar16_t.o -ltripwire -lcryptlib make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/twtest'
make[4]: Entering directory '/<<PKGBUILDDIR>>/src'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[3]: Entering directory '/<<PKGBUILDDIR>>'
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
touch build-stamp
dh_testdir
dh_testroot
dh_prep
dh_installdirs
/usr/bin/make install prefix=/<<PKGBUILDDIR>>/debian/tripwire/usr
make[1]: Entering directory '/<<PKGBUILDDIR>>'
Making install in man
make[2]: Entering directory '/<<PKGBUILDDIR>>/man'
Making install in man4
make[3]: Entering directory '/<<PKGBUILDDIR>>/man/man4'
make[4]: Entering directory '/<<PKGBUILDDIR>>/man/man4'
make[4]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/<<PKGBUILDDIR>>/debian/tripwire/usr/share/man/man4'
/usr/bin/install -c -m 644 twconfig.4 twpolicy.4 '/<<PKGBUILDDIR>>/debian/tripwire/usr/share/man/man4'
make[4]: Leaving directory '/<<PKGBUILDDIR>>/man/man4'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/man/man4'
Making install in man5
make[3]: Entering directory '/<<PKGBUILDDIR>>/man/man5'
make[4]: Entering directory '/<<PKGBUILDDIR>>/man/man5'
make[4]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/<<PKGBUILDDIR>>/debian/tripwire/usr/share/man/man5'
/usr/bin/install -c -m 644 twfiles.5 '/<<PKGBUILDDIR>>/debian/tripwire/usr/share/man/man5'
make[4]: Leaving directory '/<<PKGBUILDDIR>>/man/man5'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/man/man5'
Making install in man8
make[3]: Entering directory '/<<PKGBUILDDIR>>/man/man8'
make[4]: Entering directory '/<<PKGBUILDDIR>>/man/man8'
make[4]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/<<PKGBUILDDIR>>/debian/tripwire/usr/share/man/man8'
/usr/bin/install -c -m 644 siggen.8 tripwire.8 twadmin.8 twintro.8 twprint.8 '/<<PKGBUILDDIR>>/debian/tripwire/usr/share/man/man8'
make[4]: Leaving directory '/<<PKGBUILDDIR>>/man/man8'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/man/man8'
make[3]: Entering directory '/<<PKGBUILDDIR>>/man'
make[4]: Entering directory '/<<PKGBUILDDIR>>/man'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/<<PKGBUILDDIR>>/man'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/man'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/man'
Making install in src
make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
true
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: Entering directory '/<<PKGBUILDDIR>>'
make[3]: Entering directory '/<<PKGBUILDDIR>>'
make[3]: Nothing to be done for 'install-exec-am'.
/usr/bin/make  install-data-hook
make[4]: Entering directory '/<<PKGBUILDDIR>>'
INSTALL_STRIP_FLAG="" \
prefix="/<<PKGBUILDDIR>>/debian/tripwire/usr" sysconfdir="/etc/tripwire" \
path_to_vi="" path_to_sendmail="" \
./installer/install.sh

Installer program for:
Tripwire(R) 2.4 Open Source

Copyright (C) 1998-2017 Tripwire, Inc.
Tripwire is a registered trademark of Tripwire, Inc. All rights reserved.

Using configuration file ./installer/install.cfg

Checking for programs specified in install configuration file....

/usr/sbin/sendmail -oi -t exists.  Continuing installation.

 exists.  Continuing installation.


----------------------------------------------
Verifying existence of binaries...

./bin/siggen found
./bin/tripwire found
./bin/twprint found
./bin/twadmin found

This program will copy Tripwire files to the following directories:

        TWBIN: /<<PKGBUILDDIR>>/debian/tripwire/usr/sbin
        TWMAN: /<<PKGBUILDDIR>>/debian/tripwire/usr/share/man
     TWPOLICY: /<<PKGBUILDDIR>>/debian/tripwire/usr/../etc/tripwire
TWREPORT: /<<PKGBUILDDIR>>/debian/tripwire/usr/../var/lib/tripwire/report
         TWDB: /<<PKGBUILDDIR>>/debian/tripwire/usr/../var/lib/tripwire
 TWSITEKEYDIR: /<<PKGBUILDDIR>>/debian/tripwire/usr/../etc/tripwire
TWLOCALKEYDIR: /<<PKGBUILDDIR>>/debian/tripwire/usr/../etc/tripwire

CLOBBER is false.

----------------------------------------------
Creating directories...

/<<PKGBUILDDIR>>/debian/tripwire/usr/sbin: created
/<<PKGBUILDDIR>>/debian/tripwire/usr/../etc/tripwire: already exists
/<<PKGBUILDDIR>>/debian/tripwire/usr/../var/lib/tripwire/report: created
/<<PKGBUILDDIR>>/debian/tripwire/usr/../var/lib/tripwire: already exists
/<<PKGBUILDDIR>>/debian/tripwire/usr/../etc/tripwire: already exists
/<<PKGBUILDDIR>>/debian/tripwire/usr/../etc/tripwire: already exists
/<<PKGBUILDDIR>>/debian/tripwire/usr/share/man: already exists
/<<PKGBUILDDIR>>/debian/tripwire/usr/share/doc/tripwire: created

----------------------------------------------
Copying files...

/<<PKGBUILDDIR>>/debian/tripwire/usr/share/doc/tripwire/COPYING: copied
/<<PKGBUILDDIR>>/debian/tripwire/usr/sbin/tripwire: copied
/<<PKGBUILDDIR>>/debian/tripwire/usr/sbin/twadmin: copied
/<<PKGBUILDDIR>>/debian/tripwire/usr/sbin/twprint: copied
/<<PKGBUILDDIR>>/debian/tripwire/usr/sbin/siggen: copied
/<<PKGBUILDDIR>>/debian/tripwire/usr/share/doc/tripwire/TRADEMARK: copied
/<<PKGBUILDDIR>>/debian/tripwire/usr/share/doc/tripwire/policyguide.txt: copied
/<<PKGBUILDDIR>>/debian/tripwire/usr/../etc/tripwire/twpol-Linux.txt: copied
/<<PKGBUILDDIR>>/debian/tripwire/usr/share/doc/tripwire/COMMERCIAL: copied
/<<PKGBUILDDIR>>/debian/tripwire/usr/share/doc/tripwire/ReadMe-2.4.3: copied
/<<PKGBUILDDIR>>/debian/tripwire/usr/share/doc/tripwire/ChangeLog: copied
make[4]: Leaving directory '/<<PKGBUILDDIR>>'
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
rm -rf /<<PKGBUILDDIR>>/debian/tripwire/etc/tripwire/twpol-Linux.txt
rm -rf /<<PKGBUILDDIR>>/debian/tripwire/usr/share/doc/tripwire/policyguide.txt
rm -rf /<<PKGBUILDDIR>>/debian/tripwire/usr/share/doc/tripwire/COPYING
install -m 600 debian/twcfg.txt debian/twpol.txt /<<PKGBUILDDIR>>/debian/tripwire/etc/tripwire/
dh_testdir
dh_testroot
dh_installdebconf       
dh_installdocs
dh_installexamples
dh_installcron
dh_installman
dh_lintian
dh_installchangelogs
dh_link
dh_strip
strip: unable to copy file 'debian/tripwire/usr/sbin/siggen'; reason: Permission denied dh_strip: error: strip --remove-section=.comment --remove-section=.note debian/tripwire/usr/sbin/siggen returned exit code 1
dh_strip: error: Aborting due to earlier error
make: *** [debian/rules:81: binary-arch] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-18T18:13:27Z

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


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