Advertisement
Guest User

apt-get-wrapper

a guest
Jul 27th, 2018
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 48.48 KB | None | 0 0
  1. user@host:~/Whonix$ git checkout 14.0.0.8.0-testers-only
  2. Note: checking out '14.0.0.8.0-testers-only'.
  3.  
  4. You are in 'detached HEAD' state. You can look around, make experimental
  5. changes and commit them, and you can discard any commits you make in this
  6. state without impacting any branches by performing another checkout.
  7.  
  8. If you want to create a new branch to retain commits you create, you may
  9. do so (now or later) by using -b with the checkout command again. Example:
  10.  
  11. git checkout -b <new-branch-name>
  12.  
  13. HEAD is now at 282a18bd... fix, skip build-steps.d/2350_zerofree-raw for physical isolation (--target root)
  14. user@host:~/Whonix$ git clean -ndff
  15. user@host:~/Whonix$ git submodule update --init --recursive
  16. user@host:~/Whonix$ git status
  17. HEAD detached at 14.0.0.8.0-testers-only
  18. nothing to commit, working tree clean
  19. user@host:~/Whonix$ sudo ./whonix_build --flavor whonix-gateway --target root --build
  20. [sudo] password for user:
  21. + set -e
  22. + true 'INFO: Currently running script: ./whonix_build --flavor' whonix-gateway --target root --build
  23. +++ dirname ./whonix_build
  24. ++ cd .
  25. ++ pwd
  26. + MYDIR=/home/user/Whonix
  27. + cd /home/user/Whonix
  28. + source ./help-steps/pre
  29. ++ '[' '!' '' = true ']'
  30. ++ set +x
  31. + source ./help-steps/colors
  32. ++ '[' '!' '' = true ']'
  33. ++ colors
  34. ++ '[' xterm = '' ']'
  35. ++ [[ -t 2 ]]
  36. ++ export whonix_build_already_defined_colors=true
  37. ++ whonix_build_already_defined_colors=true
  38. + trap error_handler_whonix_build_one ERR
  39. + export WHONIX_BUILD_ONE_SCRIPT_STARTED=1
  40. + WHONIX_BUILD_ONE_SCRIPT_STARTED=1
  41. + main --flavor whonix-gateway --target root --build
  42. + root_check
  43. ++ id -u
  44. + '[' 0 '!=' 0 ']'
  45. + echo 'INFO: Script running as root.'
  46. INFO: Script running as root.
  47. + args='--flavor whonix-gateway --target root --build'
  48. + whonix_build_preparation --flavor whonix-gateway --target root --build
  49. + cd help-steps
  50. + source parse-cmd
  51. + whonix_build_one_parse_cmd --flavor whonix-gateway --target root --build
  52. + '[' '!' '' = 1 ']'
  53. + '[' '--flavor whonix-gateway --target root --build' = '' ']'
  54. + local build_machines_counter=0
  55. + local build_target_counter=0
  56. + :
  57. + case $1 in
  58. + true 'INFO: --flavor whonix-gateway chosen.'
  59. + WHONIX_BUILD_FLAVOR=whonix-gateway
  60. + export WHONIX_BUILD_FLAVOR
  61. + '[' whonix-gateway = none ']'
  62. + '[' whonix-gateway = whonix-gateway ']'
  63. + build_machines_counter=1
  64. + shift 2
  65. + :
  66. + case $1 in
  67. + true 'INFO: --target root chosen.'
  68. + '[' root = virtualbox ']'
  69. + '[' root = root ']'
  70. + build_target_counter=1
  71. + export ANON_BUILD_INSTALL_TO_ROOT=1
  72. + ANON_BUILD_INSTALL_TO_ROOT=1
  73. + shift 2
  74. + :
  75. + case $1 in
  76. + export WHONIX_BUILD_BUILD=1
  77. + WHONIX_BUILD_BUILD=1
  78. + shift
  79. + :
  80. + case $1 in
  81. + '[' '' = '' ']'
  82. + true
  83. + break
  84. + '[' '' = i386 ']'
  85. + '[' -n '' ']'
  86. + BUILD_TARGET_ARCH=amd64
  87. + '[' -n '' ']'
  88. + BUILD_KERNEL_PKGS=linux-image-amd64
  89. + '[' -n '' ']'
  90. + BUILD_HEADER_PKGS=linux-headers-amd64
  91. + export BUILD_TARGET_ARCH
  92. + export BUILD_KERNEL_PKGS
  93. + export BUILD_HEADER_PKGS
  94. + echo 'INFO: BUILD_TARGET_ARCH (--arch): amd64'
  95. INFO: BUILD_TARGET_ARCH (--arch): amd64
  96. + echo 'INFO: BUILD_KERNEL_PKGS (--kernel): linux-image-amd64'
  97. INFO: BUILD_KERNEL_PKGS (--kernel): linux-image-amd64
  98. + echo 'INFO: BUILD_HEADER_PKGS (--headers): linux-headers-amd64'
  99. INFO: BUILD_HEADER_PKGS (--headers): linux-headers-amd64
  100. + '[' '' = '' ']'
  101. + echo 'INFO: No --connection type '\''clearnet'\'' or '\''onion'\'' has been chosen. Defaulting whonix_build_sources_clearnet_or_onion to clearnet.
  102. (Alternative value would be '\''onion'\''.)'
  103. INFO: No --connection type 'clearnet' or 'onion' has been chosen. Defaulting whonix_build_sources_clearnet_or_onion to clearnet.
  104. (Alternative value would be 'onion'.)
  105. + export whonix_build_sources_clearnet_or_onion=clearnet
  106. + whonix_build_sources_clearnet_or_onion=clearnet
  107. + '[' '!' '' = 1 ']'
  108. + '[' '!' 1 = 1 ']'
  109. + '[' 1 -gt 1 ']'
  110. + '[' 1 -le 0 ']'
  111. + '[' 1 = 1 ']'
  112. + true
  113. + '[' 1 = 1 ']'
  114. + '[' 1 -gt 1 ']'
  115. + export whonix_build_one_parsed=1
  116. + whonix_build_one_parsed=1
  117. + cd ..
  118. + trap error_handler_whonix_build_one ERR
  119. + trap - INT
  120. + trap - TERM
  121. + '[' '' = 1 ']'
  122. + '[' 1 = 1 ']'
  123. + whonix_build_machine
  124. + run-parts --verbose --test ./build-steps.d
  125. ./build-steps.d/1100_prepare-build-machine
  126. ./build-steps.d/1150_export-libvirt-xml
  127. ./build-steps.d/1200_create-debian-packages
  128. ./build-steps.d/1300_create-raw-image
  129. ./build-steps.d/1700_install-packages
  130. ./build-steps.d/2300_run-chroot-scripts-post-d
  131. ./build-steps.d/2350_zerofree-raw
  132. ./build-steps.d/2400_convert-raw-to-qcow2
  133. ./build-steps.d/2500_convert-raw-to-vdi
  134. ./build-steps.d/2600_create-vbox-vm
  135. ./build-steps.d/2700_export-vbox-vm
  136. ./build-steps.d/2800_create-report
  137. + for whonix_build_one_build_step_current in ./build-steps.d/*
  138. + '[' -x ./build-steps.d/1100_prepare-build-machine ']'
  139. + '[' e = '~' ']'
  140. + grep -q .dpkg-
  141. + echo ./build-steps.d/1100_prepare-build-machine
  142. + true '############################################################'
  143. + true '############################################################'
  144. + true '############################################################'
  145. + true 'INFO: BEGIN: whonix_build_one_build_step_current: ./build-steps.d/1100_prepare-build-machine'
  146. + ././build-steps.d/1100_prepare-build-machine
  147. + set -e
  148. + true 'INFO: Currently running script: ././build-steps.d/1100_prepare-build-machine '
  149. +++ dirname ././build-steps.d/1100_prepare-build-machine
  150. ++ cd ././build-steps.d
  151. ++ pwd
  152. + MYDIR=/home/user/Whonix/build-steps.d
  153. + cd /home/user/Whonix/build-steps.d
  154. + cd ..
  155. + cd help-steps
  156. + WHONIX_BUILD_INTERNALRUN=1
  157. + whonix_build_on_operating_system_detect_skip=1
  158. + whonix_build_no_unset_xtrace=true
  159. + no_git=1
  160. + true 'INFO ././build-steps.d/1100_prepare-build-machine: BEGIN sourcing pre...'
  161. + source pre
  162. ++ '[' '!' true = true ']'
  163. ++ set -e
  164. ++ set -o pipefail
  165. ++ set -o errtrace
  166. ++ shopt -s extdebug
  167. ++ '[' '' = '' ']'
  168. ++ whonix_build_error_counter=0
  169. ++ output_cmd_set
  170. ++ '[' -o xtrace ']'
  171. ++ output_cmd=true
  172. ++ errorhandlersetup errorhandlergeneral ERR INT TERM
  173. ++ local handler signal
  174. ++ handler=errorhandlergeneral
  175. ++ shift
  176. ++ for signal in "$@"
  177. ++ trap 'errorhandlergeneral ERR' ERR
  178. ++ for signal in "$@"
  179. ++ trap 'errorhandlergeneral INT' INT
  180. ++ for signal in "$@"
  181. ++ trap 'errorhandlergeneral TERM' TERM
  182. ++ set +e
  183. ++ export -f output_cmd_set
  184. ++ export -f errorhandlershell
  185. ++ export -f errorhandlerretry
  186. ++ export -f errorhandlerprocessshared
  187. ++ export -f errorhandlermaybeexit
  188. ++ export -f errorhandlergeneral
  189. ++ export -f errorhandlerunchrootunpreventunmount
  190. ++ export -f errorhandlerunmount
  191. ++ export -f errorhandlersetup
  192. ++ export -f functiontracefunction
  193. ++ export -f processbacktracefunction
  194. ++ errorhandlersetup errorhandlergeneral ERR INT TERM
  195. ++ local handler signal
  196. ++ handler=errorhandlergeneral
  197. ++ shift
  198. ++ for signal in "$@"
  199. ++ trap 'errorhandlergeneral ERR' ERR
  200. ++ for signal in "$@"
  201. ++ trap 'errorhandlergeneral INT' INT
  202. ++ for signal in "$@"
  203. ++ trap 'errorhandlergeneral TERM' TERM
  204. ++ bash -n pre
  205. ++ export -f convertsecs
  206. ++ export -f benchmarktimeend
  207. ++ benchmark_time_start
  208. +++ date +%s
  209. ++ export benchmark_time_start=1532683133
  210. ++ benchmark_time_start=1532683133
  211. ++ export -f exithandler
  212. ++ trap exithandler EXIT
  213. ++ set -x
  214. + true 'INFO ././build-steps.d/1100_prepare-build-machine: END sourcing pre.'
  215. + true 'INFO ././build-steps.d/1100_prepare-build-machine: BEGIN sourcing colors...'
  216. + source colors
  217. ++ '[' '!' true = true ']'
  218. + true 'INFO ././build-steps.d/1100_prepare-build-machine: END sourcing colors.'
  219. + true 'INFO ././build-steps.d/1100_prepare-build-machine: BEGIN sourcing variables...'
  220. + source variables
  221. ++ '[' '!' true = true ']'
  222. ++ command -v logname
  223. ++ command -v whoami
  224. ++ command -v dirname
  225. ++ command -v basename
  226. ++ command -v awk
  227. ++ command -v grep
  228. ++++ dirname variables
  229. +++ cd .
  230. +++ pwd
  231. ++ MYDIR=/home/user/Whonix/help-steps
  232. ++ bash -n variables
  233. ++ user_name_detection
  234. ++ '[' '!' '' = '' ']'
  235. ++ '[' '!' user = '' ']'
  236. ++ true 'INFO variables: Setting user_name to SUDO_USER user...'
  237. ++ user_name=user
  238. ++ '[' user = '' ']'
  239. ++ '[' user = root ']'
  240. ++ '[' user = '' ']'
  241. ++ '[' user = root ']'
  242. ++ '[' user = '' ']'
  243. ++ export user_name
  244. ++ '[' -n '' ']'
  245. ++ SUDO_OPTS='--non-interactive -u user'
  246. ++ '[' -n '' ']'
  247. ++ HOMEVAR=/home/user
  248. ++ export HOMEVAR
  249. ++ '[' -n '' ']'
  250. ++ WHONIX_BINARY=/home/user/whonix_binary
  251. ++ export WHONIX_BINARY
  252. ++++ dirname variables
  253. +++ cd .
  254. +++ pwd
  255. ++ MYDIR=/home/user/Whonix/help-steps
  256. ++ '[' -n '' ']'
  257. +++ dirname /home/user/Whonix/help-steps
  258. ++ WHONIX_SOURCE_FOLDER=/home/user/Whonix
  259. ++ export WHONIX_SOURCE_FOLDER
  260. ++ '[' -n '' ']'
  261. +++ dirname /home/user/Whonix
  262. ++ whonix_parent_folder=/home/user
  263. ++ '[' -n '' ']'
  264. ++ whonix_dev_meta_files_folder=/home/user/Whonix/packages/whonix-developer-meta-files
  265. ++ '[' -n '' ']'
  266. +++ dirname /home/user/Whonix
  267. ++ WHONIX_SOURCE_PARENTDIR=/home/user
  268. ++ export WHONIX_SOURCE_PARENTDIR
  269. ++ '[' -n '' ']'
  270. ++ WHONIX_SOURCE_HELP_STEPS_FOLDER=/home/user/Whonix/help-steps
  271. ++ export WHONIX_SOURCE_HELP_STEPS_FOLDER
  272. ++ cd /home/user/Whonix
  273. ++ LANG=C
  274. ++ export LANG
  275. ++ LC_ALL=C.UTF-8
  276. ++ TZ=UTC
  277. ++ export LC_ALL TZ
  278. ++ echo 'INFO: Setting... export UWT_DEV_PASSTHROUGH="1"'
  279. INFO: Setting... export UWT_DEV_PASSTHROUGH="1"
  280. ++ '[' -n '' ']'
  281. ++ UWT_DEV_PASSTHROUGH=1
  282. ++ export UWT_DEV_PASSTHROUGH
  283. ++ '[' -n '' ']'
  284. ++ DEBDEBUG=1
  285. ++ export DEBDEBUG
  286. ++ '[' -n '' ']'
  287. ++ tpo_downloader_debug=1
  288. ++ export tpo_downloader_debug
  289. ++ '[' '!' 1 = 1 ']'
  290. ++ '[' whonix-gateway = whonix-gateway ']'
  291. ++ '[' -n '' ']'
  292. ++ VMNAME=Whonix-Gateway
  293. ++ export VMNAME
  294. ++ '[' -n '' ']'
  295. ++ VMRAM=768
  296. ++ export VMRAM
  297. ++ '[' -n '' ']'
  298. ++ VRAM=16
  299. ++ export VRAM
  300. ++ '[' whonix-gateway = whonix-workstation ']'
  301. ++ '[' whonix-gateway = whonix-custom-workstation ']'
  302. ++ '[' -n '' ']'
  303. ++ VMSIZE=100G
  304. ++ export VMSIZE
  305. ++ '[' -n '' ']'
  306. ++ DISK_IDENTIFIER=26ada0c0-1165-4098-884d-aafd2220c2c6
  307. ++ export DISK_IDENTIFIER
  308. ++ '[' 1 = 1 ']'
  309. ++ '[' Whonix-Gateway = '' ']'
  310. ++ '[' 1 = 1 ']'
  311. ++ '[' '' = '' ']'
  312. ++ CHROOT_FOLDER=
  313. ++ export CHROOT_FOLDER
  314. ++ true 'variables INFO: CHROOT_FOLDER: '
  315. ++ '[' Whonix-Gateway = unknown ']'
  316. ++ '[' Whonix-Gateway = internal ']'
  317. ++ true 'variables INFO: VMNAME is Whonix-Gateway'
  318. ++ '[' Whonix-Gateway = '' ']'
  319. ++ '[' -n '' ']'
  320. ++ XZ_OPT=--threads=8
  321. ++ export XZ_OPT
  322. ++ '[' '' = true ']'
  323. ++ '[' -n '' ']'
  324. ++ '[' 1 = 1 ']'
  325. ++ '[' '' = '' ']'
  326. ++ CHROOT=
  327. ++ '[' 1 = 1 ']'
  328. ++ '[' -n '' ']'
  329. ++ git_bin=true
  330. ++ '[' -n '' ']'
  331. ++ whonix_build_grml_bin=grml-debootstrap
  332. ++ '[' -n '' ']'
  333. ++ rsync_opts=' --perms --chmod=uog+r --times --partial --progress --verbose '
  334. ++ '[' -n '' ']'
  335. ++ whonix_build_auto_retry=1
  336. ++ '[' -n '' ']'
  337. ++ whonix_build_wait_auto_retry=5
  338. ++ command -v true
  339. ++ '[' -n '' ']'
  340. ++ DEB_INSTALL_FOLDER=/mnt/initialdeb
  341. ++ export DEB_INSTALL_FOLDER
  342. ++ '[' -n '' ']'
  343. ++ EMPTY_DIR=/tmp/empty
  344. ++ export EMPTY_DIR
  345. ++ '[' -n '' ']'
  346. ++ WHONIX_SOURCES_LIST_TEMP_BUILD_FOLDER=/var/lib/whonix/sources_temp_list.d
  347. ++ '[' 1 = 1 ']'
  348. ++ true 'Probably run by prepare-build-machine script. lsb_release may not yet installed. Skipping setting whonix_build_on_operating_system.'
  349. ++ '[' -n '' ']'
  350. +++ true rev-parse HEAD
  351. ++ whonix_build_current_git_head=
  352. +++ true describe --always --abbrev=1000000000
  353. ++ temp=
  354. ++ '[' '' = '' ']'
  355. ++ anon_dist_build_version=
  356. +++ sed 's|-developers-only||g'
  357. +++ echo ''
  358. ++ anon_dist_build_version=
  359. +++ sed 's|-testers-only||g'
  360. +++ echo ''
  361. ++ anon_dist_build_version=
  362. +++ sed 's|-stable||g'
  363. +++ echo ''
  364. ++ anon_dist_build_version=
  365. ++ echo 'INFO: Variable anon_dist_build_version was unset. Auto detected. Set to: '
  366. INFO: Variable anon_dist_build_version was unset. Auto detected. Set to:
  367. ++ export anon_dist_build_version
  368. ++ '[' -n '' ']'
  369. ++ binary_image_raw=/home/user/whonix_binary/Whonix-Gateway-.raw
  370. ++ '[' -n '' ']'
  371. ++ binary_image_qcow2=/home/user/whonix_binary/Whonix-Gateway-.qcow2
  372. ++ '[' -n '' ']'
  373. ++ binary_image_ova=/home/user/whonix_binary/Whonix-Gateway-.ova
  374. ++ '[' -n '' ']'
  375. ++ binary_image_ova_signature=/home/user/whonix_binary/Whonix-Gateway-.ova.asc
  376. ++ '[' -n '' ']'
  377. ++ binary_image_ova_torrent=/home/user/whonix_binary/Whonix-Gateway-.ova.torrent
  378. ++ '[' -n '' ']'
  379. ++ binary_image_ova_torrent_signature=/home/user/whonix_binary/Whonix-Gateway-.ova.torrent.asc
  380. ++ '[' -n '' ']'
  381. ++ libvirt_source_kvm_file=/home/user/Whonix/packages/whonix-libvirt/usr/share/whonix-libvirt/xml/Whonix-Gateway.xml
  382. ++ '[' -n '' ']'
  383. ++ libvirt_target_kvm_file=/home/user/whonix_binary/Whonix-Gateway-.xml
  384. ++ '[' -n '' ']'
  385. ++ libvirt_source_network_file_external=/home/user/Whonix/packages/whonix-libvirt/usr/share/whonix-libvirt/xml/external_network.xml
  386. ++ '[' -n '' ']'
  387. ++ libvirt_target_network_file_external=/home/user/whonix_binary/Whonix_external_network-.xml
  388. ++ '[' -n '' ']'
  389. ++ libvirt_source_network_file_internal=/home/user/Whonix/packages/whonix-libvirt/usr/share/whonix-libvirt/xml/internal_network.xml
  390. ++ '[' -n '' ']'
  391. ++ libvirt_target_network_file_internal=/home/user/whonix_binary/Whonix_internal_network-.xml
  392. ++ '[' -n '' ']'
  393. ++ libvirt_target_xz_archive=/home/user/whonix_binary/Whonix-Gateway-.libvirt.xz
  394. ++ '[' -n '' ']'
  395. ++ libvirt_target_xz_archive_signature=/home/user/whonix_binary/Whonix-Gateway-.libvirt.xz.asc
  396. ++ '[' -n '' ']'
  397. ++ libvirt_target_xz_archive_torrent=/home/user/whonix_binary/Whonix-Gateway-.libvirt.xz.torrent
  398. ++ '[' -n '' ']'
  399. ++ libvirt_target_xz_archive_torrent_signature=/home/user/whonix_binary/Whonix-Gateway-.libvirt.xz.torrent.asc
  400. ++ '[' -n '' ']'
  401. ++ sha_two_hundredth_fifty_six_hash_file=/home/user/whonix_binary/Whonix-Gateway-.sha256sums
  402. ++ '[' -n '' ']'
  403. ++ sha_two_hundredth_fifty_six_hash_file_signature=/home/user/whonix_binary/Whonix-Gateway-.sha256sums.asc
  404. ++ '[' -n '' ']'
  405. ++ sha_five_hundredth_twelve_hash_file=/home/user/whonix_binary/Whonix-Gateway-.sha512sums
  406. ++ '[' -n '' ']'
  407. ++ sha_five_hundredth_twelve_hash_file_signature=/home/user/whonix_binary/Whonix-Gateway-.sha512sums.asc
  408. ++ '[' -n '' ']'
  409. ++ whonix_build_config_dirs='/home/user/Whonix/buildconfig.d /etc/whonix_buildconfig.d ../buildconfig.d'
  410. ++ for whonix_build_config_dir in $whonix_build_config_dirs
  411. ++ whonix_build_source_config_dir /home/user/Whonix/buildconfig.d
  412. ++ true 'INFO: Checking if whonix_build_config_dir /home/user/Whonix/buildconfig.d exists...'
  413. ++ '[' -d /home/user/Whonix/buildconfig.d ']'
  414. ++ true 'INFO: Parsing /home/user/Whonix/buildconfig.d...'
  415. ++ shopt -s nullglob
  416. ++ local i
  417. ++ for i in "$1/"*".conf"
  418. ++ bash -n /home/user/Whonix/buildconfig.d/30_apt_opts.conf
  419. ++ source /home/user/Whonix/buildconfig.d/30_apt_opts.conf
  420. +++ '[' '' = '' ']'
  421. +++ export 'apt_sourcelist_empty= -o Dir::Etc::sourcelist=/tmp/empty '
  422. +++ apt_sourcelist_empty=' -o Dir::Etc::sourcelist=/tmp/empty '
  423. +++ '[' '' = '' ']'
  424. +++ export 'apt_sourceparts= -o Dir::Etc::sourceparts=/var/lib/whonix/sources_temp_list.d '
  425. +++ apt_sourceparts=' -o Dir::Etc::sourceparts=/var/lib/whonix/sources_temp_list.d '
  426. +++ APTGETOPT[${#APTGETOPT[@]}]='-o Acquire::Retries=3'
  427. +++ '[' -n '' ']'
  428. +++ apt_get_update_wrapper_bin_path_full=/usr/lib/security-misc/apt-get-wrapper
  429. +++ '[' -n '' ']'
  430. +++ apt_get_update_wrapper_source_path_full=/home/user/Whonix/packages/security-misc//usr/lib/security-misc/apt-get-wrapper
  431. +++ export apt_get_update_wrapper_bin_path_full
  432. +++ export apt_get_update_wrapper_source_path_full
  433. +++ '[' -n '' ']'
  434. +++ apt_get_update_sanity_test_bin_path_full=/usr/lib/security-misc/apt-get-update-sanity-test
  435. +++ '[' -n '' ']'
  436. +++ apt_get_update_sanity_test__source_path_full=/home/user/Whonix/packages/security-misc//usr/lib/security-misc/apt-get-update-sanity-test
  437. +++ export apt_get_update_sanity_test_bin_path_full
  438. +++ export apt_get_update_sanity_test__source_path_full
  439. +++ '[' -n '' ']'
  440. +++ DEBIAN_FRONTEND=noninteractive
  441. +++ '[' -n '' ']'
  442. +++ DEBIAN_PRIORITY=critical
  443. +++ '[' -n '' ']'
  444. +++ DEBCONF_NOWARNINGS=yes
  445. +++ '[' -n '' ']'
  446. +++ APT_LISTCHANGES_FRONTEND=text
  447. +++ export DEBIAN_FRONTEND DEBIAN_PRIORITY DEBCONF_NOWARNINGS APT_LISTCHANGES_FRONTEND
  448. ++ for i in "$1/"*".conf"
  449. ++ bash -n /home/user/Whonix/buildconfig.d/30_apt_sources.conf
  450. ++ source /home/user/Whonix/buildconfig.d/30_apt_sources.conf
  451. +++ true 'whonix_build_on_operating_system: '
  452. +++ '[' '' = '' ']'
  453. +++ '[' clearnet = clearnet ']'
  454. +++ whonix_build_sources_list_newer=/home/user/Whonix/build_sources/debian_testing_current_clearnet.list
  455. +++ '[' '' = '' ']'
  456. +++ '[' clearnet = clearnet ']'
  457. +++ whonix_build_sources_list_primary=/home/user/Whonix/build_sources/debian_stable_current_clearnet.list
  458. +++ true 'whonix_build_sources_list_primary : /home/user/Whonix/build_sources/debian_stable_current_clearnet.list'
  459. +++ true 'whonix_build_sources_list_newer : /home/user/Whonix/build_sources/debian_testing_current_clearnet.list'
  460. +++ '[' '' = '' ']'
  461. ++++ grep --invert-match '#' /home/user/Whonix/build_sources/debian_stable_current_clearnet.list
  462. +++ temp_='
  463.  
  464.  
  465.  
  466. deb http://security.debian.org stretch/updates main contrib
  467. deb-src http://security.debian.org stretch/updates main contrib
  468.  
  469. deb http://ftp.us.debian.org/debian stretch-backports main contrib
  470. deb-src http://ftp.us.debian.org/debian stretch-backports main contrib
  471.  
  472. deb http://ftp.us.debian.org/debian stretch main contrib
  473. deb-src http://ftp.us.debian.org/debian stretch main contrib'
  474. ++++ grep deb
  475. ++++ echo '
  476.  
  477.  
  478.  
  479. deb http://security.debian.org stretch/updates main contrib
  480. deb-src http://security.debian.org stretch/updates main contrib
  481.  
  482. deb http://ftp.us.debian.org/debian stretch-backports main contrib
  483. deb-src http://ftp.us.debian.org/debian stretch-backports main contrib
  484.  
  485. deb http://ftp.us.debian.org/debian stretch main contrib
  486. deb-src http://ftp.us.debian.org/debian stretch main contrib'
  487. +++ temp_='deb http://security.debian.org stretch/updates main contrib
  488. deb-src http://security.debian.org stretch/updates main contrib
  489. deb http://ftp.us.debian.org/debian stretch-backports main contrib
  490. deb-src http://ftp.us.debian.org/debian stretch-backports main contrib
  491. deb http://ftp.us.debian.org/debian stretch main contrib
  492. deb-src http://ftp.us.debian.org/debian stretch main contrib'
  493. ++++ timeout 3 tail -1
  494. ++++ echo 'deb http://security.debian.org stretch/updates main contrib
  495. deb-src http://security.debian.org stretch/updates main contrib
  496. deb http://ftp.us.debian.org/debian stretch-backports main contrib
  497. deb-src http://ftp.us.debian.org/debian stretch-backports main contrib
  498. deb http://ftp.us.debian.org/debian stretch main contrib
  499. deb-src http://ftp.us.debian.org/debian stretch main contrib'
  500. +++ temp_='deb-src http://ftp.us.debian.org/debian stretch main contrib'
  501. +++ read deb_ uri_ distri_ component_ _
  502. +++ whonix_build_apt_stable_release=stretch
  503. +++ true 'whonix_build_apt_stable_release : stretch'
  504. +++ '[' '' = '' ']'
  505. ++++ grep --invert-match '#' /home/user/Whonix/build_sources/debian_stable_current_clearnet.list
  506. +++ temp_='
  507.  
  508.  
  509.  
  510. deb http://security.debian.org stretch/updates main contrib
  511. deb-src http://security.debian.org stretch/updates main contrib
  512.  
  513. deb http://ftp.us.debian.org/debian stretch-backports main contrib
  514. deb-src http://ftp.us.debian.org/debian stretch-backports main contrib
  515.  
  516. deb http://ftp.us.debian.org/debian stretch main contrib
  517. deb-src http://ftp.us.debian.org/debian stretch main contrib'
  518. ++++ grep deb
  519. ++++ echo '
  520.  
  521.  
  522.  
  523. deb http://security.debian.org stretch/updates main contrib
  524. deb-src http://security.debian.org stretch/updates main contrib
  525.  
  526. deb http://ftp.us.debian.org/debian stretch-backports main contrib
  527. deb-src http://ftp.us.debian.org/debian stretch-backports main contrib
  528.  
  529. deb http://ftp.us.debian.org/debian stretch main contrib
  530. deb-src http://ftp.us.debian.org/debian stretch main contrib'
  531. +++ temp_='deb http://security.debian.org stretch/updates main contrib
  532. deb-src http://security.debian.org stretch/updates main contrib
  533. deb http://ftp.us.debian.org/debian stretch-backports main contrib
  534. deb-src http://ftp.us.debian.org/debian stretch-backports main contrib
  535. deb http://ftp.us.debian.org/debian stretch main contrib
  536. deb-src http://ftp.us.debian.org/debian stretch main contrib'
  537. ++++ timeout 3 tail -1
  538. ++++ echo 'deb http://security.debian.org stretch/updates main contrib
  539. deb-src http://security.debian.org stretch/updates main contrib
  540. deb http://ftp.us.debian.org/debian stretch-backports main contrib
  541. deb-src http://ftp.us.debian.org/debian stretch-backports main contrib
  542. deb http://ftp.us.debian.org/debian stretch main contrib
  543. deb-src http://ftp.us.debian.org/debian stretch main contrib'
  544. +++ temp_='deb-src http://ftp.us.debian.org/debian stretch main contrib'
  545. +++ read deb_ uri_ distri_ component_ _
  546. ++++ sed 's|tor+||g'
  547. ++++ echo http://ftp.us.debian.org/debian
  548. +++ whonix_build_apt_sources_mirror=http://ftp.us.debian.org/debian
  549. +++ true 'whonix_build_apt_sources_mirror : http://ftp.us.debian.org/debian'
  550. +++ '[' '' = '' ']'
  551. ++++ grep --invert-match '#' /home/user/Whonix/build_sources/debian_testing_current_clearnet.list
  552. +++ temp_='
  553.  
  554.  
  555.  
  556. deb http://security.debian.org buster/updates main contrib
  557. deb-src http://security.debian.org buster/updates main contrib
  558.  
  559. deb http://ftp.us.debian.org/debian buster main contrib
  560. deb-src http://ftp.us.debian.org/debian buster main contrib'
  561. ++++ grep deb
  562. ++++ echo '
  563.  
  564.  
  565.  
  566. deb http://security.debian.org buster/updates main contrib
  567. deb-src http://security.debian.org buster/updates main contrib
  568.  
  569. deb http://ftp.us.debian.org/debian buster main contrib
  570. deb-src http://ftp.us.debian.org/debian buster main contrib'
  571. +++ temp_='deb http://security.debian.org buster/updates main contrib
  572. deb-src http://security.debian.org buster/updates main contrib
  573. deb http://ftp.us.debian.org/debian buster main contrib
  574. deb-src http://ftp.us.debian.org/debian buster main contrib'
  575. ++++ timeout 3 tail -1
  576. ++++ echo 'deb http://security.debian.org buster/updates main contrib
  577. deb-src http://security.debian.org buster/updates main contrib
  578. deb http://ftp.us.debian.org/debian buster main contrib
  579. deb-src http://ftp.us.debian.org/debian buster main contrib'
  580. +++ temp_='deb-src http://ftp.us.debian.org/debian buster main contrib'
  581. +++ read deb_ uri_ distri_ component_ _
  582. +++ whonix_build_apt_newer_release_codename=buster
  583. +++ true 'whonix_build_apt_newer_release_codename: buster'
  584. ++ for i in "$1/"*".conf"
  585. ++ bash -n /home/user/Whonix/buildconfig.d/30_custom_configs_help.conf
  586. ++ source /home/user/Whonix/buildconfig.d/30_custom_configs_help.conf
  587. ++ for i in "$1/"*".conf"
  588. ++ bash -n /home/user/Whonix/buildconfig.d/30_debchange.conf
  589. ++ source /home/user/Whonix/buildconfig.d/30_debchange.conf
  590. ++ for i in "$1/"*".conf"
  591. ++ bash -n /home/user/Whonix/buildconfig.d/30_dependencies.conf
  592. ++ source /home/user/Whonix/buildconfig.d/30_dependencies.conf
  593. +++ whonix_build_script_build_dependency+=' sudo '
  594. +++ whonix_build_script_build_dependency+=' ruby-ronn '
  595. +++ whonix_build_script_build_dependency+=' diffutils '
  596. +++ whonix_build_script_build_dependency+=' debhelper '
  597. +++ whonix_build_script_build_dependency+=' dialog '
  598. +++ whonix_build_script_build_dependency+=' haveged '
  599. +++ whonix_build_script_build_dependency+=' devscripts '
  600. +++ whonix_build_script_build_dependency+=' git '
  601. +++ whonix_build_script_build_dependency+=' reprepro '
  602. +++ whonix_build_script_build_dependency+=' libfile-fcntllock-perl '
  603. +++ whonix_build_script_build_dependency+=' config-package-dev '
  604. +++ whonix_build_script_build_dependency+=' dh-apparmor '
  605. +++ whonix_build_script_build_dependency+=' dh-systemd '
  606. +++ whonix_build_script_build_dependency+=' dh-python '
  607. +++ whonix_build_script_build_dependency+=' build-essential '
  608. +++ whonix_build_script_build_dependency+=' lintian '
  609. +++ whonix_build_script_build_dependency+=' gawk '
  610. +++ whonix_build_script_build_dependency+=' bash-completion '
  611. +++ whonix_build_script_build_dependency+=' grep '
  612. +++ whonix_build_script_build_dependency+=' debian-archive-keyring '
  613. +++ whonix_build_script_build_dependency+=' vbindiff '
  614. +++ whonix_build_script_build_dependency+=' lsb-release '
  615. +++ whonix_build_script_build_dependency+=' pv '
  616. +++ whonix_build_script_build_dependency+=' python-all-dev '
  617. +++ whonix_build_script_build_dependency+=' python-stdeb '
  618. +++ whonix_build_script_build_dependency+=' time '
  619. +++ whonix_build_script_build_dependency+=' cowbuilder '
  620. +++ whonix_build_script_build_dependency+=' strip-nondeterminism '
  621. +++ whonix_build_script_build_dependency+=' mktorrent '
  622. +++ whonix_build_script_build_dependency+=' apt-transport-tor '
  623. +++ whonix_build_script_build_dependency+=' python '
  624. +++ whonix_build_script_build_dependency+=' gnupg2 '
  625. ++ for i in "$1/"*".conf"
  626. ++ bash -n /home/user/Whonix/buildconfig.d/30_pkg_build_opts.conf
  627. ++ source /home/user/Whonix/buildconfig.d/30_pkg_build_opts.conf
  628. +++ '[' -n '' ']'
  629. +++ make_use_lintian=true
  630. +++ '[' -n '' ']'
  631. +++ genmkfile_make_cmd=deb-pkg
  632. +++ '[' -n '' ']'
  633. +++ make_use_cowbuilder=true
  634. ++ for i in "$1/"*".conf"
  635. ++ bash -n /home/user/Whonix/buildconfig.d/30_skip_backup-raw-after-grml-debootstrap.conf
  636. ++ source /home/user/Whonix/buildconfig.d/30_skip_backup-raw-after-grml-debootstrap.conf
  637. +++ export 'SKIP_SCRIPTS+= 1400_backup-raw-after-grml-debootstrap '
  638. +++ SKIP_SCRIPTS+=' 1400_backup-raw-after-grml-debootstrap '
  639. ++ for i in "$1/"*".conf"
  640. ++ bash -n /home/user/Whonix/buildconfig.d/30_skip_backup-raw-after-meta-package-install.conf
  641. ++ source /home/user/Whonix/buildconfig.d/30_skip_backup-raw-after-meta-package-install.conf
  642. +++ export 'SKIP_SCRIPTS+= 1800_backup-raw-after-package-install '
  643. +++ SKIP_SCRIPTS+=' 1800_backup-raw-after-package-install '
  644. ++ for i in "$1/"*".conf"
  645. ++ bash -n /home/user/Whonix/buildconfig.d/30_skip_export-vbox-vm.conf
  646. ++ source /home/user/Whonix/buildconfig.d/30_skip_export-vbox-vm.conf
  647. ++ for i in "$1/"*".conf"
  648. ++ bash -n /home/user/Whonix/buildconfig.d/30_skip_packages.conf
  649. ++ source /home/user/Whonix/buildconfig.d/30_skip_packages.conf
  650. ++ for i in "$1/"*".conf"
  651. ++ bash -n /home/user/Whonix/buildconfig.d/30_skip_report.conf
  652. ++ source /home/user/Whonix/buildconfig.d/30_skip_report.conf
  653. ++ for i in "$1/"*".conf"
  654. ++ bash -n /home/user/Whonix/buildconfig.d/30_skip_sanity_checks.conf
  655. ++ source /home/user/Whonix/buildconfig.d/30_skip_sanity_checks.conf
  656. ++ for i in "$1/"*".conf"
  657. ++ bash -n /home/user/Whonix/buildconfig.d/30_target_arch.conf
  658. ++ source /home/user/Whonix/buildconfig.d/30_target_arch.conf
  659. ++ for i in "$1/"*".conf"
  660. ++ bash -n /home/user/Whonix/buildconfig.d/30_trust.conf
  661. ++ source /home/user/Whonix/buildconfig.d/30_trust.conf
  662. ++ for i in "$1/"*".conf"
  663. ++ bash -n /home/user/Whonix/buildconfig.d/30_upgrade_build_machine.conf
  664. ++ source /home/user/Whonix/buildconfig.d/30_upgrade_build_machine.conf
  665. +++ '[' '' = '' ']'
  666. +++ export WHONIX_BUILD_UPGRADE_BUILD_MACHINE=0
  667. +++ WHONIX_BUILD_UPGRADE_BUILD_MACHINE=0
  668. +++ '[' '' = '' ']'
  669. +++ export WHONIX_BUILD_UNATTENDED_PKG_INSTALL=1
  670. +++ WHONIX_BUILD_UNATTENDED_PKG_INSTALL=1
  671. ++ for i in "$1/"*".conf"
  672. ++ bash -n /home/user/Whonix/buildconfig.d/30_verifiable.conf
  673. ++ source /home/user/Whonix/buildconfig.d/30_verifiable.conf
  674. ++ for whonix_build_config_dir in $whonix_build_config_dirs
  675. ++ whonix_build_source_config_dir /etc/whonix_buildconfig.d
  676. ++ true 'INFO: Checking if whonix_build_config_dir /etc/whonix_buildconfig.d exists...'
  677. ++ '[' -d /etc/whonix_buildconfig.d ']'
  678. ++ true 'INFO: Skipping /etc/whonix_buildconfig.d because it does not exist.'
  679. ++ for whonix_build_config_dir in $whonix_build_config_dirs
  680. ++ whonix_build_source_config_dir ../buildconfig.d
  681. ++ true 'INFO: Checking if whonix_build_config_dir ../buildconfig.d exists...'
  682. ++ '[' -d ../buildconfig.d ']'
  683. ++ true 'INFO: Skipping ../buildconfig.d because it does not exist.'
  684. ++ '[' '!' '' = '' ']'
  685. ++ '[' '!' '' = '' ']'
  686. ++ export make_use_lintian
  687. ++ export genmkfile_make_cmd
  688. ++ export make_use_cowbuilder
  689. ++ export make_use_debsign
  690. ++ '[' -n '' ']'
  691. ++ gpg_bin=gpg
  692. ++ '[' -n '' ']'
  693. ++ DEBFULLNAME='Whonix auto generated local APT signing key'
  694. ++ export DEBFULLNAME
  695. ++ '[' -n '' ']'
  696. ++ DEBEMAIL=whonix@local-signing.key
  697. ++ export DEBEMAIL
  698. ++ '[' -n '' ']'
  699. ++ DEBUILD_LINTIAN_OPTS='--quiet --pedantic --info --display-info'
  700. ++ export DEBUILD_LINTIAN_OPTS
  701. ++ '[' -n '' ']'
  702. ++ WHONIX_BUILD_SIGN_LOCAL_REPOSITORY=false
  703. ++ '[' false = true ']'
  704. ++ '[' false = true ']'
  705. ++ '[' -n '' ']'
  706. ++ make_use_debsign=false
  707. ++ '[' -n '' ']'
  708. ++ WHONIX_BUILD_APT_CODENAME=local
  709. ++ export WHONIX_BUILD_APT_CODENAME
  710. ++ '[' -n amd64 ']'
  711. ++ export BUILD_TARGET_ARCH
  712. ++ '[' -n '' ']'
  713. ++ whonix_build_file_system=ext4
  714. ++ '[' -n '' ']'
  715. ++ whonix_build_hostname=host
  716. ++ '[' -n '' ']'
  717. ++ whonix_build_os_password=changeme
  718. ++ whonix_build_debopt+=' --verbose '
  719. ++ whonix_build_debopt+=' --include='
  720. +++ grep --invert-match '#' /home/user/Whonix/grml_packages
  721. ++ for grml_package in $(grep --invert-match "#" "$WHONIX_SOURCE_FOLDER/grml_packages")
  722. ++ '[' locales = locales ']'
  723. ++ continue
  724. ++ for grml_package in $(grep --invert-match "#" "$WHONIX_SOURCE_FOLDER/grml_packages")
  725. ++ '[' locales = initramfs-tools ']'
  726. ++ whonix_build_debopt+=initramfs-tools
  727. ++ whonix_build_debopt+=,
  728. ++ for grml_package in $(grep --invert-match "#" "$WHONIX_SOURCE_FOLDER/grml_packages")
  729. ++ '[' locales = grub-pc ']'
  730. ++ whonix_build_debopt+=grub-pc
  731. ++ whonix_build_debopt+=,
  732. ++ for grml_package in $(grep --invert-match "#" "$WHONIX_SOURCE_FOLDER/grml_packages")
  733. ++ '[' locales = eatmydata ']'
  734. ++ whonix_build_debopt+=eatmydata
  735. ++ whonix_build_debopt+=,
  736. ++ for grml_package in $(grep --invert-match "#" "$WHONIX_SOURCE_FOLDER/grml_packages")
  737. ++ '[' locales = apt-transport-tor ']'
  738. ++ whonix_build_debopt+=apt-transport-tor
  739. ++ whonix_build_debopt+=,
  740. ++ for grml_package in $(grep --invert-match "#" "$WHONIX_SOURCE_FOLDER/grml_packages")
  741. ++ '[' locales = python ']'
  742. ++ whonix_build_debopt+=python
  743. ++ whonix_build_debopt+=,
  744. ++ whonix_build_debopt=' --verbose --include=initramfs-tools,grub-pc,eatmydata,apt-transport-tor,python'
  745. ++ whonix_build_pbuilder_chroot_script=/home/user/Whonix/help-steps/pbuilder-chroot-script
  746. ++ whonix_build_pbuilder_config_file=/home/user/whonix_binary/pbuilder.conf
  747. ++ rm --force /home/user/whonix_binary/pbuilder.conf
  748. ++ sudo --non-interactive -u user mkdir --parents /home/user/whonix_binary/
  749. ++ sudo --non-interactive -u user tee /home/user/whonix_binary/pbuilder.conf
  750. ++ echo '## This is an auto generated file.
  751. ## Auto generated by /home/user/Whonix/help-steps/variables.
  752. ## Edits will be lost!
  753.  
  754. ## Debugging.
  755. #set -x
  756.  
  757. APTGETOPT[${#APTGETOPT[@]}]="-o Acquire::Retries=3"
  758.  
  759. APTGETOPT[${#APTGETOPT[@]}]="-o Acquire::BlockDotOnion=false"
  760.  
  761. ## Debugging.
  762. true "APTGETOPT: ${APTGETOPT[@]}"
  763.  
  764. ## End of /home/user/whonix_binary/pbuilder.conf.
  765. '
  766. ++ export APTGETOPT
  767. +++ basename ././build-steps.d/1100_prepare-build-machine
  768. ++ own_filename=1100_prepare-build-machine
  769. ++ for skip_script in $SKIP_SCRIPTS
  770. ++ '[' 1100_prepare-build-machine = 1400_backup-raw-after-grml-debootstrap ']'
  771. ++ for skip_script in $SKIP_SCRIPTS
  772. ++ '[' 1100_prepare-build-machine = 1800_backup-raw-after-package-install ']'
  773. ++ unset skip_script
  774. ++ set -x
  775. ++ true 'INFO: Currently running script: ././build-steps.d/1100_prepare-build-machine '
  776. ++ true 'INFO: LD_PRELOAD: '
  777. + true 'INFO ././build-steps.d/1100_prepare-build-machine: END sourcing variables.'
  778. + unset whonix_build_no_unset_xtrace
  779. + unset no_git
  780. + unset whonix_build_on_operating_system_detect_skip
  781. + main
  782. + build_machine_setup
  783. + root_check
  784. ++ id -u
  785. + '[' 0 '!=' 0 ']'
  786. + true 'INFO: Script running as root.'
  787. + signing_key
  788. + true 'INFO: GPG_AGENT_INFO: '
  789. + '[' false = false ']'
  790. + true
  791. + '[' '' = true ']'
  792. + '[' '' = 1 ']'
  793. + true 'INFO: PWD: /home/user/Whonix '
  794. ++ stat -c %U ././build-steps.d/1100_prepare-build-machine
  795. + stat_output_owner=user
  796. ++ stat -c %G ././build-steps.d/1100_prepare-build-machine
  797. + stat_output_group=user
  798. + '[' user = root ']'
  799. + '[' user = root ']'
  800. + local id_exit_code
  801. + id_exit_code=0
  802. + id user
  803. uid=1000(user) gid=1000(user) groups=1000(user),24(cdrom),25(floppy),27(sudo),29(audio),30(dip),44(video),46(plugdev),108(netdev)
  804. + '[' 0 = 1 ']'
  805. + '[' 0 = 0 ']'
  806. + true 'INFO: Not creating user "user" with password "changeme", because it already exists.'
  807. + addgroup user sudo
  808. The user `user' is already a member of `sudo'.
  809. + '[' '!' 1 = 1 ']'
  810. + apt-get -o Acquire::Retries=3 --yes install git time
  811. Reading package lists... Done
  812. Building dependency tree
  813. Reading state information... Done
  814. git is already the newest version (1:2.11.0-3+deb9u3).
  815. The following NEW packages will be installed:
  816. time
  817. 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  818. Need to get 31.6 kB of archives.
  819. After this operation, 84.0 kB of additional disk space will be used.
  820. Get:1 http://ftp.us.debian.org/debian stretch/main amd64 time amd64 1.7-25.1+b1 [31.6 kB]
  821. Fetched 31.6 kB in 1s (22.0 kB/s)
  822. Selecting previously unselected package time.
  823. (Reading database ... 22331 files and directories currently installed.)
  824. Preparing to unpack .../time_1.7-25.1+b1_amd64.deb ...
  825. Unpacking time (1.7-25.1+b1) ...
  826. Setting up time (1.7-25.1+b1) ...
  827. + true 'INFO: Benchmarking "sudo $SUDO_OPTS echo "This is a test echo." using "time"...'
  828. + sudo --non-interactive -u user echo 'This is a test echo.'
  829. This is a test echo.
  830.  
  831. real 0m0.005s
  832. user 0m0.000s
  833. sys 0m0.000s
  834. + true 'INFO: Updating git sub modules...'
  835. + sudo --non-interactive -u user git submodule sync --recursive
  836. Synchronizing submodule url for 'packages/anon-apps-config'
  837. Synchronizing submodule url for 'packages/anon-apt-sources-list'
  838. Synchronizing submodule url for 'packages/anon-base-files'
  839. Synchronizing submodule url for 'packages/anon-connection-wizard'
  840. Synchronizing submodule url for 'packages/anon-gpg-tweaks'
  841. Synchronizing submodule url for 'packages/anon-gw-anonymizer-config'
  842. Synchronizing submodule url for 'packages/anon-gw-base-files'
  843. Synchronizing submodule url for 'packages/anon-gw-dhcp-conf'
  844. Synchronizing submodule url for 'packages/anon-gw-dns-conf'
  845. Synchronizing submodule url for 'packages/anon-gw-leaktest'
  846. Synchronizing submodule url for 'packages/anon-iceweasel-warning'
  847. Synchronizing submodule url for 'packages/anon-icon-pack'
  848. Synchronizing submodule url for 'packages/anon-meta-packages'
  849. Synchronizing submodule url for 'packages/anon-mixmaster'
  850. Synchronizing submodule url for 'packages/anon-shared-build-apt-sources-tpo'
  851. Synchronizing submodule url for 'packages/anon-shared-helper-scripts'
  852. Synchronizing submodule url for 'packages/anon-torchat'
  853. Synchronizing submodule url for 'packages/anon-ws-base-files'
  854. Synchronizing submodule url for 'packages/anon-ws-disable-stacked-tor'
  855. Synchronizing submodule url for 'packages/anon-ws-dns-conf'
  856. Synchronizing submodule url for 'packages/anon-ws-leaktest'
  857. Synchronizing submodule url for 'packages/apparmor-profile-anondist'
  858. Synchronizing submodule url for 'packages/apparmor-profile-gwenview'
  859. Synchronizing submodule url for 'packages/apparmor-profile-icedove'
  860. Synchronizing submodule url for 'packages/apparmor-profile-okular'
  861. Synchronizing submodule url for 'packages/apparmor-profile-torbrowser'
  862. Synchronizing submodule url for 'packages/apparmor-profile-virtualbox'
  863. Synchronizing submodule url for 'packages/apparmor-profile-xchat'
  864. Synchronizing submodule url for 'packages/bindp'
  865. Synchronizing submodule url for 'packages/bootclockrandomization'
  866. Synchronizing submodule url for 'packages/corridor'
  867. Synchronizing submodule url for 'packages/curl-scripts'
  868. Synchronizing submodule url for 'packages/damngpl'
  869. Synchronizing submodule url for 'packages/genmkfile'
  870. Synchronizing submodule url for 'packages/gpg-bash-lib'
  871. Synchronizing submodule url for 'packages/gpl-sources-download'
  872. Synchronizing submodule url for 'packages/grub-enable-apparmor'
  873. Synchronizing submodule url for 'packages/grub-live'
  874. Synchronizing submodule url for 'packages/grub-output-verbose'
  875. Synchronizing submodule url for 'packages/grub-screen-resolution'
  876. Synchronizing submodule url for 'packages/ipv4-forward-disable'
  877. Synchronizing submodule url for 'packages/ipv6-disable'
  878. Synchronizing submodule url for 'packages/msgcollector'
  879. Synchronizing submodule url for 'packages/onion-grater'
  880. Synchronizing submodule url for 'packages/open-link-confirmation'
  881. Synchronizing submodule url for 'packages/power-savings-disable-in-vms'
  882. Synchronizing submodule url for 'packages/python-guimessages'
  883. Synchronizing submodule url for 'packages/qubes-whonix'
  884. Synchronizing submodule url for 'packages/qxl-xorg-enhance'
  885. Synchronizing submodule url for 'packages/rads'
  886. Synchronizing submodule url for 'packages/ro-mode-init'
  887. Synchronizing submodule url for 'packages/scurl'
  888. Synchronizing submodule url for 'packages/sdwdate'
  889. Synchronizing submodule url for 'packages/sdwdate-gui'
  890. Synchronizing submodule url for 'packages/security-misc'
  891. Synchronizing submodule url for 'packages/shared-folder-help'
  892. Synchronizing submodule url for 'packages/swap-file-creator'
  893. Synchronizing submodule url for 'packages/swappiness-lowest'
  894. Synchronizing submodule url for 'packages/tb-default-browser'
  895. Synchronizing submodule url for 'packages/tb-starter'
  896. Synchronizing submodule url for 'packages/tb-updater'
  897. Synchronizing submodule url for 'packages/timesanitycheck'
  898. Synchronizing submodule url for 'packages/timezone-utc'
  899. Synchronizing submodule url for 'packages/tor-control-panel'
  900. Synchronizing submodule url for 'packages/tor-ctrl'
  901. Synchronizing submodule url for 'packages/usability-misc'
  902. Synchronizing submodule url for 'packages/uwt'
  903. Synchronizing submodule url for 'packages/vbox-disable-timesync'
  904. Synchronizing submodule url for 'packages/whonix-base-files'
  905. Synchronizing submodule url for 'packages/whonix-developer-meta-files'
  906. Synchronizing submodule url for 'packages/whonix-firewall'
  907. Synchronizing submodule url for 'packages/whonix-gw-desktop-shortcuts'
  908. Synchronizing submodule url for 'packages/whonix-gw-kde-desktop-conf'
  909. Synchronizing submodule url for 'packages/whonix-gw-network-conf'
  910. Synchronizing submodule url for 'packages/whonix-host-firewall'
  911. Synchronizing submodule url for 'packages/whonix-initializer'
  912. Synchronizing submodule url for 'packages/whonix-legacy'
  913. Synchronizing submodule url for 'packages/whonix-libvirt'
  914. Synchronizing submodule url for 'packages/whonix-repository'
  915. Synchronizing submodule url for 'packages/whonix-setup-wizard'
  916. Synchronizing submodule url for 'packages/whonix-welcome-page'
  917. Synchronizing submodule url for 'packages/whonix-ws-desktop-shortcuts'
  918. Synchronizing submodule url for 'packages/whonix-ws-irc-chat-support'
  919. Synchronizing submodule url for 'packages/whonix-ws-kde-desktop-conf'
  920. Synchronizing submodule url for 'packages/whonix-ws-network-conf'
  921. Synchronizing submodule url for 'packages/whonix-ws-start-menu-additions'
  922. Synchronizing submodule url for 'packages/whonixcheck'
  923. Synchronizing submodule url for 'packages/whonixsetup'
  924. Synchronizing submodule url for 'packages/xchat-improved-privacy'
  925. + sudo --non-interactive -u user git submodule update --init --recursive --jobs=200
  926. + true 'INFO: Updated git sub modules.'
  927. + /home/user/Whonix/packages/security-misc//usr/lib/security-misc/apt-get-wrapper -o Acquire::Retries=3 update
  928. /home/user/Whonix/packages/security-misc//usr/lib/security-misc/apt-get-wrapper: line 28: python: command not found
  929. Get:1 http://security.debian.org/debian-security stretch/updates InRelease [94.3 kB]
  930. Ign:2 http://ftp.us.debian.org/debian stretch InRelease
  931. Get:3 http://security.debian.org stretch/updates InRelease [94.3 kB]
  932. Hit:4 http://ftp.us.debian.org/debian stretch Release
  933. Get:5 http://security.debian.org/debian-security stretch/updates/main Sources [151 kB]
  934. Get:6 http://security.debian.org/debian-security stretch/updates/main amd64 Packages [375 kB]
  935. Get:7 http://security.debian.org stretch/updates/main amd64 Packages [375 kB]
  936. Fetched 1090 kB in 0s (1209 kB/s)
  937. Reading package lists...
  938. ++ errorhandlergeneral ERR
  939. ++ last_failed_exit_code=127
  940. ++ last_failed_bash_command='$apt_get_update_wrapper_source_path_full ${APTGETOPT[@]} update'
  941. ++ output_cmd_set
  942. ++ '[' -o xtrace ']'
  943. ++ output_cmd=true
  944. ++ true 'INFO: Middle of function errorhandlergeneral of ././build-steps.d/1100_prepare-build-machine.'
  945. ++ errorhandlerprocessshared ERR
  946. ++ last_script=././build-steps.d/1100_prepare-build-machine
  947. ++ trap_signal_type_previous=
  948. ++ '[' '' = '' ']'
  949. ++ trap_signal_type_previous=unset
  950. ++ trap_signal_type_last=ERR
  951. ++ whonix_build_error_counter=1
  952. +++ benchmarktimeend 1532683133
  953. ++++ date +%s
  954. +++ benchmarktimeend=1532683139
  955. +++ benchmark_took_seconds=6
  956. ++++ convertsecs 6
  957. ++++ local h m s
  958. ++++ (( h=6/3600 ))
  959. ++++ true
  960. ++++ (( m=(6%3600)/60 ))
  961. ++++ true
  962. ++++ (( s=6%60 ))
  963. ++++ printf '%02d:%02d:%02d\n' 0 0 6
  964. +++ echo 00:00:06
  965. ++ benchmark_took_time=00:00:06
  966. ++ processbacktracefunction
  967. ++ true 'INFO: BEGIN: processbacktracefunction'
  968. ++ '[' -o xtrace ']'
  969. ++ set +x
  970. ++ true 'INFO: END : processbacktracefunction'
  971. ++ functiontracefunction
  972. ++ true 'INFO: BEGIN: functiontracefunction'
  973. ++ '[' -o xtrace ']'
  974. ++ set +x
  975. ++ true 'INFO: END : functiontracefunction'
  976. ++ output_cmd_set
  977. ++ '[' -o xtrace ']'
  978. ++ output_cmd=true
  979. ++ true '
  980. ############################################################
  981. ERROR in ././build-steps.d/1100_prepare-build-machine detected!
  982. anon_dist_build_version:
  983. (whonix_build_error_counter: 1)
  984. (benchmark: 00:00:06)
  985. trap_signal_type_previous: unset
  986. trap_signal_type_last : ERR
  987. process_backtrace_result:
  988. 1: : /sbin/init
  989. 2: : /usr/sbin/sshd -D
  990. 3: : sshd: user [priv]
  991. 4: : sshd: user@pts/0
  992. 5: : -bash
  993. 6: : sudo ./whonix_build --flavor whonix-gateway --target root --build
  994. 7: : /bin/bash ./whonix_build --flavor whonix-gateway --target root --build
  995. 8: : /bin/bash ././build-steps.d/1100_prepare-build-machine
  996. function_trace_result:
  997. main (line number: 418)
  998. main (line number: 413)
  999. build_machine_setup (line number: 264)
  1000. errorhandlergeneral (line number: 334)
  1001. errorhandlerprocessshared (line number: 169)
  1002. last_failed_bash_command: $apt_get_update_wrapper_source_path_full ${APTGETOPT[@]} update
  1003. last_failed_exit_code: 127
  1004. ERROR in ././build-steps.d/1100_prepare-build-machine detected!
  1005. ############################################################
  1006. '
  1007. ++ '[' ERR = INT ']'
  1008. ++ '[' ERR = TERM ']'
  1009. ++ '[' ERR = ERR ']'
  1010. ++ true 'INFO: trap_signal_type_last: ERR, considering auto retry...'
  1011. ++ '[' '!' 1 = 0 ']'
  1012. ++ '[' '' = '' ']'
  1013. ++ whonix_build_auto_retry_counter=1
  1014. ++ '[' -n 1 ']'
  1015. ++ '[' -n 5 ']'
  1016. ++ local first
  1017. ++ read -r first _
  1018. ++ '[' '$apt_get_update_wrapper_source_path_full' = error_ ']'
  1019. ++ '[' 1 -gt 1 ']'
  1020. ++ true 'INFO: Auto retry attempt number: 1. Max retry attempts: 1 (--retry-max). Auto retry... '
  1021. ++ whonix_build_auto_retry_counter=2
  1022. ++ '[' '!' 5 = 0 ']'
  1023. ++ true 'INFO: Waiting (--retry-wait) 5 seconds before auto retry... '
  1024. ++ wait 5168
  1025. ++ sleep 5
  1026. ++ ignore_error=true
  1027. ++ error_handler_do_retry=true
  1028. ++ errorhandlerretry
  1029. ++ '[' '!' '' = '' ']'
  1030. ++ true 'INFO: Skipping whonix_build_dispatch_before_retry (--retry-before), because empty, ok.'
  1031. ++ true 'INFO: Retrying last_failed_bash_command...: $apt_get_update_wrapper_source_path_full ${APTGETOPT[@]} update '
  1032. ++ retry_last_failed_bash_command_exit_code=0
  1033. ++ eval '$apt_get_update_wrapper_source_path_full' update
  1034. +++ /home/user/Whonix/packages/security-misc//usr/lib/security-misc/apt-get-wrapper update
  1035. /home/user/Whonix/packages/security-misc//usr/lib/security-misc/apt-get-wrapper: line 28: python: command not found
  1036. Hit:1 http://security.debian.org/debian-security stretch/updates InRelease
  1037. Hit:2 http://security.debian.org stretch/updates InRelease
  1038. Ign:3 http://ftp.us.debian.org/debian stretch InRelease
  1039. Hit:4 http://ftp.us.debian.org/debian stretch Release
  1040. Reading package lists...
  1041. ++ retry_last_failed_bash_command_exit_code=127
  1042. ++ true
  1043. ++ '[' 127 = 0 ']'
  1044. ++ true 'INFO: Retry failed. exit code of last_failed_bash_command: 127 '
  1045. ++ last_failed_exit_code=127
  1046. ++ last_failed_bash_command='$apt_get_update_wrapper_source_path_full ${APTGETOPT[@]} update'
  1047. ++ '[' '!' '' = '' ']'
  1048. ++ true 'INFO: Skipping whonix_build_dispatch_after_retry (--retry-after), because empty, ok.'
  1049. ++ '[' 127 = 0 ']'
  1050. ++ errorhandlerprocessshared 'NONE_(called_by_errorhandlerretry)'
  1051. ++ last_script=././build-steps.d/1100_prepare-build-machine
  1052. ++ trap_signal_type_previous=ERR
  1053. ++ '[' ERR = '' ']'
  1054. ++ trap_signal_type_last='NONE_(called_by_errorhandlerretry)'
  1055. ++ whonix_build_error_counter=2
  1056. +++ benchmarktimeend 1532683133
  1057. ++++ date +%s
  1058. +++ benchmarktimeend=1532683146
  1059. +++ benchmark_took_seconds=13
  1060. ++++ convertsecs 13
  1061. ++++ local h m s
  1062. ++++ (( h=13/3600 ))
  1063. ++++ true
  1064. ++++ (( m=(13%3600)/60 ))
  1065. ++++ true
  1066. ++++ (( s=13%60 ))
  1067. ++++ printf '%02d:%02d:%02d\n' 0 0 13
  1068. +++ echo 00:00:13
  1069. ++ benchmark_took_time=00:00:13
  1070. ++ processbacktracefunction
  1071. ++ true 'INFO: BEGIN: processbacktracefunction'
  1072. ++ '[' -o xtrace ']'
  1073. ++ set +x
  1074. ++ true 'INFO: END : processbacktracefunction'
  1075. ++ functiontracefunction
  1076. ++ true 'INFO: BEGIN: functiontracefunction'
  1077. ++ '[' -o xtrace ']'
  1078. ++ set +x
  1079. ++ true 'INFO: END : functiontracefunction'
  1080. ++ output_cmd_set
  1081. ++ '[' -o xtrace ']'
  1082. ++ output_cmd=true
  1083. ++ true '
  1084. ############################################################
  1085. ERROR in ././build-steps.d/1100_prepare-build-machine detected!
  1086. anon_dist_build_version:
  1087. (whonix_build_error_counter: 2)
  1088. (benchmark: 00:00:13)
  1089. trap_signal_type_previous: ERR
  1090. trap_signal_type_last : NONE_(called_by_errorhandlerretry)
  1091. process_backtrace_result:
  1092. 1: : /sbin/init
  1093. 2: : /usr/sbin/sshd -D
  1094. 3: : sshd: user [priv]
  1095. 4: : sshd: user@pts/0
  1096. 5: : -bash
  1097. 6: : sudo ./whonix_build --flavor whonix-gateway --target root --build
  1098. 7: : /bin/bash ./whonix_build --flavor whonix-gateway --target root --build
  1099. 8: : /bin/bash ././build-steps.d/1100_prepare-build-machine
  1100. function_trace_result:
  1101. main (line number: 418)
  1102. main (line number: 413)
  1103. build_machine_setup (line number: 264)
  1104. errorhandlergeneral (line number: 334)
  1105. errorhandlerprocessshared (line number: 220)
  1106. errorhandlerretry (line number: 154)
  1107. errorhandlerprocessshared (line number: 169)
  1108. errorhandlerprocessshared (line number: 169)
  1109. errorhandlergeneral (line number: 334)
  1110. build_machine_setup (line number: 264)
  1111. main (line number: 413)
  1112. main (line number: 418)
  1113. last_failed_bash_command: $apt_get_update_wrapper_source_path_full ${APTGETOPT[@]} update
  1114. last_failed_exit_code: 127
  1115. ERROR in ././build-steps.d/1100_prepare-build-machine detected!
  1116. ############################################################
  1117. '
  1118. ++ '[' 'NONE_(called_by_errorhandlerretry)' = INT ']'
  1119. ++ '[' 'NONE_(called_by_errorhandlerretry)' = TERM ']'
  1120. ++ '[' 'NONE_(called_by_errorhandlerretry)' = ERR ']'
  1121. ++ '[' 'NONE_(called_by_errorhandlerretry)' = 'NONE_(called_by_errorhandlerretry)' ']'
  1122. ++ true 'INFO: trap_signal_type_last: NONE_(called_by_errorhandlerretry), considering auto retry...'
  1123. ++ '[' '!' 1 = 0 ']'
  1124. ++ '[' 2 = '' ']'
  1125. ++ '[' -n 1 ']'
  1126. ++ '[' -n 5 ']'
  1127. ++ local first
  1128. ++ read -r first _
  1129. ++ '[' '$apt_get_update_wrapper_source_path_full' = error_ ']'
  1130. ++ '[' 2 -gt 1 ']'
  1131. ++ true 'INFO: Auto retried (--retry-max) already 1 times. No more auto retry. '
  1132. ++ unset whonix_build_auto_retry_counter
  1133. ++ true
  1134. ++ ignore_error=false
  1135. ++ answer=
  1136. ++ '[' 'NONE_(called_by_errorhandlerretry)' = ERR ']'
  1137. ++ '[' 'NONE_(called_by_errorhandlerretry)' = 'NONE_(called_by_errorhandlerretry)' ']'
  1138. ++ true 'INFO: whonix_build_non_interactive: '
  1139. ++ '[' '' = true ']'
  1140. ++ '[' -t 0 ']'
  1141. ++ true 'INFO: stdin connected to terminal, using interactive error handler.'
  1142. ++ true ' ERROR in ././build-steps.d/1100_prepare-build-machine detected!
  1143. Please have a look above (the block within ###...), note the command that failed, last_failed_exit_code and its output (further above).
  1144. - Please enter c and press enter to ignore the error and continue building. (Recommended against!)
  1145. - Please press r and enter to retry.
  1146. - Please press s and enter to open an chroot interactive shell.
  1147. - Please press a and enter to abort.'
  1148. ++ read -p 'Answer? ' answer
  1149. Answer? a
  1150. ++ error_handler_do_retry=
  1151. ++ interactive_chroot_shell=
  1152. ++ '[' a = continue ']'
  1153. ++ '[' a = c ']'
  1154. ++ '[' a = s ']'
  1155. ++ '[' a = shell ']'
  1156. ++ '[' a = r ']'
  1157. ++ '[' a = retry ']'
  1158. ++ '[' a = a ']'
  1159. ++ ignore_error=false
  1160. ++ interactive_chroot_shell=false
  1161. ++ break
  1162. ++ return 0
  1163. ++ errorhandlermaybeexit ERR
  1164. ++ '[' '' = true ']'
  1165. ++ '[' false = true ']'
  1166. ++ abort_or_continue=Aborted
  1167. ++ rm --force /etc/apt/sources.list.d/whonix_temp.list
  1168. ++ rm --force /var/run/package_manager_lock
  1169. ++ '[' false = true ']'
  1170. ++ '[' 'NONE_(called_by_errorhandlerretry)' = INT ']'
  1171. ++ '[' 'NONE_(called_by_errorhandlerretry)' = TERM ']'
  1172. ++ trap - EXIT
  1173. ++ true 'INFO: Now exiting from ././build-steps.d/1100_prepare-build-machine (because error was detected, see above) with exit code 1.'
  1174. ++ exit 1
  1175. ++ error_handler_whonix_build_one
  1176. ++ true 'ERROR in ./whonix_build'
  1177. ++ true 'BASH_COMMAND: "./$whonix_build_one_build_step_current"'
  1178. ++ true 'whonix_build_one_build_step_current: ./build-steps.d/1100_prepare-build-machine'
  1179. ++ true 'args: --flavor whonix-gateway --target root --build'
  1180. ++ true 'INFO: Now exiting from ./whonix_build (because error was detected, see above).'
  1181. ++ exit 1
  1182. + exithandler
  1183. + local exit_code=1
  1184. + '[' '!' 1 = 0 ']'
  1185. + exit 1
  1186. user@host:~/Whonix$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement