Error. Failed bilding Whonix gateway on physical host.

Hi, I have problem with building Whonix-gateway at physical host.

I tried to make the build 15.0.1.3.4-stable on debian 10.
Instalation failed on 1300_create-raw-image script.

chown: cannot access ‘/home/user/whonix_binary/Whonix-Gateway-XFCE-15.0.1.3.4.raw’: No such file or directory
++ errorhandlergeneral ERR
++ last_failed_exit_code=1
++ last_failed_bash_command=‘chown “$user_name:$user_name” “$binary_image_raw”’

Here is the last 300 lines of the log:

+++ (( m=(2%3600)/60 ))
+++ true
+++ (( s=2%60 ))
+++ printf ‘%02d:%02d:%02d\n’ 0 0 2
++ echo 00:00:02

  • benchmark_took_time=00:00:02
  • 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:02’
  • exit 0
    ++ benchmarktimeend 1592010685
    +++ date +%s
    ++ benchmarktimeend=1592010709
    ++ benchmark_took_seconds=24
    +++ convertsecs 24
    +++ local h m s
    +++ (( h=24/3600 ))
    +++ true
    +++ (( m=(24%3600)/60 ))
    +++ true
    +++ (( s=24%60 ))
    +++ printf ‘%02d:%02d:%02d\n’ 0 0 24
    ++ echo 00:00:24
  • benchmark_took_time=00:00:24
  • popd
    /home/user/Whonix
  • true 'INFO: Done with build of package (70 / 70) (benchmark: 00:00:24): whonixsetup ’
  • true '././build-steps.d/1200_create-debian-packages INFO: Created Whonix Debian Packages. ’
  • exithandler
  • local exit_code=0
  • ‘[’ ‘!’ 0 = 0 ‘]’
    ++ benchmarktimeend 1592005704
    +++ date +%s
    ++ benchmarktimeend=1592010709
    ++ benchmark_took_seconds=5005
    +++ convertsecs 5005
    +++ local h m s
    +++ (( h=5005/3600 ))
    +++ (( m=(5005%3600)/60 ))
    +++ (( s=5005%60 ))
    +++ printf ‘%02d:%02d:%02d\n’ 1 23 25
    ++ echo 01:23:25
  • benchmark_took_time=01:23:25
  • output_cmd_set
  • ‘[’ -o xtrace ‘]’
  • output_cmd=true
  • ‘[’ 0 = 0 ‘]’
  • true ‘INFO: End of: ././build-steps.d/1200_create-debian-packages | exit_code: 0 | error(s) detected: 0 | benchmark: 01:23:25’
  • exit 0
  • true ‘INFO: END : whonix_build_one_build_step_current: ./build-steps.d/1200_create-debian-packages’
  • true ‘############################################################’
  • true ‘############################################################’
  • true ‘############################################################’
  • for whonix_build_one_build_step_current in ./build-steps.d/*
  • ‘[’ -x ./build-steps.d/1300_create-raw-image ‘]’
  • ‘[’ e = ‘~’ ‘]’
  • echo ./build-steps.d/1300_create-raw-image
  • grep -q .dpkg-
  • true ‘############################################################’
  • true ‘############################################################’
  • true ‘############################################################’
  • true ‘INFO: BEGIN: whonix_build_one_build_step_current: ./build-steps.d/1300_create-raw-image’
  • ././build-steps.d/1300_create-raw-image
  • set -e
  • true 'INFO: Currently running script: ././build-steps.d/1300_create-raw-image ’
    +++ dirname ././build-steps.d/1300_create-raw-image
    ++ 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
    ++ ‘[’ ‘!’ ‘’ = true ‘]’
    ++ set +x
  • source colors
    ++ ‘[’ ‘!’ true = true ‘]’
  • source variables
    ++ ‘[’ ‘!’ ‘’ = true ‘]’
    ++ set +x
    INFO: Setting… export UWT_DEV_PASSTHROUGH=“1”
    INFO: Variable dist_build_version was unset. Auto detected. Set to: 15.0.1.3.4
    ++ true 'INFO: Currently running script: ././build-steps.d/1300_create-raw-image ’
    ++ true 'INFO: LD_PRELOAD: ’
  • main
  • root_check
    ++ id -u
  • ‘[’ 0 ‘!=’ 0 ‘]’
  • echo ‘INFO: Script running as root.’
    INFO: Script running as root.
  • ‘[’ 1 = 1 ‘]’
  • true ‘INFO: Skipping ././build-steps.d/1300_create-raw-image, because ANON_BUILD_INSTALL_TO_ROOT is set to 1.’
  • permission-fix-raw-image
  • chown user:user /home/user/whonix_binary/Whonix-Gateway-XFCE-15.0.1.3.4.raw
    chown: cannot access ‘/home/user/whonix_binary/Whonix-Gateway-XFCE-15.0.1.3.4.raw’: No such file or directory
    ++ errorhandlergeneral ERR
    ++ last_failed_exit_code=1
    ++ last_failed_bash_command=‘chown “$user_name:$user_name” “$binary_image_raw”’
    ++ output_cmd_set
    ++ ‘[’ -o xtrace ‘]’
    ++ output_cmd=true
    ++ true ‘INFO: Middle of function errorhandlergeneral of ././build-steps.d/1300_create-raw-image.’
    ++ errorhandlerprocessshared ERR
    ++ last_script=././build-steps.d/1300_create-raw-image
    ++ trap_signal_type_previous=
    ++ ‘[’ ‘’ = ‘’ ‘]’
    ++ trap_signal_type_previous=unset
    ++ trap_signal_type_last=ERR
    ++ whonix_build_error_counter=1
    +++ benchmarktimeend 1592010710
    ++++ date +%s
    +++ benchmarktimeend=1592010711
    +++ benchmark_took_seconds=1
    ++++ convertsecs 1
    ++++ local h m s
    ++++ (( h=1/3600 ))
    ++++ true
    ++++ (( m=(1%3600)/60 ))
    ++++ true
    ++++ (( s=1%60 ))
    ++++ printf ‘%02d:%02d:%02d\n’ 0 0 1
    +++ echo 00:00:01
    ++ benchmark_took_time=00:00:01
    ++ 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/1300_create-raw-image detected!

dist_build_version: 15.0.1.3.4
whonix_build_error_counter: 1
benchmark: 00:00:01
last_failed_exit_code: 1
trap_signal_type_previous: unset
trap_signal_type_last : ERR

process_backtrace_result:
1: : init
2: : xfce4-terminal
3: : bash
4: : sudo ./whonix_build --flavor whonix-gateway-xfce --target root --build
5: : /bin/bash ./whonix_build --flavor whonix-gateway-xfce --target root --build
6: : /bin/bash ././build-steps.d/1300_create-raw-image

function_trace_result:
main (line number: 201)
main (line number: 198)
permission-fix-raw-image (line number: 176)
errorhandlergeneral (line number: 367)
errorhandlerprocessshared (line number: 196)

last_failed_bash_command: chown “$user_name:$user_name” “$binary_image_raw”
############################################################

++ unset error_reason
++ ‘[’ ERR = INT ‘]’
++ ‘[’ ERR = TERM ‘]’
++ ‘[’ ERR = ERR ‘]’
++ ‘[’ ‘!’ 1 = 0 ‘]’
++ ‘[’ ‘’ = ‘’ ‘]’
++ whonix_build_auto_retry_counter=1
++ ‘[’ -n 1 ‘]’
++ ‘[’ -n 5 ‘]’
++ ‘[’ chown = 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 27637
++ 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…: chown “$user_name:$user_name” “$binary_image_raw” ’
++ retry_last_failed_bash_command_exit_code=0
++ eval chown ‘“$user_name:$user_name”’ ‘“$binary_image_raw”’
+++ chown user:user /home/user/whonix_binary/Whonix-Gateway-XFCE-15.0.1.3.4.raw
chown: cannot access ‘/home/user/whonix_binary/Whonix-Gateway-XFCE-15.0.1.3.4.raw’: No such file or directory
++ retry_last_failed_bash_command_exit_code=1
++ true
++ ‘[’ 1 = 0 ‘]’
++ true 'INFO: Retry failed. exit code of last_failed_bash_command: 1 ’
++ last_failed_exit_code=1
++ last_failed_bash_command=‘chown “$user_name:$user_name” “$binary_image_raw”’
++ ‘[’ ‘!’ ‘’ = ‘’ ‘]’
++ true ‘INFO: Skipping whonix_build_dispatch_after_retry (–retry-after), because empty, ok.’
++ ‘[’ 1 = 0 ‘]’
++ errorhandlerprocessshared ‘NONE_(called_by_errorhandlerretry)’
++ last_script=././build-steps.d/1300_create-raw-image
++ trap_signal_type_previous=ERR
++ ‘[’ ERR = ‘’ ‘]’
++ trap_signal_type_last=‘NONE_(called_by_errorhandlerretry)’
++ whonix_build_error_counter=2
+++ benchmarktimeend 1592010710
++++ date +%s
+++ benchmarktimeend=1592010716
+++ benchmark_took_seconds=6
++++ convertsecs 6
++++ local h m s
++++ (( h=6/3600 ))
++++ true
++++ (( m=(6%3600)/60 ))
++++ true
++++ (( s=6%60 ))
++++ printf ‘%02d:%02d:%02d\n’ 0 0 6
+++ echo 00:00:06
++ benchmark_took_time=00:00:06
++ 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/1300_create-raw-image detected!

dist_build_version: 15.0.1.3.4
whonix_build_error_counter: 2
benchmark: 00:00:06
last_failed_exit_code: 1
trap_signal_type_previous: ERR
trap_signal_type_last : NONE_(called_by_errorhandlerretry)

process_backtrace_result:
1: : init
2: : xfce4-terminal
3: : bash
4: : sudo ./whonix_build --flavor whonix-gateway-xfce --target root --build
5: : /bin/bash ./whonix_build --flavor whonix-gateway-xfce --target root --build
6: : /bin/bash ././build-steps.d/1300_create-raw-image

function_trace_result:
main (line number: 201)
main (line number: 198)
permission-fix-raw-image (line number: 176)
errorhandlergeneral (line number: 367)
errorhandlerprocessshared (line number: 251)
errorhandlerretry (line number: 178)
errorhandlerprocessshared (line number: 196)
errorhandlerprocessshared (line number: 196)
errorhandlergeneral (line number: 367)
permission-fix-raw-image (line number: 176)
main (line number: 198)
main (line number: 201)

last_failed_bash_command: chown “$user_name:$user_name” “$binary_image_raw”
############################################################

++ 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 ‘]’
++ ‘[’ chown = 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/1300_create-raw-image detected!