Hmmm. Manual login into pbuilder is working fine.
rrs@priyasi:~/rrs-home/Community/Packaging/systemtap (master)$ sudo pbuilder --login I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/sid-amd64-base.tgz] I: copying local configuration I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: mounting /dev/pts/0 over /dev/console I: Mounting /var/cache/apt/archives/ I: Mounting /var/tmp/lxc/ccache/ccache I: policy-rc.d already exists W: Could not create compatibility symlink because /tmp/buildd exists and it is not a directory I: using eatmydata during job I: entering the shell I: File extracted to: /var/tmp/Debian-Build/Build//27648 root@priyasi:/# getent group stapusr root@priyasi:/# groupadd -g 156 -r stapusr root@priyasi:/# getent group stapusr stapusr:x:156: root@priyasi:/# On Fri, 2018-03-23 at 17:33 +0530, Ritesh Raj Sarraf wrote: > I am trying to package version 3.2 for Debian. But I have run into > some > build failures. > > > make[6]: Leaving directory '/build/systemtap-3.2/staprun' > make install-exec-hook > make[7]: Entering directory '/build/systemtap-3.2/staprun' > if [ `id -u` -eq 0 ]; then \ > getent group stapusr >/dev/null || groupadd -g 156 -r stapusr > 2>/dev/null || groupadd -r stapusr; \ > getent group stapusr >/dev/null && chgrp stapusr > "/build/systemtap-3.2/debian/tmp/usr/bin/staprun"; \ > chmod 04110 "/build/systemtap- > 3.2/debian/tmp/usr/bin/staprun"; \ > fi > groupadd: cannot lock /etc/group; try again later. > make[7]: Leaving directory '/build/systemtap-3.2/staprun' > Making install in stapbpf > make -C .. git_version.stamp > make[5]: Entering directory '/build/systemtap-3.2' > /bin/bash ./git_version.sh -k -s . -o git_version.h > make[5]: Leaving directory '/build/systemtap-3.2' > make install-am > make[6]: Entering directory '/build/systemtap-3.2/stapbpf' > /bin/mkdir -p '/build/systemtap-3.2/debian/tmp/usr/bin' > /usr/bin/install -c stapbpf '/build/systemtap- > 3.2/debian/tmp/usr/bin' > make[6]: Leaving directory '/build/systemtap-3.2/stapbpf' > make install-exec-hook > make[6]: Entering directory '/build/systemtap-3.2/stapbpf' > /bin/mkdir -p '/build/systemtap-3.2/debian/tmp/usr/share/man/man8' > /usr/bin/install -c -m 644 stapbpf.8 '/build/systemtap- > 3.2/debian/tmp/usr/share/man/man8' > make[6]: Leaving directory '/build/systemtap-3.2/stapbpf' > make[7]: Entering directory '/build/systemtap-3.2/stapbpf' > if [ `id -u` -eq 0 ]; then \ > getent group stapusr >/dev/null || groupadd -g 156 -r stapusr > 2>/dev/null || groupadd -r stapusr; \ > getent group stapusr >/dev/null \ > && chgrp stapusr "/build/systemtap- > 3.2/debian/tmp/usr/bin/stapbpf" \ > && chmod 04110 "/build/systemtap- > 3.2/debian/tmp/usr/bin/stapbpf"; \ > fi > groupadd: cannot lock /etc/group; try again later. > make[7]: *** [Makefile:846: install-exec-hook] Error 2 > make[7]: Leaving directory '/build/systemtap-3.2/stapbpf' > make[6]: *** [Makefile:780: install-exec-am] Error 2 > make[5]: *** [Makefile:723: install-am] Error 2 > make[4]: *** [Makefile:717: install] Error 2 > make[3]: *** [Makefile:2013: install-recursive] Error 1 > make[2]: *** [Makefile:2254: install] Error 2 > dh_auto_install: make -j4 -O install DESTDIR=/build/systemtap- > 3.2/debian/tmp AM_UPDATE_INFO_DIR=no returned exit code 2 > make[1]: *** [debian/rules:43: override_dh_auto_install] Error 25 > make[1]: Leaving directory '/build/systemtap-3.2' > make: *** [debian/rules:28: binary] Error 2 > dpkg-buildpackage: error: fakeroot debian/rules binary subprocess > returned exit status 2 > I: copying local configuration > E: Failed autobuilding of package > I: unmounting /var/tmp/lxc/ccache/ccache filesystem > I: unmounting /var/cache/apt/archives/ filesystem > I: unmounting dev/ptmx filesystem > I: unmounting dev/pts filesystem > I: unmounting dev/shm filesystem > I: unmounting proc filesystem > I: unmounting sys filesystem > I: cleaning the build env > I: removing directory /var/tmp/Debian-Build/Build//16669 and its > subdirectories > gbp:error: '/home/rrs/bin/gbp-pbuilder' failed: it exited with 1 > 17:20 ♒♒♒ ☹ 😟=> 1 > > > Doing some search seems this was seen some time back on Ubuntu, with > an > odd fix. https://bugs.launchpad.net/ubuntu/+source/shadow/+bug/523896 > > I need to figure out the failure in the build toolchain. -- Ritesh Raj Sarraf | http://people.debian.org/~rrs Debian - The Universal Operating System
signature.asc
Description: This is a digitally signed message part