Source: ganglia-web
Version: 3.7.6+debian-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`,
ganglia-web failed to rebuild.

Log Summary:
-------------------------------------------------------------------------------
[...]
| Build
                                                                       |
+------------------------------------------------------------------------------+


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

Format: 3.0 (quilt)
Source: ganglia-web
Binary: ganglia-webfrontend
Architecture: all
Version: 3.7.6+debian-1
Maintainer: Marcos Fouces <mar...@debian.org>
Homepage: http://www.ganglia.info/
Standards-Version: 4.6.2
Vcs-Browser: https://salsa.debian.org/debian/ganglia-web
Vcs-Git: https://salsa.debian.org/debian/ganglia-web.git
Build-Depends: debhelper-compat (= 13), rsync
Package-List:
 ganglia-webfrontend deb net optional arch=all
Checksums-Sha1:
 d913def7a537ffafc068976ee30156d2883ea112 476212 ganglia-
web_3.7.6+debian.orig.tar.xz
 f3bf9cc838c0caa03183c7aa25b8e4c939d7a450 287240 ganglia-
web_3.7.6+debian-1.debian.tar.xz
Checksums-Sha256:
 2853cd8de12187160b9ca1b954d2dbbb203afdbdfc24a17f5c1fdf9ea80eacbd 476212
ganglia-web_3.7.6+debian.orig.tar.xz
 b1e36e0b1f0321546ee5b35380a475d171a5d42f0b0e2119e812c664cf0fb460 287240
ganglia-web_3.7.6+debian-1.debian.tar.xz
Files:
 5688bc145b312bee0e5354139113856c 476212 ganglia-
web_3.7.6+debian.orig.tar.xz
 9f14aa3e4697d26db3df5b9cd3ded802 287240 ganglia-
web_3.7.6+debian-1.debian.tar.xz


gpgv: Signature made Sun Mar 10 22:14:45 2024 UTC
gpgv:                using RSA key 7CB8AFFD56032FE35A347D2E6ACCBD0FA3B7447C
gpgv: Can't check signature: No public key
dpkg-source: warning: cannot verify inline signature for ./ganglia-
web_3.7.6+debian-1.dsc: no acceptable signature found
dpkg-source: info: extracting ganglia-web in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking ganglia-web_3.7.6+debian.orig.tar.xz
dpkg-source: info: unpacking ganglia-web_3.7.6+debian-1.debian.tar.xz

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 ganglia-web
dpkg-buildpackage: info: source version 3.7.6+debian-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Marcos Fouces <mar...@debian.org>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
 debian/rules clean
dh clean
   dh_auto_clean
        make -j8 clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -rf conf_default.php ganglia-web.spec version.php apache.conf
ganglia-web-3.7.5 ganglia-web-3.7.5.tar.gz rpmbuild
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean
        rm -f debian/debhelper-build-stamp
        rm -rf debian/.debhelper/
        rm -f -- debian/ganglia-webfrontend.substvars debian/files
        rm -fr -- debian/ganglia-webfrontend/ debian/tmp/
        find .  \( \( \
                \( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path 
.\*/.hg
-o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o -type
f -a \
                \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
                 -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
                 -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
                 -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
                \) -exec rm -f {} + \) -o \
                \( -type d -a \( -name autom4te.cache -o -name __pycache__ \) 
-prune -
exec rm -rf {} + \) \)
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   dh_auto_build
        make -j8 "INSTALL=install --strip-program=true"
make[1]: Entering directory '/<<PKGBUILDDIR>>'
sed -e "s|@vargmetadir@|/var/lib/ganglia|" -e "s|@vargwebstatedir@|/var/
lib/ganglia-web|g" conf_default.php.in > conf_default.php
sed -e s/@GWEB_VERSION@/3.7.5/ -e "s|@vargwebdir@|/var/lib/ganglia-web|"
-e "s|@varapacheuser@|www-data|g" -e "s|@etcdir@|/etc/ganglia-web|g"
ganglia-web.spec.in > ganglia-web.spec
sed -e s/@GWEB_VERSION@/3.7.5/ version.php.in > version.php
sed -e "s|@GDESTDIR@|/usr/share/ganglia-webfrontend|g" apache.conf.in >
apache.conf
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   create-stamp debian/debhelper-build-stamp
   dh_prep
        rm -f -- debian/ganglia-webfrontend.substvars
        rm -fr -- debian/.debhelper/generated/ganglia-webfrontend/ debian/
ganglia-webfrontend/ debian/tmp/
   dh_installdirs
        install -m0755 -d debian/ganglia-webfrontend/etc/ganglia-webfrontend
debian/ganglia-webfrontend/usr/share/ganglia-webfrontend
   dh_auto_install --destdir=debian/ganglia-webfrontend/
        install -m0755 -d /<<BUILDDIR>>/ganglia-web-3.7.6\+debian/debian/
ganglia-webfrontend
        make -j8 install DESTDIR=/<<BUILDDIR>>/ganglia-web-3.7.6\+debian/
debian/ganglia-webfrontend AM_UPDATE_INFO_DIR=no "INSTALL=install --
strip-program=true"
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rsync --exclude "rpmbuild" --exclude "*.gz" --exclude "Makefile" --
exclude "*debian*" --exclude "ganglia-web-3.7.5" --exclude ".git*" --
exclude "*.in" --exclude "*~" --exclude "#*#" --exclude "ganglia-
web.spec" --exclude "apache.conf" -a . ganglia-web-3.7.5
mkdir -p /<<PKGBUILDDIR>>/debian/ganglia-webfrontend//var/lib/ganglia-
web/dwoo/compiled && \
mkdir -p /<<PKGBUILDDIR>>/debian/ganglia-webfrontend//var/lib/ganglia-
web/dwoo/cache && \
mkdir -p /<<PKGBUILDDIR>>/debian/ganglia-webfrontend//var/lib/ganglia-
web && \
rsync -a ganglia-web-3.7.5/conf /<<PKGBUILDDIR>>/debian/ganglia-
webfrontend//var/lib/ganglia-web && \
mkdir -p /<<PKGBUILDDIR>>/debian/ganglia-webfrontend//usr/share/ganglia-
webfrontend && \
rsync --exclude "conf" -a ganglia-web-3.7.5/* /<<PKGBUILDDIR>>/debian/
ganglia-webfrontend//usr/share/ganglia-webfrontend && \
chown -R www-data:www-data /<<PKGBUILDDIR>>/debian/ganglia-webfrontend//
var/lib/ganglia-web
chown: changing ownership of '/<<PKGBUILDDIR>>/debian/ganglia-
webfrontend//var/lib/ganglia-web/conf/sql/ganglia.mysql': Operation not
permitted
chown: changing ownership of '/<<PKGBUILDDIR>>/debian/ganglia-
webfrontend//var/lib/ganglia-web/conf/sql/ganglia.sqlite': Operation not
permitted
chown: changing ownership of '/<<PKGBUILDDIR>>/debian/ganglia-
webfrontend//var/lib/ganglia-web/conf/sql': Operation not permitted
chown: changing ownership of '/<<PKGBUILDDIR>>/debian/ganglia-
webfrontend//var/lib/ganglia-web/conf/default.json': Operation not permitted
chown: changing ownership of '/<<PKGBUILDDIR>>/debian/ganglia-
webfrontend//var/lib/ganglia-web/conf/events.json': Operation not permitted
chown: changing ownership of '/<<PKGBUILDDIR>>/debian/ganglia-
webfrontend//var/lib/ganglia-web/conf/event_color.json': Operation not
permitted
chown: changing ownership of '/<<PKGBUILDDIR>>/debian/ganglia-
webfrontend//var/lib/ganglia-web/conf/view_default.json': Operation not
permitted
chown: changing ownership of '/<<PKGBUILDDIR>>/debian/ganglia-
webfrontend//var/lib/ganglia-web/conf': Operation not permitted
chown: changing ownership of '/<<PKGBUILDDIR>>/debian/ganglia-
webfrontend//var/lib/ganglia-web/dwoo/cache': Operation not permitted
chown: changing ownership of '/<<PKGBUILDDIR>>/debian/ganglia-
webfrontend//var/lib/ganglia-web/dwoo/compiled': Operation not permitted
chown: changing ownership of '/<<PKGBUILDDIR>>/debian/ganglia-
webfrontend//var/lib/ganglia-web/dwoo': Operation not permitted
chown: changing ownership of '/<<PKGBUILDDIR>>/debian/ganglia-
webfrontend//var/lib/ganglia-web': Operation not permitted
make[1]: *** [Makefile:84: install] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_install: error: make -j8 install DESTDIR=/<<BUILDDIR>>/ganglia-
web-3.7.6\+debian/debian/ganglia-webfrontend AM_UPDATE_INFO_DIR=no
"INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:5: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit
status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-16T06:26:59Z

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


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