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 python-xcffib #3920

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-python-xcffib


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, complaining about missing setup.py for the 'python-xcffib' package.

General notes:

The problem is due to the python-xcffib module creating an archive 'xcffib-0.5.1.tar.gz' during the build, overwriting the original archive with the same name.

A workaround is to tell the build to use the existing archive instead of creating one, by adding 'NO_ARCHIVE := 1' to python-xcffib/Makefile.builder


fepitre added a commit to fepitre/qubes-python-xcffib that referenced this issue May 23, 2018

@andrewdavidwong andrewdavidwong added this to the Release 4.0 updates milestone May 24, 2018

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