Can't build Whonix from source

Information

ID: 999
PHID: PHID-TASK-wjq3rhghhysgspfut43a
Author: el-cpu
Status at Migration Time: invalid
Priority at Migration Time: Needs Triage

Description

Hello! Trying to build from source. The story of my issue here:
https://github.com/Whonix/Whonix/issues/435
I installed python 3-7 as instructed. Still same error. It was 127, now it is 125.

Unfortunatelly I have debian buster only in VM. If I try install Whonix there it works slowly so I try to find a way to install in host. Also in that discussion I mentioned in above link there was a success with Ubuntu 20.04.

Thanks in advance.

############################################################
ERROR in ././build-steps.d/1120_prepare-build-machine detected!

dist_build_version: 15.0.1.3.9
whonix_build_error_counter: 1
benchmark: 00:00:09
last_failed_exit_code: 100
trap_signal_type_previous: unset
trap_signal_type_last : ERR

process_backtrace_result:
1: : init
2: : /usr/bin/mate-terminal -x /bin/sh -c ‘'’/home/candra/Desktop/dns.sh’'’
3: : bash
4: : sudo /home/candra/Whonix/whonix_build --flavor whonix-gateway-xfce --target qcow2 --repo true --build
5: : /bin/bash /home/candra/Whonix/whonix_build --flavor whonix-gateway-xfce --target qcow2 --repo true --build
6: : /bin/bash ././build-steps.d/1120_prepare-build-machine

function_trace_result:
main (line number: 245)
main (line number: 242)
build_machine_setup (line number: 85)
errorhandlergeneral (line number: 367)
errorhandlerprocessshared (line number: 196)

last_failed_bash_command: $apt_get_update_wrapper_source_path_full ${APTGETOPT[@]} -o Dir::Etc::sourcelist=“$whonix_build_sources_list_primary” -o Dir::Etc::sourceparts=“-” update
############################################################

++ unset error_reason
++ ‘[’ ERR = INT ‘]’
++ ‘[’ ERR = TERM ‘]’
++ ‘[’ ERR = ERR ‘]’
++ ‘[’ ‘!’ 1 = 0 ‘]’
++ ‘[’ ‘’ = ‘’ ‘]’
++ whonix_build_auto_retry_counter=1
++ ‘[’ -n 1 ‘]’
++ ‘[’ -n 5 ‘]’
++ ‘[’ ‘$apt_get_update_wrapper_source_path_full’ = error_ ‘]’
++ ‘[’ 1 -gt 1 ‘]’
++ true 'INFO: Auto retry attempt number: 1. Max retry attempts: 1 (–retry-max). Auto retry… ’
++ whonix_build_auto_retry_counter=2
++ ‘[’ ‘!’ 5 = 0 ‘]’
++ true 'INFO: Waiting (–retry-wait) 5 seconds before auto retry… ’
++ wait 19285
++ sleep 5
++ ignore_error=true
++ error_handler_do_retry=true
++ errorhandlerretry
++ ‘[’ ‘!’ ‘’ = ‘’ ‘]’
++ true ‘INFO: Skipping whonix_build_dispatch_before_retry (–retry-before), because empty, ok.’
++ true ‘INFO: Retrying last_failed_bash_command…: $apt_get_update_wrapper_source_path_full ${APTGETOPT[@]} -o Dir::Etc::sourcelist=“$whonix_build_sources_list_primary” -o Dir::Etc::sourceparts=“-” update ’
++ retry_last_failed_bash_command_exit_code=0
++ eval ‘$apt_get_update_wrapper_source_path_full’ -o ‘Dir::Etc::sourcelist=“$whonix_build_sources_list_primary”’ -o ‘Dir::Etc::sourceparts=“-”’ update
+++ /home/candra/Whonix/packages/security-misc//usr/lib/security-misc/apt-get-wrapper -o Dir::Etc::sourcelist=/home/candra/Whonix/build_sources/debian_stable_current_clearnet.list -o Dir::Etc::sourceparts=- update
Err:1 http://HTTPS///deb.debian.org/debian-security buster/updates InRelease
Could not resolve ‘HTTPS’
Err:2 http://HTTPS///deb.debian.org/debian buster InRelease
Could not resolve ‘HTTPS’
Reading package lists…
W: Failed to fetch http://HTTPS///deb.debian.org/debian-security/dists/buster/updates/InRelease Could not resolve ‘HTTPS’
W: Failed to fetch http://HTTPS///deb.debian.org/debian/dists/buster/InRelease Could not resolve ‘HTTPS’
W: Some index files failed to download. They have been ignored, or old ones used instead.
++ retry_last_failed_bash_command_exit_code=125
++ true
++ ‘[’ 125 = 0 ‘]’
++ true ‘INFO: Retry failed. exit code of last_failed_bash_command: 125 ’
++ last_failed_exit_code=125
++ last_failed_bash_command=’$apt_get_update_wrapper_source_path_full ${APTGETOPT[@]} -o Dir::Etc::sourcelist=“$whonix_build_sources_list_primary” -o Dir::Etc::sourceparts=“-” update’
++ ‘[’ ‘!’ ‘’ = ‘’ ‘]’
++ true ‘INFO: Skipping whonix_build_dispatch_after_retry (–retry-after), because empty, ok.’
++ ‘[’ 125 = 0 ‘]’
++ errorhandlerprocessshared ‘NONE_(called_by_errorhandlerretry)’
++ last_script=././build-steps.d/1120_prepare-build-machine
++ trap_signal_type_previous=ERR
++ ‘[’ ERR = ‘’ ‘]’
++ trap_signal_type_last=‘NONE_(called_by_errorhandlerretry)’
++ whonix_build_error_counter=2
+++ benchmarktimeend 1595522618
++++ date +%s
+++ benchmarktimeend=1595522635
+++ benchmark_took_seconds=17
++++ convertsecs 17
++++ local h m s
++++ (( h=17/3600 ))
++++ true
++++ (( m=(17%3600)/60 ))
++++ true
++++ (( s=17%60 ))
++++ printf ‘%02d:%02d:%02d\n’ 0 0 17
+++ echo 00:00:17
++ benchmark_took_time=00:00:17
++ local first
++ read -r first _
++ 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 ’
############################################################
ERROR in ././build-steps.d/1120_prepare-build-machine detected!

dist_build_version: 15.0.1.3.9
whonix_build_error_counter: 2
benchmark: 00:00:17
last_failed_exit_code: 125
trap_signal_type_previous: ERR
trap_signal_type_last : NONE_(called_by_errorhandlerretry)

process_backtrace_result:
1: : init
2: : /usr/bin/mate-terminal -x /bin/sh -c ‘'’/home/candra/Desktop/dns.sh’'’
3: : bash
4: : sudo /home/candra/Whonix/whonix_build --flavor whonix-gateway-xfce --target qcow2 --repo true --build
5: : /bin/bash /home/candra/Whonix/whonix_build --flavor whonix-gateway-xfce --target qcow2 --repo true --build
6: : /bin/bash ././build-steps.d/1120_prepare-build-machine

function_trace_result:
main (line number: 245)
main (line number: 242)
build_machine_setup (line number: 85)
errorhandlergeneral (line number: 367)
errorhandlerprocessshared (line number: 251)
errorhandlerretry (line number: 178)
errorhandlerprocessshared (line number: 196)
errorhandlerprocessshared (line number: 196)
errorhandlergeneral (line number: 367)
build_machine_setup (line number: 85)
main (line number: 242)
main (line number: 245)

last_failed_bash_command: $apt_get_update_wrapper_source_path_full ${APTGETOPT[@]} -o Dir::Etc::sourcelist=“$whonix_build_sources_list_primary” -o Dir::Etc::sourceparts=“-” update
############################################################

++ unset error_reason
++ ‘[’ ‘NONE_(called_by_errorhandlerretry)’ = INT ‘]’
++ ‘[’ ‘NONE_(called_by_errorhandlerretry)’ = TERM ‘]’
++ ‘[’ ‘NONE_(called_by_errorhandlerretry)’ = ERR ‘]’
++ ‘[’ ‘NONE_(called_by_errorhandlerretry)’ = ‘NONE_(called_by_errorhandlerretry)’ ‘]’
++ ‘[’ ‘!’ 1 = 0 ‘]’
++ ‘[’ 2 = ‘’ ‘]’
++ ‘[’ -n 1 ‘]’
++ ‘[’ -n 5 ‘]’
++ ‘[’ ‘$apt_get_update_wrapper_source_path_full’ = error_ ‘]’
++ ‘[’ 2 -gt 1 ‘]’
++ true 'INFO: Auto retried (–retry-max) already 1 times. No more auto retry. ’
++ unset whonix_build_auto_retry_counter
++ true
++ ignore_error=false
++ answer=
++ ‘[’ ‘NONE_(called_by_errorhandlerretry)’ = ERR ‘]’
++ ‘[’ ‘NONE_(called_by_errorhandlerretry)’ = ‘NONE_(called_by_errorhandlerretry)’ ‘]’
++ ‘[’ ‘’ = true ‘]’
++ ‘[’ -t 0 ‘]’
++ true ‘INFO: stdin connected to terminal, using interactive error handler.’
++ true 'ERROR in ././build-steps.d/1120_prepare-build-machine detected!

Please have a look above (the block within ###…).

  • 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 a and enter to abort.’
    ++ read -p 'Answer? ’ answer
    Answer?

Comments


Patrick

2020-07-23 17:08:57 UTC