Dependency error building Qubes

51 views
Skip to first unread message

rucksac...@googlemail.com

unread,
Mar 11, 2018, 5:22:41 PM3/11/18
to qubes-users
I'm trying to build a Qubes ISO on a Fedora 26 System, following the instructions of the documentation page "Building Qubes OS ISO", and get this error message:

make[1]: Entering directory '/home/xy/qubes-builder'
sudo chroot /home/xy/qubes-builder/chroot-fc25 dnf install -y gcc-6.4.1-1.qubes1.fc25.x86_64 libgcc.x86_64
Qubes OS Builder Repository 251 kB/s | 257 B 00:00
No package gcc-6.4.1-1.qubes1.fc25.x86_64 available.
Package libgcc-6.4.1-1.fc25.x86_64 is already installed, skipping.
Error: Unable to find a match.
make[1]: *** [qubes-src/vmm-xen/Makefile.builder:27: workaround-gcc-upgrade-fc25] Error 1
make[1]: Leaving directory '/home/xy/qubes-builder'
make: *** [Makefile:224: vmm-xen-dom0] Error 1

How can I fix this?

awokd

unread,
Mar 11, 2018, 8:01:55 PM3/11/18
to rucksac...@googlemail.com, qubes-users
I hit that too but didn't have time to dig in to it. The "qubes1" in the
filename doesn't look quite right, I'd expect just "qubes" but maybe it's
some other issue. If you want to fix it, look at the build-logs and build
script and try to figure out where that is coming from? It's possible it's
already fixed in Marek's repo but hasn't yet made it to master, so you
might want to check recent commits there too.


rucksac...@googlemail.com

unread,
Mar 13, 2018, 6:41:30 PM3/13/18
to qubes-users
Found line
RPM_BUILD_DEFINES += --define "qubes_builder 1"
in /qubes-builder/qubes-src/builder-fedora/Makefile.fedora
Should I change it in "qubes builder" or "qubes builder 2"?

awokd

unread,
Mar 13, 2018, 8:46:06 PM3/13/18
to rucksac...@googlemail.com, qubes-users
No, that doesn't sound right. I think you'd find the filename
"gcc-6.4.1-1.qubes1.fc25.x86_64" somewhere. Maybe file an issue on it, if
there isn't already one out there?

Message has been deleted

awokd

unread,
Mar 17, 2018, 4:07:38 AM3/17/18
to voitso...@gmail.com, qubes-users
On Thu, March 15, 2018 5:41 pm, voitso...@gmail.com wrote:
> воскресенье, 11 марта 2018 г., 23:22:41 UTC+2 пользователь
> rucksac...@googlemail.com написал:
> Hello guys!
> Any updates on this?
> As I'm tried to build qubes-iso and have same issue ;-\

In progress, but it's going to be a few more hours until GCC is done
building to see if it's fixed...
https://github.com/QubesOS/qubes-issues/issues/3707
Note my error is slightly different.



awokd

unread,
Mar 17, 2018, 4:13:01 PM3/17/18
to aw...@danwin1210.me, voitso...@gmail.com, qubes-users
Discussion got consolidated to
https://github.com/QubesOS/qubes-issues/issues/3650. Solution looks to be
to revert a commit by hand (or wait until that reversion gets to
qubes-builder/master), then builds should work. Am confirming but builds
take me a long time. Ignore the discussion about "make dist-clean", that
shouldn't be necessary once the fix goes in.


Reply all
Reply to author
Forward
0 new messages