Bug#839186: libsoup2.4: dpkg-buildpackage builds everything as root
Santiago Vila
sanvila at unex.es
Thu Sep 29 22:24:27 UTC 2016
Package: libsoup2.4
Version: 2.56.0-1
Dear maintainer:
As a normal user, I do this:
$ apt-get source libsoup2.4
$ cd libsoup2.4-2.56.0
$ debian/rules build
and this is what happens:
make: 'build' is up to date.
(There is already a directory called "build")
As a result, "dpkg-buildpackage" (without -A or -B) builds most
stuff as root. This is from the reproducible builds site:
[...]
dpkg-buildpackage: info: host architecture amd64
fakeroot debian/rules clean
dh clean --with gir,gnome
dh_testdir
dh_auto_clean
dh_autoreconf_clean
dh_gnome_clean
dh_clean
debian/rules build
make: 'build' is up to date.
fakeroot debian/rules binary
dh binary --with gir,gnome
dh_testdir
dh_update_autotools_config
debian/rules override_dh_autoreconf
make[1]: Entering directory '/build-1st/libsoup2.4-2.56.0'
[ most of the build happens here, as root(fakeroot) ]
Policy says "The build target should perform all the configuration and
compilation of the package", so building everything as root is clearly
undesirable.
Thanks.
More information about the pkg-gnome-maintainers
mailing list