New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CentOS template build fails for module app-linux-input-proxy #3921

Closed
misterzed88 opened this Issue May 23, 2018 · 0 comments

Comments

Projects
None yet
3 participants
@misterzed88

Qubes OS version:

R4.0

Affected component(s):

qubes-builder-rpm


Steps to reproduce the behavior:

Following the instructions in https://www.qubes-os.org/doc/building-archlinux-template:

  1. Using the Fedora 26 template when setting up the builder VM.
  2. Creating a builder.conf using the 'setup' script, with the following options:
  • 'Build templates only' enabled
  • 'mgmt-salt' disabled
  • 'builder-rpm' enabled
  • 'centos-7' being the only selected template
  1. Downloading sources with make get-sources
  2. Running build with make qubes-vm
  3. Creating template with make template
  4. The template creation fails with the following error message:
    error: File /home/user/qubes-src/app-linux-input-proxy/qubes-input-proxy-1.0.11.tar.gz: No such file or directory

General notes:

The problem is due to scripts/query-spec failing to determine the version from the spec file, resulting in the wrong name used when calling create-archive:
/home/user/Build/qubes-builder/scripts/create-archive /home/user/Build/qubes-builder/chroot-centos7/home/user/qubes-src/app-linux-input-proxy qubes-input-proxy-.tar.gz qubes-input-proxy-/

A workaround is to manually specify the archive name by adding 'GIT_TARBALL_NAME = qubes-input-proxy-1.0.11.tar.gz' in the beginning of app-linux-input-proxy/Makefile.builder.


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment