Information
ID: 407
PHID: PHID-TASK-7c7hyihcrb3hisgulnwj
Author: Patrick
Status at Migration Time: resolved
Priority at Migration Time: High
Description
Excerpt.
make qubes-vm --debug=v
+ sudo -E chroot chroot-jessie su -p -c 'cd /home/user/qubes-src/template-whonix; NO_SIGN='\''1'\'' make -s rpms-vm' user
GNU Make 4.0
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Reading makefiles...
Reading makefile 'Makefile'...
Reading makefile '/home/user/qubes-src/template-whonix/components.conf' (search path) (don't care) (no ~ expansion)...
Updating goal targets....
Considering target file 'rpms-vm'.
File 'rpms-vm' does not exist.
Finished prerequisites of target file 'rpms-vm'.
Must remake target 'rpms-vm'.
make[1]: *** No rule to make target 'rpms-vm'. Stop.
+ BUILD_RETCODE=2
+ '[' 2 -gt 0 ']'
+ echo '--> build failed!'
--> build failed!
+ '[' -n '' ']'
+ exit 1
Makefile:193: recipe for target 'template-whonix-vm' failed
make: *** [template-whonix-vm] Error 1
user@host:~/qubes-builder
Comments
Patrick
2015-09-25 18:37:44 UTC
marmarek
2015-09-25 19:20:23 UTC
Patrick
2015-10-08 11:25:24 UTC
Patrick
2015-10-29 17:41:29 UTC
Got a #build issue with Qubes Builder.
make qubes-vm
DEBUG
Repo Variables
───────────────────────────────────────────────────────────────────────────────
SRC_DIR: qubes-src
CHROOT_DIR: /home/user/qubes-builder/chroot-jessie
CHROOT_REPO_DIR: chroot-debian
CHROOT_DEBIAN_DIR: /home/user/qubes-builder/chroot-jessie//
BUILDER_REPO_DIR: /home/user/qubes-builder/qubes-packages-mirror-repo/jessie
───────────────────────────────────────────────────────────────────────────────
Chroot Variables
───────────────────────────────────────────────────────────────────────────────
DIST_BUILD_DIR: /home/user
DIST_SRC:
DIST_SRC_DEBIAN_DIR: /
───────────────────────────────────────────────────────────────────────────────
Build Variables
───────────────────────────────────────────────────────────────────────────────
DEBIAN_PARSER: /home/user/qubes-builder/qubes-src/builder-debian//scripts/debian-parser
DEBIAN_PLUGIN_DIR: /home/user/qubes-builder/qubes-src/builder-debian/
OUTPUT_DIR: pkgs/jessie
PACKAGE_LIST:
DISTRIBUTION: debian
DIST: jessie
DEBIANVERSION: jessie
DEBIAN_DEPENDENCIES: dpkg-dev debootstrap
UPDATE_REPO:
REPO_SUFFIX:
DISTRIBUTION_CAP: Debian
REPO_PROXY: http://127.0.0.1:3142
APT_GET_OPTIONS: -o Acquire::http::Proxy=http://127.0.0.1:3142
CHROOT_ENV: BACKEND_VMM=xen
-> ERROR: Wrong branch (detached from 12.0.0.2.6-developers-only) (expected 12.0.0.2.6-developers-only)
Makefile:193: recipe for target 'Whonix-vm' failed
make: *** [Whonix-vm] Error 1
There is an empty Makefile.builder
now:
https://github.com/Whonix/Whonix/blob/12.0.0.2.6-developers-only/Makefile.builder
Building from QubesOS/qubes- Stable - Default Repo
.
Looks like two different issues here.
a) -> ERROR: Wrong branch (detached from 12.0.0.2.6-developers-only) (expected 12.0.0.2.6-developers-only
b) Makefile:193: recipe for target 'Whonix-vm' failed
Btw this is the last blocker before an #Whonix_12 RC.
Any idea how to fix @marmarek ?
marmarek
2015-10-29 22:32:30 UTC
Generally the message is because you have CHECK_BRANCH
safeguard
enabled. The easiest thing to do is to just disable it (unset in
builder.conf, or set to “0”).
It all looks like this safeguard doesn’t play nice when setting tag in
BRANCH setting. Do you need CHECK_BRANCH feature here? If so, I’ll fix
it, otherwise - add appropriate note to documentation.
Patrick
2015-10-29 22:47:00 UTC
marmarek (Marek Marczykowski-Górecki):
marmarek added a comment.
Generally the message is because you have CHECK_BRANCH
safeguard
enabled. The easiest thing to do is to just disable it (unset in
builder.conf, or set to “0”).
Ok.
It all looks like this safeguard doesn’t play nice when setting tag in
BRANCH setting. Do you need CHECK_BRANCH feature here? If so, I’ll fix
it, otherwise - add appropriate note to documentation.
I don’t urgently require it, but for high quality builds, I would be
glad if you could fix it.
marmarek
2015-10-29 23:05:45 UTC
Ok, fix in my repo
Patrick
2015-11-04 19:38:16 UTC
There is still an issue.
I guess the fix was this one:
Fix handling detached heads (tags) in CHECK_BRANCH feature · marmarek/qubes-builder@577b9fc · GitHub
fatal: no tag exactly matches '117fca6cc836ea5c8d2ea3f7e87611d2d83c1857'
-> ERROR: Wrong branch (expected 12.0.0.2.7-developers-only)
Makefile:193: recipe for target 'Whonix-vm' failed
make: *** [Whonix-vm] Error 1
Some debug output.
user@qubes-build:~/qubes-builder/qubes-src/Whonix$ git symbolic-ref --short HEAD
fatal: ref HEAD is not a symbolic ref
user@qubes-build:~/qubes-builder/qubes-src/Whonix$ git describe --tags --exact-match HEAD
fatal: no tag exactly matches '117fca6cc836ea5c8d2ea3f7e87611d2d83c1857'
user@qubes-build:~/qubes-builder/qubes-src/Whonix$ git describe
12.0.0.2.7-developers-only-1-g117fca6
I speculate, the problem is that make do-merge
creates a merge commit?
git log
commit 117fca6cc836ea5c8d2ea3f7e87611d2d83c1857
Merge: 67f8996 321c0ac
Author: Your Name <you@example.com>
Date: Wed Nov 4 00:33:28 2015 +0100
Merge tag '12.0.0.2.7-developers-only' of https://github.com/Whonix/Whonix into HEAD
.
# gpg: Signature made Wed 04 Nov 2015 12:22:32 AM CET using RSA key ID 77BB3C48
# gpg: Good signature from "Patrick Schleizer <adrelanos@riseup.net>
Would git merge
using --ff-only
in make do-merge
be a solution?
marmarek
2015-11-04 20:17:53 UTC
Patrick
2015-11-04 20:22:07 UTC
Patrick
2015-11-07 13:32:57 UTC