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

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

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


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

Format: 3.0 (quilt)
Source: phpwebcounter
Binary: phpwebcounter
Architecture: all
Version: 1.0-5.1
Maintainer: Gilmar dos Reis Queiroz <gilmardosreis...@gmail.com>
Homepage: http://phpwebcounter.sf.net
Standards-Version: 3.9.8
Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/phpwebcounter.git
Vcs-Git: https://anonscm.debian.org/git/collab-maint/phpwebcounter.git
Build-Depends: debhelper (>= 9)
Package-List:
 phpwebcounter deb web optional arch=all
Checksums-Sha1:
 ae551516c6f937d4881d7e4722fd47aca2cfaf72 24738
phpwebcounter_1.0.orig.tar.gz
 0f65f632cf32ba031657f2ae5e131300a0bc2d8d 3448
phpwebcounter_1.0-5.1.debian.tar.xz
Checksums-Sha256:
 802dcb51fc90f503c3f76d3a6c8dd015de834a841667c8754cbe73f8ee411a1b 24738
phpwebcounter_1.0.orig.tar.gz
 c269643fbd9b9cd1a0234ae978213d0e4ba86ea715964caec8591bb08d33e024 3448
phpwebcounter_1.0-5.1.debian.tar.xz
Files:
 83b9c72af5af65833f8f452864d76353 24738 phpwebcounter_1.0.orig.tar.gz
 fc8ad947ff1b4e6af8aefe364c827ba4 3448 phpwebcounter_1.0-5.1.debian.tar.xz


gpgv: Signature made Tue Jun 14 13:16:54 2022 UTC
gpgv:                using RSA key B8BF54137B09D35CF026FE9D091AB856069AAA1C
gpgv: Can't check signature: No public key
dpkg-source: warning: cannot verify inline signature for ./
phpwebcounter_1.0-5.1.dsc: no acceptable signature found
dpkg-source: info: extracting phpwebcounter in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking phpwebcounter_1.0.orig.tar.gz
dpkg-source: info: unpacking phpwebcounter_1.0-5.1.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying Makefile.patch

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

Sufficient free space for build

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

APT_CONFIG=/var/lib/sbuild/apt.conf
HOME=/sbuild-nonexistent
LANG=en_US.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 phpwebcounter
dpkg-buildpackage: info: source version 1.0-5.1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Holger Levsen <hol...@debian.org>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
 debian/rules clean
dh clean --parallel
dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
   dh_auto_clean -O--parallel
dh_auto_clean: warning: Compatibility levels before 10 are deprecated
(level 9 in use)
   dh_clean -O--parallel
dh_clean: warning: Compatibility levels before 10 are deprecated (level
9 in use)
 debian/rules binary
dh binary --parallel
dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
   dh_update_autotools_config -O--parallel
   dh_auto_configure -O--parallel
dh_auto_configure: warning: Compatibility levels before 10 are
deprecated (level 9 in use)
   dh_auto_build -O--parallel
dh_auto_build: warning: Compatibility levels before 10 are deprecated
(level 9 in use)
        make -j4
make[1]: Entering directory '/<<PKGBUILDDIR>>'
#
# ------------------------------------------------
# Run "# make install" to install PHP Web Counter.
# ------------------------------------------------
#
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test -O--parallel
dh_auto_test: warning: Compatibility levels before 10 are deprecated
(level 9 in use)
   dh_testroot -O--parallel
   dh_prep -O--parallel
   dh_auto_install --destdir=debian/phpwebcounter/ -O--parallel
dh_auto_install: warning: Compatibility levels before 10 are deprecated
(level 9 in use)
        make -j4 install DESTDIR=/<<PKGBUILDDIR>>/debian/phpwebcounter
AM_UPDATE_INFO_DIR=no
make[1]: Entering directory '/<<PKGBUILDDIR>>'

Creating /<<PKGBUILDDIR>>/debian/phpwebcounter/usr/share/phpwebcounter...
Installing program...
Creating /<<PKGBUILDDIR>>/debian/phpwebcounter/etc/phpwebcounter...
Installing config file...
Creating /<<PKGBUILDDIR>>/debian/phpwebcounter/usr/share/phpwebcounter/
images...
Copying images...
Creating /<<PKGBUILDDIR>>/debian/phpwebcounter/var/lib/phpwebcounter...

chown: warning: '.' should be ':': ‘www-data.www-data’
chown: changing ownership of '/<<PKGBUILDDIR>>/debian/phpwebcounter/var/
lib/phpwebcounter': Operation not permitted
make[1]: *** [Makefile:31: install] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_install: error: make -j4 install DESTDIR=/<<PKGBUILDDIR>>/
debian/phpwebcounter AM_UPDATE_INFO_DIR=no returned exit code 2
make: *** [debian/rules:5: binary] Error 255
dpkg-buildpackage: error: debian/rules binary subprocess returned exit
status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-17T20:09:55Z

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


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