[HOME] [DOWNLOAD] [DOCS] [NEWS] [SUPPORT] [TIPS] [ISSUES] [DONATE]

Did something happen to the 9.2 repo?

I just started to do final testing on the Qubes build and all of a sudden I am now getting build errors which I was not getting a few days ago.

I am using [font=courier]9.2[/font], the latest tag available at [font=courier]https://github.com/Whonix/Whonix.git[/font]. There are o 9.3 or 9.4 tags there to build against.

I do not believe I have changed any code locally related to Whonix directly and have not changed the tag I am building against but am now getting this error:

+ for item in '$list'
+ '[' '!' -d /home/user/Whonix/packages/anon-gw-build-upgrade-tor ']'
+ cd /home/user/Whonix/packages/anon-gw-build-upgrade-tor
+ '[' '' = true ']'
+ sudo -E -u user make deb-pkg
sudo: unable to resolve host development-qubes
./make-helper.bsh deb-pkg 
+ '[' -f /usr/lib/pre.bsh ']'
+ set -e
+ set -o pipefail
+ cd .
+ mydir=anon-gw-build-upgrade-tor
+ parse_cmd deb-pkg
+ local matched=false
+ :
+ case $1 in
+ matched=true
+ deb=true
+ shift
+ :
+ case $1 in
+ break
+ '[' '!' true = true ']'
+ '[' true = true ']'
+ make_deb-pkg
+ debuild_maybe_unsigned_opts='-us -uc'
+ make_deb-pkg_helper
+ make_dist
+ get_variables
+ local temp
+ command -v dpkg-parsechangelog
+ OIFS=' 	
'
+ NIFS='
'
+ IFS='
'
++ dpkg-parsechangelog
+ for line in '$(dpkg-parsechangelog)'
+ IFS=' 	
'
+ read -r first second _
+ first=source:
+ '[' source: = version: ']'
+ for line in '$(dpkg-parsechangelog)'
+ IFS=' 	
'
+ read -r first second _
+ first=version:
+ '[' version: = version: ']'
+ changelog_version=3:0.3-1
+ revision=1
+ temp=3:0.3
+ version=0.3
+ epoch=3
+ break
+ IFS=' 	
'
+ '[' 0.3 = '' ']'
+ main_package_name=anon-gw-build-upgrade-tor
+ '[' anon-gw-build-upgrade-tor = '' ']'
+ main_deb_file=../anon-gw-build-upgrade-tor_0.3-1_all.deb
+ local grep_output line a package
++ grep Package: debian/control
+ grep_output='Package: anon-gw-build-upgrade-tor'
+ package_list=anon-gw-build-upgrade-tor
+ OIFS=' 	
'
+ NIFS='
'
+ IFS='
'
+ for line in '$grep_output'
+ IFS=' 	
'
+ read a package _
+ '[' anon-gw-build-upgrade-tor = anon-gw-build-upgrade-tor ']'
+ continue
+ IFS=' 	
'
+ shopt -s globstar dotglob
+ touch -t 201308151102.35 ./debian
+ touch -t 201308151102.35 ./debian/ ./debian/changelog ./debian/compat ./debian/control ./debian/copyright ./debian/gain-root-command ./debian/rules ./debian/source ./debian/source/format ./debian/watch
+ shopt -u globstar dotglob
+ rm --force ../anon-gw-build-upgrade-tor_0.3.orig.tar.gz
+ git archive --format=tar HEAD --prefix=anon-gw-build-upgrade-tor-0.3/
+ gzip -n
fatal: Not a git repository: /home/user/qubes-builder/qubes-src/Whonix/.git/modules/packages/anon-gw-build-upgrade-tor
make: *** [deb-pkg] Error 128
++ error_handler_general
++ error_handler_shared
++ last_exit_code=2
++ last_bash_command='sudo -E -u "$user_name" make deb-pkg'
++ '[' test -o xtrace = 0 ']'
++ set +x
ERROR in pre detected!
Please have a look above "error_handler_general", note the command that failed, its output and last_exit_code.
- Please enter c and press enter to ignore the error and continue building. (Recommended against!)
- Please press s and enter to open an chroot interactive shell.
- Please press enter to cleanup and exit. c
++ '[' false = true ']'
+++ caller
++ last_caller='128 pre'
++ last_script=pre
++ error_handler_exit
++ '[' true = true ']'
++ abort_or_continue=Continue
++ true '
############################################################
ERROR in pre detected! Continue!
(benchmark: 00:01:56)
BASH_COMMAND: sudo -E -u "$user_name" make deb-pkg
last_exit_code: 2
caller: 128 pre
ERROR in pre! Continue!
############################################################

Just now pushed the 9.3 (stable) and 9.4 (testers-only, probably soon stable). Should now be available.

[hr]

When you go into that anon-gw-build-upgrade-tor folder, you likely also would not be able to run “git status”. For some reason git is not in that folder or broken.

Dunno why this could happen. Never happened to me. Eventually an issue with file system permissions? Can you check “sudo ls -la” in that folder? Perhaps the Qubes script and/or Whonix build script messed up permissions or did run stuff under the wrong user?

What does “git status” in the main source folder say?

The easiest would be to delete that folder.

Then get that submodule again.

[Imprint] [Privacy Policy] [Cookie Policy] [Terms of Use] [E-Sign Consent] [DMCA] [Investors] [Priority Support] [Professional Support]