Re: [qubes-devel] Re: build system does not build, libvirt ?

2021-09-02 Thread Marek Marczykowski-Górecki
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On Thu, Sep 02, 2021 at 06:01:56AM -0700, ludwig...@gmail.com wrote:
> Here is my builder.conf

This is a config for building Qubes 4.1, not Qubes 4.0. Take a look at
example-configs directory.
Furthermore, I'd recommend keeping DIST_DOM0 unchanged (fc32 for R4.0).
Even if it will succeed to build (which is not that obvious), you
wouldn't receive updates if you build for a different base distro.

As for the build error:

> > sudo BACKEND_VMM=xen  chroot 
> > /home/build/src/qubes-builder/chroot-dom0-fc33 su -c 'rpmspec -P --define 
> > "debug_package %{nil}" --define "fedora 33" --define "dist .fc33" --define 
> > "fedora 33" --define "dist .fc33" 
> > /home/user/qubes-src/core-libvirt/libvirt.spec > 
> > /home/user/qubes-src/core-libvirt/libvirt.spec.parsed' - user
> > cat: version: No such file or directory
> > error: line 275: Empty tag: Version:

... you found a bug.
Fixed here: 
https://github.com/QubesOS/qubes-builder-rpm/commit/00bea13e220497efc288ffa14019dda579257723

Execute `make get-sources` again, and retry.

> > Also is there a vm image of a proven good qubes-buidl system, as the build 
> > system
> > is very sensitive to moon phase and moisture :-)

Yeah, that is a bit tricky indeed. But a VM image would hide issues we
should fix anyway...

- -- 
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
-BEGIN PGP SIGNATURE-

iQEzBAEBCAAdFiEEhrpukzGPukRmQqkK24/THMrX1ywFAmEw4mMACgkQ24/THMrX
1yxcHwgAliHkGnK2HoE/Y65DFVw5z5MpCWVyz7d19QQ4YAwMcsKqG7EHm8fGAg7n
45g+HDJx2DhpyFAHEYI1UIsrziGIxCbi3Y5slcFr8FpwyYiz+pDay42ywVPhQhh1
amY4y6MX6Z0oKxgdf1mbnOMaw0oSovzlrgnz7FY4+hcAxsTRweIMTKm+r7WFgmMt
NGMltxYieIEtrDeAqjbHX9fzgXuoPgGSAizekVzBUV6hX/dX5VToH/yOmNNn3kA/
aD+b73YVFGruYFuY9ZkuKYll5CT/2/zJN+bxDcGWdQkx/yrxxo0DL27maoS56uDi
8EhIjsOdY7MV1tZ56ebmwG54Gn5FFg==
=WWUc
-END PGP SIGNATURE-

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-devel/YTDiZE7PL0Q8Xtz3%40mail-itl.


[qubes-devel] Re: build system does not build, libvirt ?

2021-09-02 Thread ludwig...@gmail.com
Here is my builder.conf

OS: Fedora 33, CPUs: Xeon(R) CPU E5-269, enough RAM.

What can I do to get it build?

On Thursday, September 2, 2021 at 2:55:59 PM UTC+2 ludwig...@gmail.com 
wrote:

> Hi all, I run a stand alone machine with fedora33 and se linux disabled,
> and try to first get the build system to build the 4.0 release with fc33 
> and debian.
>
> Now it spits an error:
> [sudo] password for build: 
> -> Building core-libvirt (libvirt.spec) for fc33 dom0 (logfile: 
> build-logs/core-libvirt-dom0-fc33.log)
> --> build failed!
> make[2]: Entering directory '/home/build/src/qubes-builder'
> /home/build/src/qubes-builder/qubes-src/builder-rpm//update-local-repo.sh 
> fc33
> sudo BACKEND_VMM=xen  dnf 
> --installroot=/home/build/src/qubes-builder/chroot-dom0-fc33 
> --installroot=/home/build/src/qubes-builder/chroot-dom0-fc33 --refresh -y 
> update
> Qubes OS Builder Repository 2.9 MB/s | 3.0 kB 
> 00:00
> Qubes OS Builder Repository 456 kB/s |  22 kB 
> 00:00
> Fedora 33 - x86_64  235 kB/s |  26 kB 
> 00:00
> Fedora 33 openh264 (From Cisco) - x86_64 12 kB/s | 989  B 
> 00:00
> Fedora 33 - x86_64 - Updates109 kB/s |  10 kB 
> 00:00
> Fedora 33 - x86_64 - Updates1.8 MB/s | 2.9 MB 
> 00:01
> Dependencies resolved.
> Nothing to do.
> Complete!
> sudo BACKEND_VMM=xen  chroot 
> /home/build/src/qubes-builder/chroot-dom0-fc33 su -c 'rpmspec -P --define 
> "debug_package %{nil}" --define "fedora 33" --define "dist .fc33" --define 
> "fedora 33" --define "dist .fc33" 
> /home/user/qubes-src/core-libvirt/libvirt.spec > 
> /home/user/qubes-src/core-libvirt/libvirt.spec.parsed' - user
> cat: version: No such file or directory
> error: line 275: Empty tag: Version:
> make[2]: *** 
> [/home/build/src/qubes-builder/qubes-src/builder-rpm/Makefile-legacy.rpmbuilder:51:
>  
> dist-build-dep.spec] Error 1
> make[2]: Leaving directory '/home/build/src/qubes-builder'
> make[1]: *** [Makefile.generic:191: packages] Error 1
> make[1]: Leaving directory '/home/build/src/qubes-builder'
> make: *** [Makefile:267: core-libvirt-dom0] Error 1
>
> How to resolve this?
>
> Also is there a vm image of a proven good qubes-buidl system, as the build 
> system
> is very sensitive to moon phase and moisture :-)
>
> Thanks,
>
> Ludwig
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-devel/74f6ac6c-a41d-4a9c-8de0-011955390b47n%40googlegroups.com.
# vim: ft=make ts=4 sw=4

# Ready to use config for full build of the latest development version Qubes OS 
(aka "master").

GIT_BASEURL ?= https://github.com
GIT_PREFIX ?= QubesOS/qubes-
NO_SIGN ?= 1

BACKEND_VMM=xen

DIST_DOM0 ?= fc33
DISTS_VM ?= fc33 buster

MGMT_COMPONENTS = \
mgmt-salt \
mgmt-salt-base \
mgmt-salt-base-topd \
mgmt-salt-base-config \
mgmt-salt-dom0-qvm \
mgmt-salt-dom0-virtual-machines \
mgmt-salt-dom0-update

COMPONENTS ?= \
vmm-xen \
core-libvirt \
core-vchan-xen \
core-qubesdb \
core-qrexec \
linux-utils \
python-cffi \
python-xcffib \
python-objgraph \
python-hid \
python-u2flib-host \
python-qasync \
python-panflute \
rpm-oxide \
core-admin \
core-admin-client \
core-admin-addon-whonix \
core-admin-linux \
core-agent-linux \
intel-microcode \
linux-firmware \
linux-kernel \
artwork \
grub2 \
grub2-theme \
gui-common \
gui-daemon \
gui-agent-linux \
gui-agent-xen-hvm-stubdom \
seabios \
vmm-xen-stubdom-legacy \
vmm-xen-stubdom-linux \
app-linux-split-gpg \
app-thunderbird \
app-linux-pdf-converter \
app-linux-img-converter \
app-linux-input-proxy \
app-linux-usb-proxy \
app-linux-snapd-helper \
app-shutdown-idle \
app-yubikey \
app-u2f \
screenshot-helper \
$(MGMT_COMPONENTS) \
infrastructure \
repo-templates \
meta-packages \
manager \
desktop-linux-common \
desktop-linux-kde \
desktop-linux-xfce4 \
desktop-linux-xfce4-xfwm4 \
desktop-linux-i3 \
desktop-linux-i3-settings-qubes \
desktop-linux-awesome \
desktop-linux-manager \
grubby-dummy \
dummy-psu \
dummy-backlight \
xorg-x11-drv-intel \
linux-pvgrub2 \
linux-gbulb \
linux-scrypt \
linux-template-builder \
installer-qubes-os \
qubes-release \
pykickstart \
blivet \
lorax \
lorax-templates \
anaconda \
anaconda-addon \
linux-yum \
linux-deb \
tpm-extra \
trousers-changer \
antievilmaid \
xscreensaver \
remote-support \
xdotool \