Bug#890113: sitesummary: Requires (fake)root to "install"
Source: sitesummary
Version: 0.1.32
Severity: minor
Tags: upstream
Hi,
It appears that sitesummary requires (fake)root to "install":
"""
make install DESTDIR=debian/tmp
[...]
install -o www-data -d debian/tmp/var/lib/sitesummary/entries
[...]
install -o www-data -d debian/tmp/var/lib/sitesummary/entries
install -o www-data -d debian/tmp/var/lib/sitesummary/tmpstorage
[...]
"""
All of these bits appears to come from the upstream part of the build.
This makes the package FTBFS if you build it with
"Rules-Requires-Root: no" as the install part is no longer run as root
(or fakeroot).
Please set "Rules-Requires-Root: binary-targets" to make this
requirement explicit. By doing so, you will enable us to eventually
make "Rules-Requires-Root: no" the default.
Thanks,
~Niels
PS: I note that the debian package reset the ownership of these
files/directories to "root:root":
"""
drwxr-xr-x root/root 0 2018-01-07 16:52 ./var/lib/sitesummary/
drwxr-xr-x root/root 0 2018-01-07 16:52 ./var/lib/sitesummary/entries/
drwxr-xr-x root/root 0 2018-01-07 16:52 ./var/lib/sitesummary/tmpstorage/
drwxr-xr-x root/root 0 2018-01-07 16:52 ./var/lib/sitesummary/www/
"""
I have no idea whether this is intentional or not.
Reply to: