Whonix Desktop Installer with Calamares - field report

@Patrick
What git version should I chose if I want to test the newest code with latest changes?

1 Like

Building 15.0.0.3.9-developers-only.
Need to start afresh - too many changes in my raw files.

1 Like

Building done.

Now using 15.0.0.3.9-developers-only ISO without user user (i.e. manually ran userdel -r user in the raw file before burning the ISO)

First tests seem OK. Autologin works.

I don’t know why yet, but appending live-config.username=test to the boot parameters do not work, i.e. the live-user is always named user regardless.

EDIT: this works (order is important,live-config.username must be placed before live-config.user-default-groups):

/live/vmlinuz initrd=/live/initrd boot=live live-config.username=test live-config.user-default-groups=libvirt,kvm apparmor=1 security=apparmor ip=frommedia

Now I have a live user named test, who is part of groups libvirt and kvm (just for testing purposes).

While we are at it, we should probably also change the live user full name from Debian Live User to Whonix Live User? It is visible in the whisker menu, and probably other place ls as well (live-config.user-fullname= parameter)

1 Like

Hence previously my request to upgrade Whonix for KVM instructions be be using apt-get --no-install-recommends.

Ok.

There is no newer one yet. I could create an untested one (which I didn’t try to even build, doing that sometimes).

No git tag includes that change yet to disable that.

Anything which would be more in line with the idea of GitHub - Kicksecure/dist-base-files: base files for distributions - several important miscellaneous files, such as /etc/hostname, /etc/hosts, /var/lib/dbus/machine-id and more?

Can we set full name to ("") empty? Or we set it to user?

Should we set such boot config options using /etc/default/grub.d drop-in folder?
(Quite a few examples in Whonix source code.)

Git tag 15.0.0.4.0-developers-only (untested) created. Autologin should be sorted.

Not done and coming next as discussed somewhere:

  • disable hardened malloc for in torbrowser wrapper
  • skip user “user” creation during Whonix host builds
  • undo umask changes

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 '
1 Like

onion_knight via Whonix Forum:

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

Strange. Why would that unpacking a random package in the middle of tons
of others fail.

Disk full perhaps?

Trying to build now…

I am past that error. Cannot reproduce. Indeed full disk issue? Issue persists?

Disk not full.
Tried twice, failed twice.
No big deal, I’d better build the next release with no user user.

Problem is, next git tag will have the same issue. Since I cannot
reproduce, I have no idea what is causing it, so cannot fix.

Maybe the /var/cache/pbuilder chroot is full up. To check:

df -h | grep pbuilder

This is what I have;

none 2.0G 807M 1.3G 40% /var/cache/pbuilder

1 Like

wtihout --no-install-recommends

The following NEW packages will be installed:
augeas-lenses dmeventd dns-root-data dnsmasq-base genisoimage
gir1.2-gtk-vnc-2.0 gir1.2-libosinfo-1.0 gir1.2-libvirt-glib-1.0
gir1.2-spiceclientglib-2.0 gir1.2-spiceclientgtk-3.0 gir1.2-vte-2.91
gstreamer1.0-libav gstreamer1.0-plugins-base gstreamer1.0-plugins-good
gstreamer1.0-plugins-ugly gstreamer1.0-x ibverbs-providers ipxe-qemu libaio1
libaugeas0 libbluetooth3 libbrlapi0.6 libcacard0 libcapstone3 libcdparanoia0
libdevmapper-event1.02.1 libdv4 libfdt1 libgovirt-common libgovirt2
libgtk-vnc-2.0-0 libgvnc-1.0-0 libibverbs1 liblvm2cmd2.03 libnetcf1
libnl-3-200 libnl-route-3-200 libopencore-amrnb0 libopencore-amrwb0
libosinfo-1.0-0 libpcap0.8 libpcsclite1 libphodav-2.0-0 libphodav-2.0-common
librdmacm1 libreadline5 libsidplay1v5 libspice-client-glib-2.0-8
libspice-client-gtk-3.0-5 libspice-server1 libusbredirhost1
libusbredirparser1 libv4l-0 libv4lconvert0 libvdeplug2 libvirglrenderer0
libvirt-clients libvirt-daemon libvirt-daemon-system libvirt-glib-1.0-0
libvirt0 libvisual-0.4-0 libxencall1 libxendevicemodel1 libxenevtchn1
libxenforeignmemory1 libxengnttab1 libxenmisc4.11 libxenstore3.0
libxentoolcore1 libxentoollog1 libxml2-utils lvm2 netcat-openbsd osinfo-db
ovmf python-asn1crypto python-certifi python-cffi-backend python-chardet
python-cryptography python-enum34 python-idna python-ipaddress
python-openssl python-requests python-six python-urllib3 python3-certifi
python3-chardet python3-dbus python3-idna python3-libvirt python3-libxml2
python3-requests python3-urllib3 qemu-kvm qemu-system-common
qemu-system-data qemu-system-gui qemu-system-x86 qemu-utils seabios
spice-client-glib-usb-acl-helper thin-provisioning-tools usb.ids usbutils
virt-manager virt-viewer virtinst

with --no-install-recommends

The following NEW packages will be installed:
augeas-lenses genisoimage gir1.2-gtk-vnc-2.0 gir1.2-libosinfo-1.0
gir1.2-libvirt-glib-1.0 gir1.2-spiceclientglib-2.0 gir1.2-spiceclientgtk-3.0
gir1.2-vte-2.91 ipxe-qemu libaio1 libaugeas0 libbluetooth3 libbrlapi0.6
libcacard0 libcapstone3 libfdt1 libgtk-vnc-2.0-0 libgvnc-1.0-0 libibverbs1
libnetcf1 libnl-3-200 libnl-route-3-200 libosinfo-1.0-0 libpcap0.8
libpcsclite1 libphodav-2.0-0 libphodav-2.0-common librdmacm1
libspice-client-glib-2.0-8 libspice-client-gtk-3.0-5 libspice-server1
libusbredirhost1 libusbredirparser1 libvdeplug2 libvirglrenderer0
libvirt-clients libvirt-daemon libvirt-daemon-system libvirt-glib-1.0-0
libvirt0 libxencall1 libxendevicemodel1 libxenevtchn1 libxenforeignmemory1
libxengnttab1 libxenmisc4.11 libxenstore3.0 libxentoolcore1 libxentoollog1
osinfo-db python-certifi python-chardet python-idna python-requests
python-six python-urllib3 python3-certifi python3-chardet python3-dbus
python3-idna python3-libvirt python3-libxml2 python3-requests
python3-urllib3 qemu-kvm qemu-system-common qemu-system-data qemu-system-x86
seabios spice-client-glib-usb-acl-helper usb.ids usbutils virt-manager
virtinst


The package in question is pulled in either way but I noticed stuff relevant to secure boot (like ovmf) is excluded when doing no install recommends.

1 Like

Untested. Might not work if environment variable isn’t readable at that point.

Included in git tag 15.0.0.4.1-developers-only (untested).

1 Like

Meaning also that gir1.2-spiceclientgtk-3.0 cannot be removed (sudo apt purge gir1.2-spiceclientgtk-3.0) without removing any other packages too? Then it would be a Depends: of some package indeed.

reverse-depends gir1.2-spiceclientgtk-3.0

libspice-client-gtk-3.0-dev

reverse-depends libspice-client-gtk-3.0-dev

No reverse dependencies found

Does not look like some other package which is used during sudo apt install has a Depends: on it.

Btw a testing is made more difficult since this can really only be tested from a fresh, minimal Debian installation. Otherwise packages which are listed as Recommends: and already installed wouldn’t be listed there.

I don’t want to make life difficult for Whonix Host development. If you are sure this makes annyoing build install bugs go away, I’ll go ahead and change it. Doesn’t matter to me. I’ll list packages for secure boot even if they happened to have been pulled already by current users.

1 Like

@Patrick
Can’t build 15.0.0.4.-developers-only:

git verify-tag 15.0.0.4.1-developers-only
error: tag '15.0.0.4.1-developers-only' not found.
2 Likes

Pushed just now.

Building 15.0.0.4.1 also fails at the same step with same error.

df -h | grep pbuilder
none            2.0G  807M  1.3G  40% /var/cache/pbuilder

build command was

sudo ~/Whonix/whonix_build --build --redistribute --target iso --flavor whonix-host-xfce --freedom false

1 Like

Are there any log files produced during the build I could look into that may help understand and solve this issue?

1 Like

Answered here: