Closed alicewith closed 2 years ago
Root cause:
warning: cannot resolve "X-ABI-VIDEODRV_VERSION=24.0", a dependency of "qubes-vm-gui"
warning: cannot resolve "X-ABI-XINPUT_VERSION=24.1", a dependency of "qubes-vm-gui"
warning: cannot resolve "qubes-vm-gui", a dependency of "qubes-vm-dependencies"
is handled by https://github.com/QubesOS/qubes-gui-agent-linux/pull/146, until it's merged upgrades won't work (unless you patch qubes-gui-agent-linux
yourself)
The infinite loop issue is already fixed by @DemiMarie, just need to wait for the PR to be merged into qubes-builder-archlinux
As patched manually like https://github.com/QubesOS/qubes-gui-agent-linux/pull/146 what @ejose19 mentioned, it seems to be done to execute the make template
command after retrying every steps, including re-creating the AppVM. The terminal output shows:
$ make template
[...]
-> Building template archlinux (logfile: build-logs/template-archlinux.log)...
--> Done.
In fact, it isn't done successfully. build-logs/template-archlinux.log
ends with:
[...]
+ umask 022
+ cd /home/user/qubes-builder/qubes-src/linux-template-builder
+ rm -rf /home/user/qubes-builder/qubes-src/linux-template-builder/rpmbuild/BUILDROOT/qubes-template-archlinux-4.0.6-202111300407.noarch
+ RPM_EC=0
++ jobs -p
+ exit 0
xenstore-read: xs_open: Permission denied
Even though I tried to get a workaround described in https://github.com/QubesOS/qubes-issues/issues/6324 (executing sudo chgrp qubes /dev/xen/*
), and to re-run make template
, the result was same; the ls -al /dev/xen
shows 6 devices files whose group ID was 975 (no such group ID could be found in /etc/group
), and the other results were same as above, and qubes-src/linux-template-builder/rpm/install-templates.sh
file was not found.
So I did execute sudo chgrp qubes /dev/xen/*
again when make template
is running, and everything is done successfully; there is no errors, and both install-templates.sh
and noarch/qubes-template-archlinux-minimal-4.0.6-202111300423.noarch.rpm
files in the qubes-src/linux-template-builder/rpm
directory exist.
I think that during make template
is running, some unexpected action was happened to corrupt the group ID of the /dev/xen/*
files. Although this trial makes me building archlinux-minimal
template successfully, the issue was not solved essentially; so I would like to keep this issue open. Thanks anyway!
@alicewith IMHO major issues are now solved (remount, xorg ABI), please could you try again to build your template and report here ?
@alicewith IMHO major issues are now solved (remount, xorg ABI), please could you try again to build your template and report here ?
Well, nobody posted anything, so I'll append my experience so far. Remount and xorg work fine, with the other dependencies fixed it works fine. The issue, however, with xenstore still persists, requiring a manual intervention during template building.
@sajkbflksadbfkasdjf can you retry? There were some problems with XenStore that have now been fixed, by using a fresh /dev
in the container.
@DemiMarie I tried today and I'm still getting xenstore-read: xs_open: Permission denied
at the end of make template
, and issuing sudo chgrp qubes /dev/xen/*
didn't fix the issue.
@ejose19 Can you file a separate issue for that bug? This issue is about a dependency problem together with infinite retries, both of which have been fixed.
This should have been fixed by https://github.com/QubesOS/qubes-builder-archlinux/pull/57 but that wasn’t merged
Qubes OS release
Qubes OS R4.1.0-rc2
Brief summary
Building archlinux template falls in an infinite loop because qubes-vm-dependencies is not upgradable. Note that this issue is coming from https://github.com/Qubes-Community/Contents/issues/153
Steps to reproduce
I followed the latest commit of building-archlinux-template manual accurately, but except:
scripts/remount
file fromsudo mount "$mountpoint" -o dev,remount
tosudo mount "$mountpoint" -o dev,suid,remount
to fix thesudo: effective uid is not 0
issue what I encountered before; see thesudo: effective uid is not 0
section of the building-archlinux-template manual,/etc/profile.d/99-makeflags.sh
and to allocate more than one logical cores to the VM because these actions make me to encounter another issue; see the comment on the issue 138.Expected behavior
Not falls in any infinite loop, prints no errors, and build archlinux-template successfully.
Actual behavior
When I am following the building-archlinux-template manual, I encountered the infinitely hanging issue at step 6, executing
$ make template
.The terminal output after
$ make template
is executed is:... and infinitely hangs.
build-logs/template-archlinux.log
is:... and infinitely repeats the last some lines.
How could I resolve this?