Build fails at ././build-steps.d/1200_create-debian-packages
Not a big deal, I will wait for the next changes (skip user user)
Full log:
INFO: Variable anon_dist_build_version was already set to: 15.0.0.4.0
++ true 'INFO: Currently running script: ../whonix-developer-meta-files/debug-steps/reprepro-wrapper removesrc' local 'hardened-malloc'
++ true 'INFO: LD_PRELOAD: '
+ set_WHONIX_BUILD_REPREPRO_FOLDER_OPTIONS
+ '[' local = '' ']'
+ '[' local = local ']'
+ temp=aptrepo_local
+ '[' -n '' ']'
+ WHONIX_APT_REPOSITORY_FOLDER=/home/user/whonix_binary/aptrepo_local
+ export WHONIX_APT_REPOSITORY_FOLDER
+ '[' -n '' ']'
+ WHONIX_BUILD_REPREPRO_FOLDER_OPTIONS=' --basedir /home/user/Whonix/aptrepo_local --outdir /home/user/whonix_binary/aptrepo_local --dbdir /home/user/whonix_binary/aptrepo_local/db --logdir /home/user/whonix_binary/aptrepo_local/log'
+ export WHONIX_BUILD_REPREPRO_FOLDER_OPTIONS
+ main removesrc local hardened-malloc
+ reprepro_exit_code=0
++ reprepro --basedir /home/user/Whonix/aptrepo_local --outdir /home/user/whonix_binary/aptrepo_local --dbdir /home/user/whonix_binary/aptrepo_local/db --logdir /home/user/whonix_binary/aptrepo_local/log removesrc local hardened-malloc
+ reprepro_output=
+ echo ''
+ grep 'is already registered with different checksums!'
+ return 0
+ exithandler
+ local exit_code=0
+ '[' '!' 0 = 0 ']'
++ benchmarktimeend 1566588090
+++ date +%s
++ benchmarktimeend=1566588090
++ benchmark_took_seconds=0
+++ convertsecs 0
+++ local h m s
+++ (( h=0/3600 ))
+++ true
+++ (( m=(0%3600)/60 ))
+++ true
+++ (( s=0%60 ))
+++ true
+++ printf '%02d:%02d:%02d\n' 0 0 0
++ echo 00:00:00
+ benchmark_took_time=00:00:00
+ output_cmd_set
+ '[' -o xtrace ']'
+ output_cmd=true
+ '[' 0 = 0 ']'
+ true 'INFO: End of: ../whonix-developer-meta-files/debug-steps/reprepro-wrapper | exit_code: 0 | error(s) detected: 0 | benchmark: 00:00:00'
+ exit 0
+ make -f Makefile deb-cleanup
/usr/share/genmkfile/make-helper.bsh deb-cleanup
/usr/share/genmkfile/make-helper-one.bsh: INFO: deb-cleanup
/usr/share/genmkfile/make-helper-one.bsh: INFO: (internal) make clean
make[1]: Entering directory '/home/user/Whonix/packages/hardened_malloc'
rm -f libhardened_malloc.so chacha.o h_malloc.o memory.o pages.o random.o util.o new.o
make[1]: Leaving directory '/home/user/Whonix/packages/hardened_malloc'
+ sudo --non-interactive -u user -E make -f Makefile deb-pkg
/usr/share/genmkfile/make-helper.bsh deb-pkg
dpkg: warning: failed to open configuration file '/root/.dpkg.cfg' for reading: Permission denied
/usr/share/genmkfile/make-helper-one.bsh: INFO: deb-cleanup
dpkg: warning: failed to open configuration file '/root/.dpkg.cfg' for reading: Permission denied
/usr/share/genmkfile/make-helper-one.bsh: INFO: (internal) make clean
make[1]: Entering directory '/home/user/Whonix/packages/hardened_malloc'
rm -f libhardened_malloc.so chacha.o h_malloc.o memory.o pages.o random.o util.o new.o
make[1]: Leaving directory '/home/user/Whonix/packages/hardened_malloc'
/usr/share/genmkfile/make-helper-one.bsh: INFO: dist
dpkg: warning: failed to open configuration file '/root/.dpkg.cfg' for reading: Permission denied
/usr/share/genmkfile/make-helper-one.bsh: INFO: debdist
dpkg: warning: failed to open configuration file '/root/.dpkg.cfg' for reading: Permission denied
/usr/share/genmkfile/make-helper-one.bsh: INFO: debdsc
dpkg: warning: failed to open configuration file '/root/.dpkg.cfg' for reading: Permission denied
dpkg-source: info: using source format '3.0 (custom)'
dpkg-source: info: building hardened-malloc in hardened-malloc_0.5-1.dsc
/usr/share/genmkfile/make-helper-one.bsh: INFO: deb-pkg-build
dpkg: warning: failed to open configuration file '/root/.dpkg.cfg' for reading: Permission denied
I: Copying COW directory
I: forking: rm -rf /var/cache/pbuilder/cow.cow_amd64/cow.2314
I: forking: cp -al /var/cache/pbuilder/base.cow_amd64 /var/cache/pbuilder/cow.cow_amd64/cow.2314
I: removed stale ilistfile /var/cache/pbuilder/cow.cow_amd64/cow.2314/.ilist
I: forking: chroot /var/cache/pbuilder/cow.cow_amd64/cow.2314 cowdancer-ilistcreate /.ilist 'find . -xdev -path ./home -prune -o \( \( -type l -o -type f \) -a -links +1 -print0 \) | xargs -0 stat --format '%d %i ''
I: Invoking pbuilder
I: forking: pbuilder build --host-arch amd64 --buildplace /var/cache/pbuilder/cow.cow_amd64/cow.2314 --buildresult /home/user/whonix_binary/genmkfile-packages-result --mirror http://HTTPS///deb.debian.org/debian --distribution buster --extrapackages ' debhelper genmkfile clang llvm-7-dev clang-tidy' --no-targz --internal-chrootexec 'chroot /var/cache/pbuilder/cow.cow_amd64/cow.2314 cow-shell' /home/user/whonix_binary/genmkfile-packages-result/hardened-malloc_0.5-1.dsc
W: /root/.pbuilderrc does not exist
I: Running in no-targz mode
I: pbuilder: network access will be disabled during build
I: Current time: Fri Aug 23 19:21:31 UTC 2019
I: pbuilder-time-stamp: 1566588091
I: copying local configuration
W: --override-config is not set; not updating apt.conf Read the manpage for details.
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: policy-rc.d already exists
I: Obtaining the cached apt archive contents
I: Copying source file
I: copying [/home/user/whonix_binary/genmkfile-packages-result/hardened-malloc_0.5-1.dsc]
I: copying [/home/user/whonix_binary/genmkfile-packages-result/hardened-malloc_0.5.orig.tar.xz]
I: copying [/home/user/whonix_binary/genmkfile-packages-result/hardened-malloc_0.5-1.debian.tar.xz]
I: Extracting source
dpkg-source: warning: extracting unsigned source package (hardened-malloc_0.5-1.dsc)
dpkg-source: info: extracting hardened-malloc in hardened-malloc-0.5
dpkg-source: info: unpacking hardened-malloc_0.5.orig.tar.xz
dpkg-source: info: unpacking hardened-malloc_0.5-1.debian.tar.xz
I: using fakeroot in build.
I: Installing the build-deps
-> Attempting to satisfy build-dependencies
-> Creating pbuilder-satisfydepends-dummy package
Package: pbuilder-satisfydepends-dummy
Version: 0.invalid.0
Architecture: amd64
Maintainer: Debian Pbuilder Team <pbuilder-maint@lists.alioth.debian.org>
Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder
This package was created automatically by pbuilder to satisfy the
build-dependencies of the package being currently built.
Depends: debhelper (>= 12), genmkfile, clang, llvm-7-dev, clang-tidy
dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'.
Selecting previously unselected package pbuilder-satisfydepends-dummy.
(Reading database ... 20411 files and directories currently installed.)
Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ...
Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ...
dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested:
pbuilder-satisfydepends-dummy depends on clang; however:
Package clang is not installed.
pbuilder-satisfydepends-dummy depends on llvm-7-dev; however:
Package llvm-7-dev is not installed.
pbuilder-satisfydepends-dummy depends on clang-tidy; however:
Package clang-tidy is not installed.
Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ...
pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0)
pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0)
The following NEW packages will be installed:
binfmt-support{a} clang{a} clang-7{a} clang-tidy{a} clang-tidy-7{a}
clang-tools-7{a} lib32gcc1{a} lib32stdc++6{a} libc6-i386{a}
libclang-common-7-dev{a} libclang1-7{a} libedit2{a} libffi-dev{a}
libgc1c2{a} libllvm7{a} libncurses-dev{a} libobjc-8-dev{a} libobjc4{a}
libtinfo-dev{a} libyaml-0-2{a} llvm-7{a} llvm-7-dev{a} llvm-7-runtime{a}
python-yaml{a}
The following packages are RECOMMENDED but will NOT be installed:
libomp-7-dev
0 packages upgraded, 24 newly installed, 0 to remove and 0 not upgraded.
Need to get 122 MB/122 MB of archives. After unpacking 612 MB will be used.
Get: 1 http://HTTPS///deb.debian.org/debian buster/main amd64 binfmt-support amd64 2.2.0-2 [70.0 kB]
Get: 2 http://HTTPS///deb.debian.org/debian buster/main amd64 libedit2 amd64 3.1-20181209-1 [94.0 kB]
Get: 3 http://HTTPS///deb.debian.org/debian buster/main amd64 libllvm7 amd64 1:7.0.1-8 [13.0 MB]
Get: 4 http://HTTPS///deb.debian.org/debian buster/main amd64 libgc1c2 amd64 1:7.6.4-0.4 [224 kB]
Get: 5 http://HTTPS///deb.debian.org/debian buster/main amd64 libobjc4 amd64 8.3.0-6 [50.3 kB]
Get: 6 http://HTTPS///deb.debian.org/debian buster/main amd64 libobjc-8-dev amd64 8.3.0-6 [226 kB]
Get: 7 http://HTTPS///deb.debian.org/debian buster/main amd64 libc6-i386 amd64 2.28-10 [2872 kB]
Get: 8 http://HTTPS///deb.debian.org/debian buster/main amd64 lib32gcc1 amd64 1:8.3.0-6 [47.9 kB]
Get: 9 http://HTTPS///deb.debian.org/debian buster/main amd64 lib32stdc++6 amd64 8.3.0-6 [407 kB]
Get: 10 http://HTTPS///deb.debian.org/debian buster/main amd64 libclang-common-7-dev amd64 1:7.0.1-8 [3154 kB]
Get: 11 http://HTTPS///deb.debian.org/debian buster/main amd64 libclang1-7 amd64 1:7.0.1-8 [5993 kB]
Get: 12 http://HTTPS///deb.debian.org/debian buster/main amd64 clang-7 amd64 1:7.0.1-8 [7891 kB]
Get: 13 http://HTTPS///deb.debian.org/debian buster/main amd64 clang amd64 1:7.0-47 [7468 B]
Get: 14 http://HTTPS///deb.debian.org/debian buster/main amd64 clang-tools-7 amd64 1:7.0.1-8 [55.2 MB]
Get: 15 http://HTTPS///deb.debian.org/debian buster/main amd64 python-yaml amd64 3.13-2 [127 kB]
Get: 16 http://HTTPS///deb.debian.org/debian buster/main amd64 clang-tidy-7 amd64 1:7.0.1-8 [5745 kB]
Get: 17 http://HTTPS///deb.debian.org/debian buster/main amd64 clang-tidy amd64 1:7.0-47 [7232 B]
Get: 18 http://HTTPS///deb.debian.org/debian buster/main amd64 libffi-dev amd64 3.2.1-9 [156 kB]
Get: 19 http://HTTPS///deb.debian.org/debian buster/main amd64 libncurses-dev amd64 6.1+20181013-2 [333 kB]
Get: 20 http://HTTPS///deb.debian.org/debian buster/main amd64 libtinfo-dev amd64 6.1+20181013-2 [932 B]
Get: 21 http://HTTPS///deb.debian.org/debian buster/main amd64 llvm-7-runtime amd64 1:7.0.1-8 [190 kB]
Get: 22 http://HTTPS///deb.debian.org/debian buster/main amd64 llvm-7 amd64 1:7.0.1-8 [4553 kB]
Get: 23 http://HTTPS///deb.debian.org/debian buster/main amd64 llvm-7-dev amd64 1:7.0.1-8 [21.3 MB]
Fetched 122 MB in 1s (125 MB/s)
Selecting previously unselected package binfmt-support.
(Reading database ... 20411 files and directories currently installed.)
Preparing to unpack .../00-binfmt-support_2.2.0-2_amd64.deb ...
Unpacking binfmt-support (2.2.0-2) ...
Selecting previously unselected package libedit2:amd64.
Preparing to unpack .../01-libedit2_3.1-20181209-1_amd64.deb ...
Unpacking libedit2:amd64 (3.1-20181209-1) ...
Selecting previously unselected package libllvm7:amd64.
Preparing to unpack .../02-libllvm7_1%3a7.0.1-8_amd64.deb ...
Unpacking libllvm7:amd64 (1:7.0.1-8) ...
Selecting previously unselected package libgc1c2:amd64.
Preparing to unpack .../03-libgc1c2_1%3a7.6.4-0.4_amd64.deb ...
Unpacking libgc1c2:amd64 (1:7.6.4-0.4) ...
Selecting previously unselected package libobjc4:amd64.
Preparing to unpack .../04-libobjc4_8.3.0-6_amd64.deb ...
Unpacking libobjc4:amd64 (8.3.0-6) ...
Selecting previously unselected package libobjc-8-dev:amd64.
Preparing to unpack .../05-libobjc-8-dev_8.3.0-6_amd64.deb ...
Unpacking libobjc-8-dev:amd64 (8.3.0-6) ...
Selecting previously unselected package libc6-i386.
Preparing to unpack .../06-libc6-i386_2.28-10_amd64.deb ...
Unpacking libc6-i386 (2.28-10) ...
Selecting previously unselected package lib32gcc1.
Preparing to unpack .../07-lib32gcc1_1%3a8.3.0-6_amd64.deb ...
Unpacking lib32gcc1 (1:8.3.0-6) ...
Selecting previously unselected package lib32stdc++6.
Preparing to unpack .../08-lib32stdc++6_8.3.0-6_amd64.deb ...
Unpacking lib32stdc++6 (8.3.0-6) ...
Selecting previously unselected package libclang-common-7-dev.
Preparing to unpack .../09-libclang-common-7-dev_1%3a7.0.1-8_amd64.deb ...
Unpacking libclang-common-7-dev (1:7.0.1-8) ...
Selecting previously unselected package libclang1-7.
Preparing to unpack .../10-libclang1-7_1%3a7.0.1-8_amd64.deb ...
Unpacking libclang1-7 (1:7.0.1-8) ...
Selecting previously unselected package clang-7.
Preparing to unpack .../11-clang-7_1%3a7.0.1-8_amd64.deb ...
Unpacking clang-7 (1:7.0.1-8) ...
Selecting previously unselected package clang.
Preparing to unpack .../12-clang_1%3a7.0-47_amd64.deb ...
Unpacking clang (1:7.0-47) ...
Selecting previously unselected package clang-tools-7.
Preparing to unpack .../13-clang-tools-7_1%3a7.0.1-8_amd64.deb ...
Unpacking clang-tools-7 (1:7.0.1-8) ...
Selecting previously unselected package libyaml-0-2:amd64.
Preparing to unpack .../14-libyaml-0-2_0.2.1-1_amd64.deb ...
Unpacking libyaml-0-2:amd64 (0.2.1-1) ...
Selecting previously unselected package python-yaml.
Preparing to unpack .../15-python-yaml_3.13-2_amd64.deb ...
Unpacking python-yaml (3.13-2) ...
Selecting previously unselected package clang-tidy-7.
Preparing to unpack .../16-clang-tidy-7_1%3a7.0.1-8_amd64.deb ...
Unpacking clang-tidy-7 (1:7.0.1-8) ...
Selecting previously unselected package clang-tidy.
Preparing to unpack .../17-clang-tidy_1%3a7.0-47_amd64.deb ...
Unpacking clang-tidy (1:7.0-47) ...
Selecting previously unselected package libffi-dev:amd64.
Preparing to unpack .../18-libffi-dev_3.2.1-9_amd64.deb ...
Unpacking libffi-dev:amd64 (3.2.1-9) ...
Selecting previously unselected package libncurses-dev:amd64.
Preparing to unpack .../19-libncurses-dev_6.1+20181013-2_amd64.deb ...
Unpacking libncurses-dev:amd64 (6.1+20181013-2) ...
Selecting previously unselected package libtinfo-dev:amd64.
Preparing to unpack .../20-libtinfo-dev_6.1+20181013-2_amd64.deb ...
Unpacking libtinfo-dev:amd64 (6.1+20181013-2) ...
Selecting previously unselected package llvm-7-runtime.
Preparing to unpack .../21-llvm-7-runtime_1%3a7.0.1-8_amd64.deb ...
Unpacking llvm-7-runtime (1:7.0.1-8) ...
Selecting previously unselected package llvm-7.
Preparing to unpack .../22-llvm-7_1%3a7.0.1-8_amd64.deb ...
Unpacking llvm-7 (1:7.0.1-8) ...
Selecting previously unselected package llvm-7-dev.
Preparing to unpack .../23-llvm-7-dev_1%3a7.0.1-8_amd64.deb ...
Unpacking llvm-7-dev (1:7.0.1-8) ...
E: Sub-process /usr/bin/dpkg exited unexpectedly
Setting up libncurses-dev:amd64 (6.1+20181013-2) ...
Setting up libgc1c2:amd64 (1:7.6.4-0.4) ...
Setting up libyaml-0-2:amd64 (0.2.1-1) ...
Setting up libedit2:amd64 (3.1-20181209-1) ...
Setting up libobjc4:amd64 (8.3.0-6) ...
Setting up libffi-dev:amd64 (3.2.1-9) ...
Setting up libobjc-8-dev:amd64 (8.3.0-6) ...
Setting up binfmt-support (2.2.0-2) ...
Created symlink /etc/systemd/system/multi-user.target.wants/binfmt-support.service -> /lib/systemd/system/binfmt-support.service.
Running in chroot, ignoring request.
invoke-rc.d: policy-rc.d denied execution of start.
Setting up libc6-i386 (2.28-10) ...
Setting up libllvm7:amd64 (1:7.0.1-8) ...
Setting up python-yaml (3.13-2) ...
Setting up libclang1-7 (1:7.0.1-8) ...
Setting up libtinfo-dev:amd64 (6.1+20181013-2) ...
Setting up llvm-7-runtime (1:7.0.1-8) ...
Setting up llvm-7 (1:7.0.1-8) ...
Setting up lib32gcc1 (1:8.3.0-6) ...
Setting up lib32stdc++6 (8.3.0-6) ...
Setting up libclang-common-7-dev (1:7.0.1-8) ...
Setting up clang-7 (1:7.0.1-8) ...
Setting up clang-tools-7 (1:7.0.1-8) ...
Setting up clang (1:7.0-47) ...
Setting up clang-tidy-7 (1:7.0.1-8) ...
Setting up clang-tidy (1:7.0-47) ...
Processing triggers for systemd (241-5) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for libc-bin (2.28-10) ...
[ ERR] Writing extended state information
[ ERR] Building tag database
Current status: 0 (-1) broken, 1 (+1) upgradable.
E: Failed to fork process for dpkg selections.
E: failed to save selections to dpkg database
E: pbuilder-satisfydepends failed.
I: Copying back the cached apt archive contents
I: new cache content 'llvm-7-dev_1%3a7.0.1-8_amd64.deb' added
I: new cache content 'llvm-7_1%3a7.0.1-8_amd64.deb' added
I: new cache content 'llvm-7-runtime_1%3a7.0.1-8_amd64.deb' added
I: new cache content 'libtinfo-dev_6.1+20181013-2_amd64.deb' added
I: new cache content 'libncurses-dev_6.1+20181013-2_amd64.deb' added
I: new cache content 'libffi-dev_3.2.1-9_amd64.deb' added
I: new cache content 'clang-tidy_1%3a7.0-47_amd64.deb' added
I: new cache content 'clang-tidy-7_1%3a7.0.1-8_amd64.deb' added
I: new cache content 'python-yaml_3.13-2_amd64.deb' added
I: new cache content 'clang-tools-7_1%3a7.0.1-8_amd64.deb' added
I: new cache content 'clang_1%3a7.0-47_amd64.deb' added
I: new cache content 'clang-7_1%3a7.0.1-8_amd64.deb' added
I: new cache content 'libclang1-7_1%3a7.0.1-8_amd64.deb' added
I: new cache content 'libclang-common-7-dev_1%3a7.0.1-8_amd64.deb' added
I: new cache content 'lib32stdc++6_8.3.0-6_amd64.deb' added
I: new cache content 'lib32gcc1_1%3a8.3.0-6_amd64.deb' added
I: new cache content 'libc6-i386_2.28-10_amd64.deb' added
I: new cache content 'libobjc-8-dev_8.3.0-6_amd64.deb' added
I: new cache content 'libobjc4_8.3.0-6_amd64.deb' added
I: new cache content 'libgc1c2_1%3a7.6.4-0.4_amd64.deb' added
I: new cache content 'libllvm7_1%3a7.0.1-8_amd64.deb' added
I: new cache content 'libedit2_3.1-20181209-1_amd64.deb' added
I: new cache content 'binfmt-support_2.2.0-2_amd64.deb' added
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 COW directory
I: forking: rm -rf /var/cache/pbuilder/cow.cow_amd64/cow.2314
make: *** [/usr/share/genmkfile/makefile-full:67: deb-pkg] Error 1
++ errorhandlergeneral ERR
++ last_failed_exit_code=2
++ last_failed_bash_command='sudo $SUDO_OPTS -E make -f "$make_file" deb-pkg'
++ output_cmd_set
++ '[' -o xtrace ']'
++ output_cmd=true
++ true 'INFO: Middle of function errorhandlergeneral of ././build-steps.d/1200_create-debian-packages.'
++ errorhandlerprocessshared ERR
++ last_script=././build-steps.d/1200_create-debian-packages
++ trap_signal_type_previous=
++ '[' '' = '' ']'
++ trap_signal_type_previous=unset
++ trap_signal_type_last=ERR
++ whonix_build_error_counter=1
+++ benchmarktimeend 1566588089
++++ date +%s
+++ benchmarktimeend=1566588107
+++ benchmark_took_seconds=18
++++ convertsecs 18
++++ local h m s
++++ (( h=18/3600 ))
++++ true
++++ (( m=(18%3600)/60 ))
++++ true
++++ (( s=18%60 ))
++++ printf '%02d:%02d:%02d\n' 0 0 18
+++ echo 00:00:18
++ benchmark_took_time=00:00:18
++ processbacktracefunction
++ true 'INFO: BEGIN: processbacktracefunction'
++ '[' -o xtrace ']'
++ set +x
++ true 'INFO: END : processbacktracefunction'
++ functiontracefunction
++ true 'INFO: BEGIN: functiontracefunction'
++ '[' -o xtrace ']'
++ set +x
++ true 'INFO: END : functiontracefunction'
++ output_cmd_set
++ '[' -o xtrace ']'
++ output_cmd=true
++ true '