+ chroot /home/user/whonix_binary/Whonix-Gateway_image sync + sync + '[' 0 = 0 ']' + true 'INFO: Installed whonix-shared-kde-accessibility, no error detected.' + return 0 + '[' 1 = 1 ']' + install-pkg whonix-gateway-packages-dependencies + trap error_handler_unchroot_unprevent_unmount ERR INT TERM + pkg=whonix-gateway-packages-dependencies + local skip_package + unset skip_package + true 'INFO: Installing whonix-gateway-packages-dependencies, because whonix_build_script_whonix_package does not include it... This may take a while...' + local apt_get_exit_code=0 + chroot /home/user/whonix_binary/Whonix-Gateway_image apt-get -o Dir::Etc::sourcelist=/tmp/empty -o Dir::Etc::sourceparts=/var/lib/whonix/sources_temp_list.d -o Acquire::http::Timeout=180 -o Acquire::ftp::Timeout=180 -o Acquire::Retries=3 -o Acquire::Check-Valid-Until=false --yes --no-install-recommends install whonix-gateway-packages-dependencies Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libevent-2.0-5 telnet tor torsocks ucspi-tcp Suggested packages: mixmaster xul-ext-torbutton socat tor-arm polipo privoxy Recommended packages: tor-geoipdb The following NEW packages will be installed: libevent-2.0-5 telnet tor torsocks ucspi-tcp whonix-gateway-packages-dependencies 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. Need to get 1570 kB/1576 kB of archives. After this operation, 3833 kB of additional disk space will be used. Get:1 http://snapshot.debian.org/archive/debian/20140208T161236Z/ stable/main libevent-2.0-5 i386 2.0.19-stable-3 [171 kB] Get:2 http://snapshot.debian.org/archive/debian/20140208T161236Z/ stable/main tor i386 0.2.3.25-1 [1165 kB] Get:3 http://snapshot.debian.org/archive/debian/20140208T161236Z/ stable/main torsocks i386 1.2-3 [77.1 kB] Get:4 http://snapshot.debian.org/archive/debian/20140208T161236Z/ stable/main telnet i386 0.17-36 [65.8 kB] Get:5 http://snapshot.debian.org/archive/debian/20140208T161236Z/ stable/main ucspi-tcp i386 1:0.88-3 [91.5 kB] Fetched 1570 kB in 1s (892 kB/s) perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "", LC_ALL = (unset), LANG = "en_GB.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory Can not write log, openpty() failed (/dev/pts not mounted?) Selecting previously unselected package libevent-2.0-5:i386. (Reading database ... 49651 files and directories currently installed.) Unpacking libevent-2.0-5:i386 (from .../libevent-2.0-5_2.0.19-stable-3_i386.deb) ... Selecting previously unselected package tor. Unpacking tor (from .../tor_0.2.3.25-1_i386.deb) ... Selecting previously unselected package torsocks. Unpacking torsocks (from .../torsocks_1.2-3_i386.deb) ... Selecting previously unselected package telnet. Unpacking telnet (from .../telnet_0.17-36_i386.deb) ... Selecting previously unselected package ucspi-tcp. Unpacking ucspi-tcp (from .../ucspi-tcp_1%3a0.88-3_i386.deb) ... Selecting previously unselected package whonix-gateway-packages-dependencies. Unpacking whonix-gateway-packages-dependencies (from .../whonix-gateway-packages-dependencies_7.7.8.9-debpackage1_all.deb) ... Processing triggers for man-db ... locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory Can not write log, openpty() failed (/dev/pts not mounted?) Setting up libevent-2.0-5:i386 (2.0.19-stable-3) ... Setting up tor (0.2.3.25-1) ... invoke-rc.d: policy-rc.d denied execution of start. Setting up torsocks (1.2-3) ... Setting up telnet (0.17-36) ... update-alternatives: using /usr/bin/telnet.netkit to provide /usr/bin/telnet (telnet) in auto mode Setting up ucspi-tcp (1:0.88-3) ... Setting up whonix-gateway-packages-dependencies (2:7.7.8.9-debpackage1) ... + chroot /home/user/whonix_binary/Whonix-Gateway_image sync + sync + '[' 0 = 0 ']' + true 'INFO: Installed whonix-gateway-packages-dependencies, no error detected.' + return 0 + install-pkg whonix-gateway-packages-recommended + trap error_handler_unchroot_unprevent_unmount ERR INT TERM + pkg=whonix-gateway-packages-recommended + local skip_package + unset skip_package + true 'INFO: Installing whonix-gateway-packages-recommended, because whonix_build_script_whonix_package does not include it... This may take a while...' + local apt_get_exit_code=0 + chroot /home/user/whonix_binary/Whonix-Gateway_image apt-get -o Dir::Etc::sourcelist=/tmp/empty -o Dir::Etc::sourceparts=/var/lib/whonix/sources_temp_list.d -o Acquire::http::Timeout=180 -o Acquire::ftp::Timeout=180 -o Acquire::Retries=3 -o Acquire::Check-Valid-Until=false --yes --no-install-recommends install whonix-gateway-packages-recommended Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: geoip-database obfsproxy python-central python-geoip python-socksipy python-torctl tor-arm tor-geoipdb The following NEW packages will be installed: geoip-database obfsproxy python-central python-geoip python-socksipy python-torctl tor-arm tor-geoipdb whonix-gateway-packages-recommended 0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. Need to get 3434 kB/3439 kB of archives. After this operation, 11.6 MB of additional disk space will be used. Get:1 http://snapshot.debian.org/archive/debian/20140208T161236Z/ stable/main geoip-database all 20130213-1 [1466 kB] Get:2 http://snapshot.debian.org/archive/debian/20140208T161236Z/ stable/main tor-geoipdb all 0.2.3.25-1 [1452 kB] Get:3 http://snapshot.debian.org/archive/debian/20140208T161236Z/ stable/main python-central all 0.6.17 [47.8 kB] Get:4 http://snapshot.debian.org/archive/debian/20140208T161236Z/ stable/main python-socksipy all 1.0-1 [11.5 kB] Get:5 http://snapshot.debian.org/archive/debian/20140208T161236Z/ stable/main python-geoip i386 1.2.4-2+b2 [11.6 kB] Get:6 http://snapshot.debian.org/archive/debian/20140208T161236Z/ stable/main python-torctl all 20110618git-1 [86.0 kB] Get:7 http://snapshot.debian.org/archive/debian/20140208T161236Z/ stable/main tor-arm all 1.4.5.0-1 [307 kB] Get:8 http://snapshot.debian.org/archive/debian/20140208T161236Z/ stable/main obfsproxy i386 0.1.4-2 [52.0 kB] Fetched 3434 kB in 4s (836 kB/s) perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "", LC_ALL = (unset), LANG = "en_GB.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory Can not write log, openpty() failed (/dev/pts not mounted?) Selecting previously unselected package geoip-database. (Reading database ... 49768 files and directories currently installed.) Unpacking geoip-database (from .../geoip-database_20130213-1_all.deb) ... Selecting previously unselected package tor-geoipdb. Unpacking tor-geoipdb (from .../tor-geoipdb_0.2.3.25-1_all.deb) ... Selecting previously unselected package python-central. Unpacking python-central (from .../python-central_0.6.17_all.deb) ... Selecting previously unselected package python-socksipy. Unpacking python-socksipy (from .../python-socksipy_1.0-1_all.deb) ... Selecting previously unselected package python-geoip. Unpacking python-geoip (from .../python-geoip_1.2.4-2+b2_i386.deb) ... Selecting previously unselected package python-torctl. Unpacking python-torctl (from .../python-torctl_20110618git-1_all.deb) ... Selecting previously unselected package tor-arm. Unpacking tor-arm (from .../tor-arm_1.4.5.0-1_all.deb) ... Selecting previously unselected package obfsproxy. Unpacking obfsproxy (from .../obfsproxy_0.1.4-2_i386.deb) ... Selecting previously unselected package whonix-gateway-packages-recommended. Unpacking whonix-gateway-packages-recommended (from .../whonix-gateway-packages-recommended_7.7.8.9-debpackage1_all.deb) ... Processing triggers for man-db ... locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory Can not write log, openpty() failed (/dev/pts not mounted?) Setting up geoip-database (20130213-1) ... Setting up tor-geoipdb (0.2.3.25-1) ... Setting up python-central (0.6.17) ... Setting up python-socksipy (1.0-1) ... Setting up python-geoip (1.2.4-2+b2) ... Setting up obfsproxy (0.1.4-2) ... Processing triggers for python-central ... Setting up python-torctl (20110618git-1) ... Setting up tor-arm (1.4.5.0-1) ... Setting up whonix-gateway-packages-recommended (2:7.7.8.9-debpackage1) ... Processing triggers for python-support ... + chroot /home/user/whonix_binary/Whonix-Gateway_image sync + sync + '[' 0 = 0 ']' + true 'INFO: Installed whonix-gateway-packages-recommended, no error detected.' + return 0 + /home/user/Whonix/help-steps/remove-local-temp-apt-repo +++ dirname /home/user/Whonix/help-steps/remove-local-temp-apt-repo ++ cd /home/user/Whonix/help-steps ++ pwd + MYDIR=/home/user/Whonix/help-steps + source /home/user/Whonix/help-steps/pre ++ set +x + source /home/user/Whonix/help-steps/variables ++ set +x INFO: Setting... export UWT_DEV_PASSTHROUGH="1" whonix_build_whonix_version_new: 7.7.8.9 whonix_build_new_changelog_version: 2:7.7.8.9-debpackage1 + true 'INFO: Currently running script: /home/user/Whonix/help-steps/remove-local-temp-apt-repo ' + remove_local_temp_apt_repo + trap error_handler_general ERR INT TERM + rm --force /home/user/whonix_binary/Whonix-Gateway_image/etc/apt/trusted.gpg.d/whonix-temporary-local-apt-repository.gpg + rm --force /home/user/whonix_binary/Whonix-Gateway_image/etc/apt/trusted.gpg.d/whonix-temporary-local-apt-repository.gpg~ + rm --force /home/user/whonix_binary/Whonix-Gateway_image//var/lib/whonix/sources_temp_list.d/whonix_temp_initialdeb.list + rm --force /home/user/whonix_binary/Whonix-Gateway_image//var/lib/whonix/sources_temp_list.d/build_sources.list + benchmark_time_end ++ date +%s + benchmark_time_end=1392631265 + benchmark_took_seconds=4 ++ convertsecs 4 ++ (( h=4/3600 )) ++ (( m=(4%3600)/60 )) ++ (( s=4%60 )) ++ printf '%02d:%02d:%02d\n' 0 0 4 ++ true + benchmark_took_time=00:00:04 + true + true 'INFO: End of: /home/user/Whonix/help-steps/remove-local-temp-apt-repo No error detected. (benchmark: 00:00:04)' + chroot /home/user/whonix_binary/Whonix-Gateway_image sync + sync + disable_apt_cache + trap error_handler_general ERR INT TERM + unset http_proxy + /home/user/Whonix/help-steps/unchroot-img +++ dirname /home/user/Whonix/help-steps/unchroot-img ++ cd /home/user/Whonix/help-steps ++ pwd + MYDIR=/home/user/Whonix/help-steps + source /home/user/Whonix/help-steps/pre ++ set +x + source /home/user/Whonix/help-steps/variables ++ set +x INFO: Setting... export UWT_DEV_PASSTHROUGH="1" whonix_build_whonix_version_new: 7.7.8.9 whonix_build_new_changelog_version: 2:7.7.8.9-debpackage1 + true 'INFO: Currently running script: /home/user/Whonix/help-steps/unchroot-img ' + do_unchroot + trap error_handler_unchroot-img ERR INT TERM + sync + '[' 0 = 1 ']' + umount /home/user/whonix_binary/Whonix-Gateway_image/dev + umount /home/user/whonix_binary/Whonix-Gateway_image/proc + umount /home/user/whonix_binary/Whonix-Gateway_image//mnt/initialdeb + umount /home/user/whonix_binary/Whonix-Gateway_image/etc/resolv.conf + umount /home/user/whonix_binary/Whonix-Gateway_image/etc/hosts + umount /home/user/whonix_binary/Whonix-Gateway_image/etc/hostname + umount /home/user/whonix_binary/Whonix-Gateway_image/etc/network/interfaces + sync + benchmark_time_end ++ date +%s + benchmark_time_end=1392631267 + benchmark_took_seconds=1 ++ convertsecs 1 ++ (( h=1/3600 )) ++ (( m=(1%3600)/60 )) ++ (( s=1%60 )) ++ printf '%02d:%02d:%02d\n' 0 0 1 ++ true + benchmark_took_time=00:00:01 + true + true 'INFO: End of: /home/user/Whonix/help-steps/unchroot-img No error detected. (benchmark: 00:00:01)' + /home/user/Whonix/help-steps/unprevent-daemons-from-starting +++ dirname /home/user/Whonix/help-steps/unprevent-daemons-from-starting ++ cd /home/user/Whonix/help-steps ++ pwd + MYDIR=/home/user/Whonix/help-steps + source /home/user/Whonix/help-steps/pre ++ set +x + source /home/user/Whonix/help-steps/variables ++ set +x INFO: Setting... export UWT_DEV_PASSTHROUGH="1" whonix_build_whonix_version_new: 7.7.8.9 whonix_build_new_changelog_version: 2:7.7.8.9-debpackage1 + true 'INFO: Currently running script: /home/user/Whonix/help-steps/unprevent-daemons-from-starting ' + unprevent_daemons_from_starting + sync + rm --verbose --force /home/user/whonix_binary/Whonix-Gateway_image/usr/sbin/policy-rc.d removed ‘/home/user/whonix_binary/Whonix-Gateway_image/usr/sbin/policy-rc.d’ + sync + benchmark_time_end ++ date +%s + benchmark_time_end=1392631268 + benchmark_took_seconds=1 ++ convertsecs 1 ++ (( h=1/3600 )) ++ (( m=(1%3600)/60 )) ++ (( s=1%60 )) ++ printf '%02d:%02d:%02d\n' 0 0 1 ++ true + benchmark_took_time=00:00:01 + true + true 'INFO: End of: /home/user/Whonix/help-steps/unprevent-daemons-from-starting No error detected. (benchmark: 00:00:01)' + /home/user/Whonix/help-steps/unmount-img +++ dirname /home/user/Whonix/help-steps/unmount-img ++ cd /home/user/Whonix/help-steps ++ pwd + MYDIR=/home/user/Whonix/help-steps + source /home/user/Whonix/help-steps/pre ++ set +x + source /home/user/Whonix/help-steps/variables ++ set +x INFO: Setting... export UWT_DEV_PASSTHROUGH="1" whonix_build_whonix_version_new: 7.7.8.9 whonix_build_new_changelog_version: 2:7.7.8.9-debpackage1 + '[' 0 = 1 ']' + true 'INFO: Currently running script: /home/user/Whonix/help-steps/unmount-img ' + unmount_img + trap error_handler_unmount-img ERR INT TERM + '[' '' = '' ']' + true + sync + wait 16343 + sleep 2 + sync + umount /home/user/whonix_binary/Whonix-Gateway_image + sync + '[' '' = '' ']' + local img=/home/user/whonix_binary/Whonix-Gateway.img + sleep 2 + losetup --all /dev/loop0: [0804]:14816284 (/home/user/whonix_binary/Whonix-Gateway.img) + sync + kpartx -d -s -v /home/user/whonix_binary/Whonix-Gateway.img del devmap : loop0p1 loop deleted : /dev/loop0 + sync + losetup --all + sync + rm -r /home/user/whonix_binary/Whonix-Gateway_image + sync + benchmark_time_end ++ date +%s + benchmark_time_end=1392631275 + benchmark_took_seconds=7 ++ convertsecs 7 ++ (( h=7/3600 )) ++ (( m=(7%3600)/60 )) ++ (( s=7%60 )) ++ printf '%02d:%02d:%02d\n' 0 0 7 ++ true + benchmark_took_time=00:00:07 + true + true 'INFO: End of: /home/user/Whonix/help-steps/unmount-img No error detected. (benchmark: 00:00:07)' + sync + benchmark_time_end ++ date +%s + benchmark_time_end=1392631275 + benchmark_took_seconds=2982 ++ convertsecs 2982 ++ (( h=2982/3600 )) ++ (( m=(2982%3600)/60 )) ++ (( s=2982%60 )) ++ printf '%02d:%02d:%02d\n' 0 49 42 ++ true + benchmark_took_time=00:49:42 + true + true 'INFO: End of: ./build-steps.d/1700_install-meta-packages No error detected. (benchmark: 00:49:42)' run-parts: executing ./build-steps.d/1800_backup-img-after-meta-package-install + true 'Currently running script: ./build-steps.d/1800_backup-img-after-meta-package-install ' +++ dirname ./build-steps.d/1800_backup-img-after-meta-package-install ++ cd ./build-steps.d ++ pwd + MYDIR=/home/user/Whonix/build-steps.d + cd /home/user/Whonix/build-steps.d + cd .. + cd help-steps + source pre ++ set +x + source variables ++ set +x INFO: Setting... export UWT_DEV_PASSTHROUGH="1" whonix_build_whonix_version_new: 7.7.8.9 whonix_build_new_changelog_version: 2:7.7.8.9-debpackage1 INFO: Skipping 1800_backup-img-after-meta-package-install, because WHONIX_BUILD_SKIP_SCRIPTS includes it. run-parts: executing ./build-steps.d/1900_run-chroot-scripts-pre-d + true 'Currently running script: ./build-steps.d/1900_run-chroot-scripts-pre-d ' + TEMP_SCRIPTNAME=./build-steps.d/1900_run-chroot-scripts-pre-d +++ dirname ./build-steps.d/1900_run-chroot-scripts-pre-d ++ cd ./build-steps.d ++ pwd + MYDIR=/home/user/Whonix/build-steps.d + cd /home/user/Whonix/build-steps.d + cd .. + cd help-steps + source pre ++ set +x + source variables ++ set +x INFO: Setting... export UWT_DEV_PASSTHROUGH="1" whonix_build_whonix_version_new: 7.7.8.9 whonix_build_new_changelog_version: 2:7.7.8.9-debpackage1 + true 'INFO: Currently running script: ./build-steps.d/1900_run-chroot-scripts-pre-d ' + run-chroot-scripts + trap error_handler_unchroot_unprevent_unmount ERR INT TERM + sync + /home/user/Whonix/help-steps/mount-img +++ dirname /home/user/Whonix/help-steps/mount-img ++ cd /home/user/Whonix/help-steps ++ pwd + MYDIR=/home/user/Whonix/help-steps + source /home/user/Whonix/help-steps/pre ++ set +x + source /home/user/Whonix/help-steps/variables ++ set +x INFO: Setting... export UWT_DEV_PASSTHROUGH="1" whonix_build_whonix_version_new: 7.7.8.9 whonix_build_new_changelog_version: 2:7.7.8.9-debpackage1 + '[' 0 = 1 ']' + true 'INFO: Currently running script: /home/user/Whonix/help-steps/mount-img ' + mount_img + trap error_handler_mount-img ERR INT TERM + '[' '' = '' ']' + true + sync + '[' '' = '' ']' + local img=/home/user/whonix_binary/Whonix-Gateway.img + losetup --all + sync + wait 16867 + sleep 2 + local kpartx_output a b device ++ kpartx -a -s -v /home/user/whonix_binary/Whonix-Gateway.img + kpartx_output='add map loop0p1 (254:0): 0 209711104 linear /dev/loop0 4096' + sync + '[' 'add map loop0p1 (254:0): 0 209711104 linear /dev/loop0 4096' = '' ']' + losetup --all /dev/loop0: [0804]:14816284 (/home/user/whonix_binary/Whonix-Gateway.img) + sync + read a b device _ + dev_mapper_device=/dev/mapper/loop0p1 + mkdir --parents /home/user/whonix_binary/Whonix-Gateway_image + sync + mount /dev/mapper/loop0p1 /home/user/whonix_binary/Whonix-Gateway_image + sync + benchmark_time_end ++ date +%s + benchmark_time_end=1392631281 + benchmark_took_seconds=5 ++ convertsecs 5 ++ (( h=5/3600 )) ++ (( m=(5%3600)/60 )) ++ (( s=5%60 )) ++ printf '%02d:%02d:%02d\n' 0 0 5 ++ true + benchmark_took_time=00:00:05 + true + true 'INFO: End of: /home/user/Whonix/help-steps/mount-img No error detected. (benchmark: 00:00:05)' + /home/user/Whonix/help-steps/prevent-daemons-from-starting +++ dirname /home/user/Whonix/help-steps/prevent-daemons-from-starting ++ cd /home/user/Whonix/help-steps ++ pwd + MYDIR=/home/user/Whonix/help-steps + source /home/user/Whonix/help-steps/pre ++ set +x + source /home/user/Whonix/help-steps/variables ++ set +x INFO: Setting... export UWT_DEV_PASSTHROUGH="1" whonix_build_whonix_version_new: 7.7.8.9 whonix_build_new_changelog_version: 2:7.7.8.9-debpackage1 + true 'INFO: Currently running script: /home/user/Whonix/help-steps/prevent-daemons-from-starting ' + prevent_daemons_from_starting + trap error_handler_prevent_daemons_from_starting ERR INT TERM + sync + echo 'chroot-img: copy policy-rc.d into /usr/sbin/ to prevent daemons from starting.' chroot-img: copy policy-rc.d into /usr/sbin/ to prevent daemons from starting. + cp --preserve --verbose /home/user/Whonix/whonix_shared/usr/share/whonix/policy-rc.d /home/user/whonix_binary/Whonix-Gateway_image/usr/sbin/policy-rc.d ‘/home/user/Whonix/whonix_shared/usr/share/whonix/policy-rc.d’ -> ‘/home/user/whonix_binary/Whonix-Gateway_image/usr/sbin/policy-rc.d’ + sync + benchmark_time_end ++ date +%s + benchmark_time_end=1392631282 + benchmark_took_seconds=1 ++ convertsecs 1 ++ (( h=1/3600 )) ++ (( m=(1%3600)/60 )) ++ (( s=1%60 )) ++ printf '%02d:%02d:%02d\n' 0 0 1 ++ true + benchmark_took_time=00:00:01 + true + true 'INFO: End of: /home/user/Whonix/help-steps/prevent-daemons-from-starting No error detected. (benchmark: 00:00:01)' + /home/user/Whonix/help-steps/chroot-img +++ dirname /home/user/Whonix/help-steps/chroot-img ++ cd /home/user/Whonix/help-steps ++ pwd + MYDIR=/home/user/Whonix/help-steps + source /home/user/Whonix/help-steps/pre ++ set +x + source /home/user/Whonix/help-steps/variables ++ set +x INFO: Setting... export UWT_DEV_PASSTHROUGH="1" whonix_build_whonix_version_new: 7.7.8.9 whonix_build_new_changelog_version: 2:7.7.8.9-debpackage1 + true 'INFO: Currently running script: /home/user/Whonix/help-steps/chroot-img ' + chroot-img + trap error_handler_chroot-img ERR INT TERM + sync + '[' 0 = 1 ']' + mount --bind /dev /home/user/whonix_binary/Whonix-Gateway_image/dev + mount --bind /proc /home/user/whonix_binary/Whonix-Gateway_image/proc + '[' '' = 0 ']' + '[' 0 = 1 ']' + true 'INFO /home/user/Whonix/help-steps/chroot-img: BARE_METAL is 0, NOT using .backup files as /etc/resolv.conf etc, ok.' + mount --bind /etc/resolv.conf /home/user/whonix_binary/Whonix-Gateway_image/etc/resolv.conf + mount --bind /etc/hosts /home/user/whonix_binary/Whonix-Gateway_image/etc/hosts + mount --bind /etc/hostname /home/user/whonix_binary/Whonix-Gateway_image/etc/hostname + mount --bind /etc/network/interfaces /home/user/whonix_binary/Whonix-Gateway_image/etc/network/interfaces + sync + benchmark_time_end ++ date +%s + benchmark_time_end=1392631283 + benchmark_took_seconds=1 ++ convertsecs 1 ++ (( h=1/3600 )) ++ (( m=(1%3600)/60 )) ++ (( s=1%60 )) ++ printf '%02d:%02d:%02d\n' 0 0 1 ++ true + benchmark_took_time=00:00:01 + true + true 'INFO: End of: /home/user/Whonix/help-steps/chroot-img No error detected. (benchmark: 00:00:01)' + sync + chroot /home/user/whonix_binary/Whonix-Gateway_image update-grub -v grub-mkconfig (GRUB) 1.99-27+deb7u2 + chroot /home/user/whonix_binary/Whonix-Gateway_image sync + sync + rm --recursive --force /home/user/whonix_binary/Whonix-Gateway_image/var/lib/whonix/initial-chroot-scripts-pre.d/ + mkdir --parents /home/user/whonix_binary/Whonix-Gateway_image/var/lib/whonix/initial-chroot-scripts-pre.d/ + cp /home/user/Whonix/whonix_shared/usr/share/whonix/chroot-scripts-pre.d/10_root_check /home/user/Whonix/whonix_shared/usr/share/whonix/chroot-scripts-pre.d/20_sanity_checks /home/user/Whonix/whonix_shared/usr/share/whonix/chroot-scripts-pre.d/30_backup_grub_cfg /home/user/Whonix/whonix_shared/usr/share/whonix/chroot-scripts-pre.d/70_banned_packages /home/user/Whonix/whonix_shared/usr/share/whonix/chroot-scripts-pre.d/70_skeleton /home/user/Whonix/whonix_shared/usr/share/whonix/chroot-scripts-pre.d/90_end /home/user/whonix_binary/Whonix-Gateway_image/var/lib/whonix/initial-chroot-scripts-pre.d/ + '[' 1 = 1 ']' + cp /home/user/Whonix/whonix_gateway/usr/share/whonix/chroot-scripts-pre.d/placeholder /home/user/whonix_binary/Whonix-Gateway_image/var/lib/whonix/initial-chroot-scripts-pre.d/ + chroot /home/user/whonix_binary/Whonix-Gateway_image run-parts --verbose --test /var/lib/whonix/initial-chroot-scripts-pre.d /var/lib/whonix/initial-chroot-scripts-pre.d/10_root_check /var/lib/whonix/initial-chroot-scripts-pre.d/20_sanity_checks /var/lib/whonix/initial-chroot-scripts-pre.d/30_backup_grub_cfg /var/lib/whonix/initial-chroot-scripts-pre.d/70_banned_packages /var/lib/whonix/initial-chroot-scripts-pre.d/70_skeleton /var/lib/whonix/initial-chroot-scripts-pre.d/90_end + chroot /home/user/whonix_binary/Whonix-Gateway_image run-parts --verbose --exit-on-error /var/lib/whonix/initial-chroot-scripts-pre.d run-parts: executing /var/lib/whonix/initial-chroot-scripts-pre.d/10_root_check + set -o pipefail + trap error_handler ERR ++ basename /var/lib/whonix/initial-chroot-scripts-pre.d/10_root_check + own_filename=10_root_check + for skip_script in '$WHONIX_BUILD_SKIP_SCRIPTS' + '[' 1400_backup-img-after-grml-debootstrap = 10_root_check ']' + for skip_script in '$WHONIX_BUILD_SKIP_SCRIPTS' + '[' 1800_backup-img-after-meta-package-install = 10_root_check ']' + for skip_script in '$WHONIX_BUILD_SKIP_SCRIPTS' + '[' 70_torbrowser = 10_root_check ']' + for skip_script in '$WHONIX_BUILD_SKIP_SCRIPTS' + '[' 71_install_amd64_kernel = 10_root_check ']' + unset skip_script ++ id -u + '[' 0 '!=' 0 ']' + echo 'INFO: Script running as root.' INFO: Script running as root. run-parts: executing /var/lib/whonix/initial-chroot-scripts-pre.d/20_sanity_checks + set -o pipefail + trap error_handler ERR ++ basename /var/lib/whonix/initial-chroot-scripts-pre.d/20_sanity_checks + own_filename=20_sanity_checks + for skip_script in '$WHONIX_BUILD_SKIP_SCRIPTS' + '[' 1400_backup-img-after-grml-debootstrap = 20_sanity_checks ']' + for skip_script in '$WHONIX_BUILD_SKIP_SCRIPTS' + '[' 1800_backup-img-after-meta-package-install = 20_sanity_checks ']' + for skip_script in '$WHONIX_BUILD_SKIP_SCRIPTS' + '[' 70_torbrowser = 20_sanity_checks ']' + for skip_script in '$WHONIX_BUILD_SKIP_SCRIPTS' + '[' 71_install_amd64_kernel = 20_sanity_checks ']' + unset skip_script + sync + true 'INFO: Running "dpkg --audit" to check if the system is functional...' ++ dpkg --audit + dpkg_audit_output= + '[' '!' '' = '' ']' + true 'INFO: Running "dpkg --configure -a" to check if the system is functional. Can take a while...' + dpkg --configure -a + sync + true 'INFO: Checking if sysctcl -p runs without an error...' + sysctl -p + true 'INFO: Benchmarking "sudo -u root echo "This is a test echo."" using "time"...' + sudo -u root echo 'This is a test echo.' This is a test echo. real 0m0.178s user 0m0.000s sys 0m0.016s + true 'INFO: Checking if debsums is installed...' + command -v debsums + true 'INFO: Trying to find out if there are packages (or debs) which do not have an MD5 sums file...' + exit_code=0 ++ debsums --list-missing + debsums_output_1='perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "", LC_ALL = (unset), LANG = "en_GB.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C").' + '[' '!' 0 = 0 ']' + '[' 'perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "", LC_ALL = (unset), LANG = "en_GB.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C").' = '' ']' + '[' '' = true ']' + error 'ERROR: Packages (or debs) with missing MD5 sums file found!' /var/lib/whonix/initial-chroot-scripts-pre.d/20_sanity_checks: line 76: error: command not found ++ error_handler ++ echo ' ########################################################### ## chroot script: ERROR detected. Please report this bug! # ########################################################### ' ########################################################### ## chroot script: ERROR detected. Please report this bug! # ########################################################### ++ exit 1 run-parts: /var/lib/whonix/initial-chroot-scripts-pre.d/20_sanity_checks exited with return code 1 ++ error_handler_unchroot_unprevent_unmount ++ benchmark_time_end +++ date +%s ++ benchmark_time_end=1392631287 ++ benchmark_took_seconds=12 +++ convertsecs 12 +++ (( h=12/3600 )) +++ (( m=(12%3600)/60 )) +++ (( s=12%60 )) +++ printf '%02d:%02d:%02d\n' 0 0 12 +++ true ++ benchmark_took_time=00:00:12 ++ true ++ echo 'ERROR in ./build-steps.d/1900_run-chroot-scripts-pre-d. Aborting... (benchmark: 00:00:12)' ERROR in ./build-steps.d/1900_run-chroot-scripts-pre-d. Aborting... (benchmark: 00:00:12) ++ rm --force /var/run/whonix/package_manager_lock ++ /home/user/Whonix/help-steps/remove-local-temp-apt-repo +++ dirname /home/user/Whonix/help-steps/remove-local-temp-apt-repo ++ cd /home/user/Whonix/help-steps ++ pwd + MYDIR=/home/user/Whonix/help-steps + source /home/user/Whonix/help-steps/pre ++ set +x + source /home/user/Whonix/help-steps/variables ++ set +x INFO: Setting... export UWT_DEV_PASSTHROUGH="1" whonix_build_whonix_version_new: 7.7.8.9 whonix_build_new_changelog_version: 2:7.7.8.9-debpackage1 + true 'INFO: Currently running script: /home/user/Whonix/help-steps/remove-local-temp-apt-repo ' + remove_local_temp_apt_repo + trap error_handler_general ERR INT TERM + rm --force /home/user/whonix_binary/Whonix-Gateway_image/etc/apt/trusted.gpg.d/whonix-temporary-local-apt-repository.gpg + rm --force /home/user/whonix_binary/Whonix-Gateway_image/etc/apt/trusted.gpg.d/whonix-temporary-local-apt-repository.gpg~ + rm --force /home/user/whonix_binary/Whonix-Gateway_image//var/lib/whonix/sources_temp_list.d/whonix_temp_initialdeb.list + rm --force /home/user/whonix_binary/Whonix-Gateway_image//var/lib/whonix/sources_temp_list.d/build_sources.list + benchmark_time_end ++ date +%s + benchmark_time_end=1392631288 + benchmark_took_seconds=1 ++ convertsecs 1 ++ (( h=1/3600 )) ++ (( m=(1%3600)/60 )) ++ (( s=1%60 )) ++ printf '%02d:%02d:%02d\n' 0 0 1 ++ true + benchmark_took_time=00:00:01 + true + true 'INFO: End of: /home/user/Whonix/help-steps/remove-local-temp-apt-repo No error detected. (benchmark: 00:00:01)' ++ /home/user/Whonix/help-steps/unchroot-img +++ dirname /home/user/Whonix/help-steps/unchroot-img ++ cd /home/user/Whonix/help-steps ++ pwd + MYDIR=/home/user/Whonix/help-steps + source /home/user/Whonix/help-steps/pre ++ set +x + source /home/user/Whonix/help-steps/variables ++ set +x INFO: Setting... export UWT_DEV_PASSTHROUGH="1" whonix_build_whonix_version_new: 7.7.8.9 whonix_build_new_changelog_version: 2:7.7.8.9-debpackage1 + true 'INFO: Currently running script: /home/user/Whonix/help-steps/unchroot-img ' + do_unchroot + trap error_handler_unchroot-img ERR INT TERM + sync + '[' 0 = 1 ']' + umount /home/user/whonix_binary/Whonix-Gateway_image/dev + umount /home/user/whonix_binary/Whonix-Gateway_image/proc + umount /home/user/whonix_binary/Whonix-Gateway_image//mnt/initialdeb umount: /home/user/whonix_binary/Whonix-Gateway_image//mnt/initialdeb: not mounted + true + umount /home/user/whonix_binary/Whonix-Gateway_image/etc/resolv.conf + umount /home/user/whonix_binary/Whonix-Gateway_image/etc/hosts + umount /home/user/whonix_binary/Whonix-Gateway_image/etc/hostname + umount /home/user/whonix_binary/Whonix-Gateway_image/etc/network/interfaces + sync + benchmark_time_end ++ date +%s + benchmark_time_end=1392631289 + benchmark_took_seconds=1 ++ convertsecs 1 ++ (( h=1/3600 )) ++ (( m=(1%3600)/60 )) ++ (( s=1%60 )) ++ printf '%02d:%02d:%02d\n' 0 0 1 ++ true + benchmark_took_time=00:00:01 + true + true 'INFO: End of: /home/user/Whonix/help-steps/unchroot-img No error detected. (benchmark: 00:00:01)' ++ /home/user/Whonix/help-steps/unprevent-daemons-from-starting +++ dirname /home/user/Whonix/help-steps/unprevent-daemons-from-starting ++ cd /home/user/Whonix/help-steps ++ pwd + MYDIR=/home/user/Whonix/help-steps + source /home/user/Whonix/help-steps/pre ++ set +x + source /home/user/Whonix/help-steps/variables ++ set +x INFO: Setting... export UWT_DEV_PASSTHROUGH="1" whonix_build_whonix_version_new: 7.7.8.9 whonix_build_new_changelog_version: 2:7.7.8.9-debpackage1 + true 'INFO: Currently running script: /home/user/Whonix/help-steps/unprevent-daemons-from-starting ' + unprevent_daemons_from_starting + sync + rm --verbose --force /home/user/whonix_binary/Whonix-Gateway_image/usr/sbin/policy-rc.d removed ‘/home/user/whonix_binary/Whonix-Gateway_image/usr/sbin/policy-rc.d’ + sync + benchmark_time_end ++ date +%s + benchmark_time_end=1392631290 + benchmark_took_seconds=1 ++ convertsecs 1 ++ (( h=1/3600 )) ++ (( m=(1%3600)/60 )) ++ (( s=1%60 )) ++ printf '%02d:%02d:%02d\n' 0 0 1 ++ true + benchmark_took_time=00:00:01 + true + true 'INFO: End of: /home/user/Whonix/help-steps/unprevent-daemons-from-starting No error detected. (benchmark: 00:00:01)' ++ /home/user/Whonix/help-steps/unmount-img +++ dirname /home/user/Whonix/help-steps/unmount-img ++ cd /home/user/Whonix/help-steps ++ pwd + MYDIR=/home/user/Whonix/help-steps + source /home/user/Whonix/help-steps/pre ++ set +x + source /home/user/Whonix/help-steps/variables ++ set +x INFO: Setting... export UWT_DEV_PASSTHROUGH="1" whonix_build_whonix_version_new: 7.7.8.9 whonix_build_new_changelog_version: 2:7.7.8.9-debpackage1 + '[' 0 = 1 ']' + true 'INFO: Currently running script: /home/user/Whonix/help-steps/unmount-img ' + unmount_img + trap error_handler_unmount-img ERR INT TERM + '[' '' = '' ']' + true + sync + wait 18054 + sleep 2 + sync + umount /home/user/whonix_binary/Whonix-Gateway_image + sync + '[' '' = '' ']' + local img=/home/user/whonix_binary/Whonix-Gateway.img + sleep 2 + losetup --all /dev/loop0: [0804]:14816284 (/home/user/whonix_binary/Whonix-Gateway.img) + sync + kpartx -d -s -v /home/user/whonix_binary/Whonix-Gateway.img del devmap : loop0p1 loop deleted : /dev/loop0 + sync + losetup --all + sync + rm -r /home/user/whonix_binary/Whonix-Gateway_image + sync + benchmark_time_end ++ date +%s + benchmark_time_end=1392631296 + benchmark_took_seconds=6 ++ convertsecs 6 ++ (( h=6/3600 )) ++ (( m=(6%3600)/60 )) ++ (( s=6%60 )) ++ printf '%02d:%02d:%02d\n' 0 0 6 ++ true + benchmark_took_time=00:00:06 + true + true 'INFO: End of: /home/user/Whonix/help-steps/unmount-img No error detected. (benchmark: 00:00:06)' ++ echo 'ERROR in ./build-steps.d/1900_run-chroot-scripts-pre-d! Aborted.' ERROR in ./build-steps.d/1900_run-chroot-scripts-pre-d! Aborted. ++ exit 1 run-parts: ./build-steps.d/1900_run-chroot-scripts-pre-d exited with return code 1 ++ error_handler_build-machine +++ caller ++ : echo ' BASH_COMMAND: run-parts --verbose --exit-on-error ./build-steps.d ERROR ./whonix_build: | caller: 45 ./whonix_build ' ++ exit 1