Unable to build Workstation 13 64 Bit

Hi

I am now trying to build a 64 Bit Workstation 13.0.0.1.4 Stable since a few days but I always run across the same error.

My setup is as follows:

I use Virtualbox to build the Workstation in a VM
I use a 32 Bit Gateway for the connection
I installed a fresh Debian amd64 8.0 VM from DVD
I configured the Debian the same way as described here: Whonix ™ for Debian
For building I run the steps described here: https://www.whonix.org/wiki/Dev/Build_Documentation/13_full#Build_Documentation
I build with command: sudo ./whonix_build --flavor whonix-gateway – --target virtualbox --build --arch amd64 --kernel linux-image-amd64 --headers linux-headers-amd64

Here is the log:

++ echo ‘INFO: Middle of function errorhandlergeneral of ././build-steps.d/1100_prepare-build-machine.’
INFO: Middle of function errorhandlergeneral of ././build-steps.d/1100_prepare-build-machine.
++ errorhandlerprocessshared ERR
++ last_script=././build-steps.d/1100_prepare-build-machine
++ trap_signal_type_previous=
++ ‘[’ ‘’ = ‘’ ‘]’
++ trap_signal_type_previous=unset
++ trap_signal_type_last=ERR
++ whonix_build_error_counter=1
+++ benchmarktimeend 1498222502
++++ date +%s
+++ benchmarktimeend=1498222549
+++ benchmark_took_seconds=47
++++ convertsecs 47
++++ local h m s
++++ (( h=47/3600 ))
++++ true
++++ (( m=(47%3600)/60 ))
++++ true
++++ (( s=47%60 ))
++++ printf ‘%02d:%02d:%02d\n’ 0 0 47
+++ echo 00:00:47
++ benchmark_took_time=00:00:47
++ processbacktracefunction
++ echo ‘INFO: BEGIN: processbacktracefunction’
INFO: BEGIN: processbacktracefunction
++ ‘[’ -o xtrace ‘]’
++ set +x
++ echo ‘INFO: END : processbacktracefunction’
INFO: END : processbacktracefunction
++ functiontracefunction
++ echo ‘INFO: BEGIN: functiontracefunction’
INFO: BEGIN: functiontracefunction
++ ‘[’ -o xtrace ‘]’
++ set +x
++ echo ‘INFO: END : functiontracefunction’
INFO: END : functiontracefunction
++ echo ’
############################################################
ERROR in ././build-steps.d/1100_prepare-build-machine detected!
anon_dist_build_version:
(whonix_build_error_counter: 1)
(benchmark: 00:00:47)
trap_signal_type_previous: unset
trap_signal_type_last : ERR
process_backtrace_result:
1: : /sbin/init
2: : /usr/bin/konsole
3: : /bin/bash
4: : sudo ./whonix_build --flavor whonix-workstation – --target virtualbox --build --arch amd64 --kernel linux-image-amd64 --headers linux-headers-amd64
5: : /bin/bash ./whonix_build --flavor whonix-workstation – --target virtualbox --build --arch amd64 --kernel linux-image-amd64 --headers linux-headers-amd64
6: : /bin/bash ./help-steps/whonix_build_one --flavor whonix-workstation --target virtualbox --build --arch amd64 --kernel linux-image-amd64 --headers linux-headers-amd64
7: : /bin/bash ././build-steps.d/1100_prepare-build-machine
function_trace_result:
main (line number: 348)
main (line number: 226)
errorhandlergeneral (line number: 323)
errorhandlerprocessshared (line number: 170)
last_failed_bash_command: apt-get $apt_timeout_opts $apt_unattended_opts $apt_misc_opts --yes install $whonix_build_script_build_dependency
last_failed_exit_code: 100
ERROR in ././build-steps.d/1100_prepare-build-machine detected!
############################################################

############################################################
ERROR in ././build-steps.d/1100_prepare-build-machine detected!
anon_dist_build_version:
(whonix_build_error_counter: 1)
(benchmark: 00:00:47)
trap_signal_type_previous: unset
trap_signal_type_last : ERR
process_backtrace_result:
1: : /sbin/init
2: : /usr/bin/konsole
3: : /bin/bash
4: : sudo ./whonix_build --flavor whonix-workstation – --target virtualbox --build --arch amd64 --kernel linux-image-amd64 --headers linux-headers-amd64
5: : /bin/bash ./whonix_build --flavor whonix-workstation – --target virtualbox --build --arch amd64 --kernel linux-image-amd64 --headers linux-headers-amd64
6: : /bin/bash ./help-steps/whonix_build_one --flavor whonix-workstation --target virtualbox --build --arch amd64 --kernel linux-image-amd64 --headers linux-headers-amd64
7: : /bin/bash ././build-steps.d/1100_prepare-build-machine
function_trace_result:
main (line number: 348)
main (line number: 226)
errorhandlergeneral (line number: 323)
errorhandlerprocessshared (line number: 170)
last_failed_bash_command: apt-get $apt_timeout_opts $apt_unattended_opts $apt_misc_opts --yes install $whonix_build_script_build_dependency
last_failed_exit_code: 100
ERROR in ././build-steps.d/1100_prepare-build-machine detected!
############################################################

++ ‘[’ ERR = INT ‘]’
++ ‘[’ ERR = TERM ‘]’
++ ‘[’ ERR = ERR ‘]’
++ echo ‘INFO: trap_signal_type_last: ERR, considering auto retry…’
INFO: trap_signal_type_last: ERR, considering auto retry…
++ ‘[’ ‘!’ 1 = 0 ‘]’
++ ‘[’ ‘’ = ‘’ ‘]’
++ whonix_build_auto_retry_counter=1
++ ‘[’ -n 1 ‘]’
++ ‘[’ -n 5 ‘]’
++ local first
++ read -r first _
++ ‘[’ apt-get = error_ ‘]’
++ ‘[’ 1 -gt 1 ‘]’
++ echo 'INFO: Auto retry attempt number: 1. Max retry attempts: 1 (–retry-max). Auto retry… ’
INFO: Auto retry attempt number: 1. Max retry attempts: 1 (–retry-max). Auto retry…
++ whonix_build_auto_retry_counter=2
++ ‘[’ ‘!’ 5 = 0 ‘]’
++ echo 'INFO: Waiting (–retry-wait) 5 seconds before auto retry… ’
INFO: Waiting (–retry-wait) 5 seconds before auto retry…
++ wait 23018
++ sleep 5
++ ignore_error=echo
++ error_handler_do_retry=echo
++ errorhandlerretry
++ ‘[’ ‘!’ ‘’ = ‘’ ‘]’
++ echo ‘INFO: Skipping whonix_build_dispatch_before_retry (–retry-before), because empty, ok.’
INFO: Skipping whonix_build_dispatch_before_retry (–retry-before), because empty, ok.
++ echo 'INFO: Retrying last_failed_bash_command…: apt-get $apt_timeout_opts $apt_unattended_opts $apt_misc_opts --yes install $whonix_build_script_build_dependency ’
INFO: Retrying last_failed_bash_command…: apt-get $apt_timeout_opts $apt_unattended_opts $apt_misc_opts --yes install $whonix_build_script_build_dependency
++ retry_last_failed_bash_command_exit_code=0
++ eval apt-get ‘$apt_timeout_opts’ ‘$apt_unattended_opts’ ‘$apt_misc_opts’ --yes install ‘$whonix_build_script_build_dependency’
+++ apt-get -o Acquire::http::Timeout=180 -o Acquire::ftp::Timeout=180 -o Acquire::Retries=3 --yes install sudo ruby-ronn diffutils debhelper dialog haveged devscripts git reprepro libfile-fcntllock-perl config-package-dev dh-apparmor dh-systemd dh-python build-essential lintian gawk bash-completion grep debian-archive-keyring faketime fakeroot vbindiff lsb-release pv python-all-dev python-stdeb time
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package python-all-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package pv is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Unable to locate package ruby-ronn
E: Unable to locate package haveged
E: Unable to locate package reprepro
E: Unable to locate package config-package-dev
E: Unable to locate package dh-apparmor
E: Unable to locate package dh-systemd
E: Unable to locate package faketime
E: Unable to locate package vbindiff
E: Package ‘pv’ has no installation candidate
E: Package ‘python-all-dev’ has no installation candidate
E: Unable to locate package python-stdeb
++ retry_last_failed_bash_command_exit_code=100
++ true
++ ‘[’ 100 = 0 ‘]’
++ echo 'INFO: Retry failed. exit code of last_failed_bash_command: 100 ’
INFO: Retry failed. exit code of last_failed_bash_command: 100
++ last_failed_exit_code=100
++ last_failed_bash_command=‘apt-get $apt_timeout_opts $apt_unattended_opts $apt_misc_opts --yes install $whonix_build_script_build_dependency’
++ ‘[’ ‘!’ ‘’ = ‘’ ‘]’
++ echo ‘INFO: Skipping whonix_build_dispatch_after_retry (–retry-after), because empty, ok.’
INFO: Skipping whonix_build_dispatch_after_retry (–retry-after), because empty, ok.
++ ‘[’ 100 = 0 ‘]’
++ errorhandlerprocessshared ‘NONE_(called_by_errorhandlerretry)’
++ last_script=././build-steps.d/1100_prepare-build-machine
++ trap_signal_type_previous=ERR
++ ‘[’ ERR = ‘’ ‘]’
++ trap_signal_type_last=‘NONE_(called_by_errorhandlerretry)’
++ whonix_build_error_counter=2
+++ benchmarktimeend 1498222502
++++ date +%s
+++ benchmarktimeend=1498222554
+++ benchmark_took_seconds=52
++++ convertsecs 52
++++ local h m s
++++ (( h=52/3600 ))
++++ true
++++ (( m=(52%3600)/60 ))
++++ true
++++ (( s=52%60 ))
++++ printf ‘%02d:%02d:%02d\n’ 0 0 52
+++ echo 00:00:52
++ benchmark_took_time=00:00:52
++ processbacktracefunction
++ echo ‘INFO: BEGIN: processbacktracefunction’
INFO: BEGIN: processbacktracefunction
++ ‘[’ -o xtrace ‘]’
++ set +x
++ echo ‘INFO: END : processbacktracefunction’
INFO: END : processbacktracefunction
++ functiontracefunction
++ echo ‘INFO: BEGIN: functiontracefunction’
INFO: BEGIN: functiontracefunction
++ ‘[’ -o xtrace ‘]’
++ set +x
++ echo ‘INFO: END : functiontracefunction’
INFO: END : functiontracefunction
++ echo ’
############################################################
ERROR in ././build-steps.d/1100_prepare-build-machine detected!
anon_dist_build_version:
(whonix_build_error_counter: 2)
(benchmark: 00:00:52)
trap_signal_type_previous: ERR
trap_signal_type_last : NONE_(called_by_errorhandlerretry)
process_backtrace_result:
1: : /sbin/init
2: : /usr/bin/konsole
3: : /bin/bash
4: : sudo ./whonix_build --flavor whonix-workstation – --target virtualbox --build --arch amd64 --kernel linux-image-amd64 --headers linux-headers-amd64
5: : /bin/bash ./whonix_build --flavor whonix-workstation – --target virtualbox --build --arch amd64 --kernel linux-image-amd64 --headers linux-headers-amd64
6: : /bin/bash ./help-steps/whonix_build_one --flavor whonix-workstation --target virtualbox --build --arch amd64 --kernel linux-image-amd64 --headers linux-headers-amd64
7: : /bin/bash ././build-steps.d/1100_prepare-build-machine
function_trace_result:
main (line number: 348)
main (line number: 226)
errorhandlergeneral (line number: 323)
errorhandlerprocessshared (line number: 220)
errorhandlerretry (line number: 155)
errorhandlerprocessshared (line number: 170)
errorhandlerprocessshared (line number: 170)
errorhandlergeneral (line number: 323)
main (line number: 226)
main (line number: 348)
last_failed_bash_command: apt-get $apt_timeout_opts $apt_unattended_opts $apt_misc_opts --yes install $whonix_build_script_build_dependency
last_failed_exit_code: 100
ERROR in ././build-steps.d/1100_prepare-build-machine detected!
############################################################

############################################################
ERROR in ././build-steps.d/1100_prepare-build-machine detected!
anon_dist_build_version:
(whonix_build_error_counter: 2)
(benchmark: 00:00:52)
trap_signal_type_previous: ERR
trap_signal_type_last : NONE_(called_by_errorhandlerretry)
process_backtrace_result:
1: : /sbin/init
2: : /usr/bin/konsole
3: : /bin/bash
4: : sudo ./whonix_build --flavor whonix-workstation – --target virtualbox --build --arch amd64 --kernel linux-image-amd64 --headers linux-headers-amd64
5: : /bin/bash ./whonix_build --flavor whonix-workstation – --target virtualbox --build --arch amd64 --kernel linux-image-amd64 --headers linux-headers-amd64
6: : /bin/bash ./help-steps/whonix_build_one --flavor whonix-workstation --target virtualbox --build --arch amd64 --kernel linux-image-amd64 --headers linux-headers-amd64
7: : /bin/bash ././build-steps.d/1100_prepare-build-machine
function_trace_result:
main (line number: 348)
main (line number: 226)
errorhandlergeneral (line number: 323)
errorhandlerprocessshared (line number: 220)
errorhandlerretry (line number: 155)
errorhandlerprocessshared (line number: 170)
errorhandlerprocessshared (line number: 170)
errorhandlergeneral (line number: 323)
main (line number: 226)
main (line number: 348)
last_failed_bash_command: apt-get $apt_timeout_opts $apt_unattended_opts $apt_misc_opts --yes install $whonix_build_script_build_dependency
last_failed_exit_code: 100
ERROR in ././build-steps.d/1100_prepare-build-machine detected!
############################################################

++ ‘[’ ‘NONE_(called_by_errorhandlerretry)’ = INT ‘]’
++ ‘[’ ‘NONE_(called_by_errorhandlerretry)’ = TERM ‘]’
++ ‘[’ ‘NONE_(called_by_errorhandlerretry)’ = ERR ‘]’
++ ‘[’ ‘NONE_(called_by_errorhandlerretry)’ = ‘NONE_(called_by_errorhandlerretry)’ ‘]’
++ echo ‘INFO: trap_signal_type_last: NONE_(called_by_errorhandlerretry), considering auto retry…’
INFO: trap_signal_type_last: NONE_(called_by_errorhandlerretry), considering auto retry…
++ ‘[’ ‘!’ 1 = 0 ‘]’
++ ‘[’ 2 = ‘’ ‘]’
++ ‘[’ -n 1 ‘]’
++ ‘[’ -n 5 ‘]’
++ local first
++ read -r first _
++ ‘[’ apt-get = error_ ‘]’
++ ‘[’ 2 -gt 1 ‘]’
++ echo 'INFO: Auto retried (–retry-max) already 1 times. No more auto retry. ’
INFO: Auto retried (–retry-max) already 1 times. No more auto retry.
++ unset whonix_build_auto_retry_counter
++ ignore_error=false
++ answer=
++ ‘[’ ‘NONE_(called_by_errorhandlerretry)’ = ERR ‘]’
++ ‘[’ ‘NONE_(called_by_errorhandlerretry)’ = ‘NONE_(called_by_errorhandlerretry)’ ‘]’
++ echo 'INFO: whonix_build_non_interactive: ’
INFO: whonix_build_non_interactive:
++ ‘[’ ‘’ = true ‘]’
++ ‘[’ -t 0 ‘]’
++ echo ‘INFO: stdin connected to terminal, using interactive error handler.’
INFO: stdin connected to terminal, using interactive error handler.
++ echo 'ERROR in ././build-steps.d/1100_prepare-build-machine detected!
Please have a look above (the block within ###…), note the command that failed, last_failed_exit_code and its output (further above).

  • Please enter c and press enter to ignore the error and continue building. (Recommended against!)
  • Please press r and enter to retry.
  • Please press s and enter to open an chroot interactive shell.
  • Please press enter to cleanup and exit.’
    ERROR in ././build-steps.d/1100_prepare-build-machine detected!
    Please have a look above (the block within ###…), note the command that failed, last_failed_exit_code and its output (further above).
  • Please enter c and press enter to ignore the error and continue building. (Recommended against!)
  • Please press r and enter to retry.
  • Please press s and enter to open an chroot interactive shell.
  • Please press enter to cleanup and exit.
    ++ read -p 'Answer? ’ answer
    Answer?

I hope someone can help me to solve the problem. Thank you in advance.

Best regards

Probably not an issue caused by Whonix build script. Try to manually install one of the packages that failed to install as per your log such as the ruby-ronn. Does that work?

If not, probably your sources.list is messed up and you’ll need to fix it as per Free Support for Whonix ™.

I checked ruby and it is already installed. I just tried to install the packages manually. It did not work as the packages are unable to locate. I checked sources.list. It has the following entries which should be OK I guess:
deb Index of /debian jessie-updates main contrib
deb-src Index of /debian jessie-updates main contrib

Therefore not a Whonix issue.

ruby-ronn, not ruby.

You cannot run with jessie-updates alone. You also need jessie. And update your package lists. Until this is sorted out, building Whonix won’t work.

Thank you Patrick. I will try to fix the Debian issues then.

I succeded in building. Thank you again Patrick for your help. This topic may be closed.

1 Like