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

Setup script in Qubes-builder still fails to find dependencies when building template #3038

Closed
murlengleckeen opened this Issue Aug 18, 2017 · 2 comments

Comments

Projects
None yet
4 participants
@murlengleckeen

Trying to build an Ubuntu-template, I followed the instructions given here except for choosing builder-debian as builder plugin and zesty+desktop as template.

Qubes OS version (e.g., R3.2):

R3.2

Expected behavior:

  • resolve dependencies by running make install-deps
  • run ./setup
  • start building by running make vmm-xen-vm

Actual behavior:

  • running make vmm-xen-vm fails stating:
[user@devel qubes-builder]$ make vmm-xen-vm
Currently installed dependencies:
git-2.9.5-1.fc25.x86_64
rpmdevtools-8.9-1.fc25.noarch
rpm-build-4.13.0.1-1.fc25.x86_64
createrepo-0.10.3-10.fc25.noarch
debootstrap-1.0.87-1.fc25.noarch
dpkg-dev-1.17.27-1.fc25.noarch
package python-sh is not installed
dialog-1.3-5.20160828.fc25.x86_64
dpkg-dev-1.17.27-1.fc25.noarch
debootstrap-1.0.87-1.fc25.noarch
ERROR: call 'make install-deps' to install missing dependencies
Makefile:202: recipe for target 'check-depend.rpm' failed
make: *** [check-depend.rpm] Error 1

Steps to reproduce the behavior:

  • see above

General notes:

a very similar issue has been reported here. The problem was that make install-deps installs python2-sh whereas the Makefile expected python-sh. However the given solution didn't work for me as the Makefile already contained the needed change.

Solution

On building a template it seems that Qubes-builder uses the /example-configs/templates.conf as builder.conf which still contains python-sh instead of python2-sh.
Changing the line DEPENDENCIES += python-sh dialog to DEPENDENCIES += python2-sh dialog in builder.conf solved the problem.


Related issues:

#2910

@yitjob

This comment has been minimized.

Show comment
Hide comment
@yitjob

yitjob Sep 17, 2017

Since python2-sh as such, was not installed (neither found to install) when installing dependencies, I had to edit https://github.com/QubesOS/qubes-builder/blob/d85b004e9f375acd8aa104f30e1166ca1c7d2b7b/Makefile#L36 and remove the 2.

yitjob commented Sep 17, 2017

Since python2-sh as such, was not installed (neither found to install) when installing dependencies, I had to edit https://github.com/QubesOS/qubes-builder/blob/d85b004e9f375acd8aa104f30e1166ca1c7d2b7b/Makefile#L36 and remove the 2.

@unman

This comment has been minimized.

Show comment
Hide comment
@unman

unman Oct 9, 2017

Member

@yitjob You must be using an outdated release of Fedora. Try using a Fedora25 template in your build qube.

@andrewdavidwong After merger of QubesOS/qubes-builder#28 this can be closed.

Member

unman commented Oct 9, 2017

@yitjob You must be using an outdated release of Fedora. Try using a Fedora25 template in your build qube.

@andrewdavidwong After merger of QubesOS/qubes-builder#28 this can be closed.

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