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

building qubes from example r3.2 config fails #2875

Closed
yomimono opened this Issue Jun 27, 2017 · 5 comments

Comments

Projects
None yet
3 participants
@yomimono

yomimono commented Jun 27, 2017

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

I'm attempting to build r3.2 from Fedora 25.

Affected TemplateVMs (e.g., fedora-23, if applicable):

The failure is in building vmm-xen-vm when attempting to refresh the local repository for Fedora 24.


Expected behavior:

make qubes-os-iso creates an ISO I can use to install QubesOS.

Actual behavior:

The build fails:

-> Building vmm-xen (xen.spec) for fc24 vm (logfile: build-logs/vmm-xen-vm-fc24.log)
--> build failed!
/home/user/qubes-builder/qubes-src/builder-fedora//update-local-repo.sh fc24
sudo BACKEND_VMM=xen chroot /home/user/qubes-builder/chroot-fc24 sh -c 'cd /home/user/qubes-src/vmm-xen; dnf  --refresh -y update'
Failed to set locale, defaulting to C
Error: Failed to synchronize cache for repo 'fedora'
/home/user/qubes-builder/qubes-src/builder-fedora/Makefile.fedora:102: recipe for target 'refresh-update.dnf' failed
make[2]: *** [refresh-update.dnf] Error 1
Makefile.generic:147: recipe for target 'packages' failed
make[1]: *** [packages] Error 1
Makefile:209: recipe for target 'vmm-xen-vm' failed
make: *** [vmm-xen-vm] Error 1

Steps to reproduce the behavior:

  • clone qubes-builder
  • edit the DEPENDENCIES variable in Makefile to refer to python2-sh rather than python-sh (likely a Fedora 25-ism)
  • make install-deps
  • copy example-configs/qubes-os-r3.2.conf to builder.conf
  • make qubes-os-iso

General notes:

I'm really trying to build a Qubes with a Fedora 25 dom0 with the qubes-os-master.conf included in example-configs, but I discovered this problem attempting to do so. It reproduces on the r3.2 build which might be cleaner for troubleshooting.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Jun 27, 2017

Member

Error: Failed to synchronize cache for repo 'fedora'

Looks like a network connection issue, unfortunately common with Fedora mirrors. I'd simply retry.

Member

marmarek commented Jun 27, 2017

Error: Failed to synchronize cache for repo 'fedora'

Looks like a network connection issue, unfortunately common with Fedora mirrors. I'd simply retry.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Jun 27, 2017

Member

BTW qubes-os-master.conf is about Qubes 4.0. For Qubes 3.2, get qubes-os-r3.2.conf and start from there (for example change DIST_DOM0).

Member

marmarek commented Jun 27, 2017

BTW qubes-os-master.conf is about Qubes 4.0. For Qubes 3.2, get qubes-os-r3.2.conf and start from there (for example change DIST_DOM0).

@yomimono

This comment has been minimized.

Show comment
Hide comment
@yomimono

yomimono Jun 27, 2017

I've retried several times over the past week and travelled to places with high-quality connections, and the problem persists. Is there a caching effect somewhere that would cause this to continue after failing once?

I've retried several times over the past week and travelled to places with high-quality connections, and the problem persists. Is there a caching effect somewhere that would cause this to continue after failing once?

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Jun 27, 2017

Member

I don't know - for me retrying works. You can try removing chroot environment to rebuilt it from scratch - make clean-chroot.

Member

marmarek commented Jun 27, 2017

I don't know - for me retrying works. You can try removing chroot environment to rebuilt it from scratch - make clean-chroot.

@yomimono

This comment has been minimized.

Show comment
Hide comment
@yomimono

yomimono Jul 21, 2017

make clean-chroot resulted in a complete rebuild rather than an immediate failure. I've been away from computers for a couple of weeks and in the meantime tried the recently-released Qubes 4 preview, which installed successfully, can bring up a GRUB menu, and allows for editing/selection, but once something is chosen displays only a flashing cursor for a few seconds and then reboots hard. I'm unlikely to pursue building my own Qubes at this point, so I'll close this.

make clean-chroot resulted in a complete rebuild rather than an immediate failure. I've been away from computers for a couple of weeks and in the meantime tried the recently-released Qubes 4 preview, which installed successfully, can bring up a GRUB menu, and allows for editing/selection, but once something is chosen displays only a flashing cursor for a few seconds and then reboots hard. I'm unlikely to pursue building my own Qubes at this point, so I'll close this.

@yomimono yomimono closed this Jul 21, 2017

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