[prev in list] [next in list] [prev in thread] [next in thread]
List: qubes-devel
Subject: [qubes-devel] building customized image fails
From: Gregory Edigarov <gregory.edigarov () gmail ! com>
Date: 2017-11-02 9:15:45
Message-ID: 03c28e57-09c2-4ad4-ac11-133562b34720 () googlegroups ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Hello,
I have a project which requires building customized image, here is a
transcript of what I am doing:
-- cut --
#!/bin/sh
echo clonning qubes-builder
git clone git://github.com/QubesOS/qubes-builder.git
cp builder.conf-2017.10.31 qubes-builder/builder.conf
cd qubes-builder
make get-sources
cd qubes-src
cd ~/diffs;
for i in `ls` ; do
dir=`basename $i .diff`
pushd ~/qubes-builder/qubes-src/$dir
patch -p1 < ~/diffs/$i
popd
done
cd ~/qubes-builder
make vmm-xen core-libvirt core-vchan-xen core-qubesdb linux-utils
core-admin core-admin-linux core-agent-linux linux-kernel artwork
gui-common gui-daemon gui-agent-linux gui-agent-xen-hvm-stubdom
app-linux-split-gpg app-linux-tor app-thunderbird app-linux-pdf-converter
app-linux-img-converter app-linux-input-proxy app-linux-usb-proxy
app-yubikey mgmt-salt mgmt-salt-base mgmt-salt-base-topd
mgmt-salt-base-config mgmt-salt-base-overrides mgmt-salt-dom0-qvm
mgmt-salt-dom0-virtual-machines mgmt-salt-dom0-update meta-packages
linux-template-builder desktop-linux-kde desktop-linux-xfce4
desktop-linux-i3 desktop-linux-awesome manager linux-pvgrub2
installer-qubes-os linux-yum linux-deb vmm-xen-windows-pvdrivers
antievilmaid builder builder-fedora
#make qubes
make iso
-- cut --
Building this way I have the following error:
--
sudo BACKEND_VMM=xen chroot /home/user/qubes-builder/chroot-fc26 sh -c 'cd
/home/user/qubes-src/gui-agent-linux; dnf builddep --allowerasing --best
-y rpm_spec/gui-vm.spec'
Last metadata expiration check: 0:00:00 ago on Wed Nov 1 18:38:46 2017.
Failed to set locale, defaulting to C
Package gcc-7.2.1-2.fc26.x86_64 is already installed, skipping.
Package libX11-devel-1.6.5-2.fc26.x86_64 is already installed, skipping.
Package libXcomposite-devel-0.4.4-9.fc26.x86_64 is already installed,
skipping.
Package libXdamage-devel-1.1.4-9.fc26.x86_64 is already installed, skipping.
Package qubes-libvchan-xen-devel-3.2.1-1.fc26.x86_64 is already installed,
skipping.
Package xen-devel-2001:4.6.6-34.fc26.x86_64 is already installed, skipping.
Error:
Problem: cannot install both pulseaudio-libs-devel-10.0-4.fc26.x86_64 and
pulseaudio-libs-devel-11.1-2.fc26.x86_64
- cannot install the best candidate for the job
/home/user/qubes-builder/qubes-src/builder-fedora/Makefile.fedora:106:
recipe for target 'dist-build-dep' failed
make[2]: *** [dist-build-dep] Error 1
Makefile.generic:156: recipe for target 'packages' failed
make[1]: *** [packages] Error 1
Makefile:212: recipe for target 'gui-agent-linux-vm' failed
make: *** [gui-agent-linux-vm] Error 1
-> Preparing for ISO build...
--> Removing old rpms from the installer repos...
---> Cleaning up repo: dom0-updates...
---> Cleaning up repo: installer...
---> Cleaning up repo: qubes-dom0...
--> Copying RPMs from individual repos...
ln: failed to access
'pkgs/fc23/x86_64/qubes-gpg-split-dom0-2.0.26-1.fc23.x86_64.rpm': No such
file or directory
/home/user/qubes-builder/qubes-src/builder-fedora/Makefile.fedora:165:
recipe for target 'update-repo-do' failed
make[1]: *** [update-repo-do] Error 1
Makefile:434: recipe for target 'iso.copy-rpms' failed
make: *** [iso.copy-rpms] Error 1
-- cut --
why is it fail in a first place?
--
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+unsubscribe@googlegroups.com. To post to this group, \
send email to qubes-devel@googlegroups.com. To view this discussion on the web visit \
https://groups.google.com/d/msgid/qubes-devel/03c28e57-09c2-4ad4-ac11-133562b34720%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[Attachment #5 (text/html)]
<div dir="ltr">Hello, <div><br></div><div>I have a project which requires building \
customized image, here is a transcript of what I am doing:</div><div><div><br>-- cut \
--</div><div>#!/bin/sh</div><div>echo clonning qubes-builder</div><div>git clone \
git://github.com/QubesOS/qubes-builder.git</div><div>cp builder.conf-2017.10.31 \
qubes-builder/builder.conf</div><div>cd qubes-builder</div><div>make \
get-sources</div><div>cd qubes-src</div><div>cd \
~/diffs;<br></div><div><br></div><div>for i in `ls` ; do</div><div> \
dir=`basename $i .diff`</div><div> pushd \
~/qubes-builder/qubes-src/$dir</div><div> patch -p1 < \
~/diffs/$i</div><div> popd</div><div>done</div><div>cd \
~/qubes-builder</div><div>make vmm-xen core-libvirt core-vchan-xen core-qubesdb \
linux-utils core-admin core-admin-linux core-agent-linux linux-kernel artwork \
gui-common gui-daemon gui-agent-linux gui-agent-xen-hvm-stubdom app-linux-split-gpg \
app-linux-tor app-thunderbird app-linux-pdf-converter app-linux-img-converter \
app-linux-input-proxy app-linux-usb-proxy app-yubikey mgmt-salt mgmt-salt-base \
mgmt-salt-base-topd mgmt-salt-base-config mgmt-salt-base-overrides mgmt-salt-dom0-qvm \
mgmt-salt-dom0-virtual-machines mgmt-salt-dom0-update meta-packages \
linux-template-builder desktop-linux-kde desktop-linux-xfce4 desktop-linux-i3 \
desktop-linux-awesome manager linux-pvgrub2 installer-qubes-os linux-yum linux-deb \
vmm-xen-windows-pvdrivers antievilmaid builder builder-fedora</div><div>#make \
qubes</div><div>make iso</div></div><div>-- cut --</div><div><br></div><div>Building \
this way I have the following error:<br><div>--<br>sudo BACKEND_VMM=xen chroot \
/home/user/qubes-builder/chroot-fc26 sh -c 'cd \
/home/user/qubes-src/gui-agent-linux; dnf builddep --allowerasing --best -y \
rpm_spec/gui-vm.spec'<br></div><div>Last metadata expiration check: 0:00:00 ago \
on Wed Nov 1 18:38:46 2017.</div><div>Failed to set locale, defaulting to \
C</div><div>Package gcc-7.2.1-2.fc26.x86_64 is already installed, \
skipping.</div><div>Package libX11-devel-1.6.5-2.fc26.x86_64 is already installed, \
skipping.</div><div>Package libXcomposite-devel-0.4.4-9.fc26.x86_64 is already \
installed, skipping.</div><div>Package libXdamage-devel-1.1.4-9.fc26.x86_64 is \
already installed, skipping.</div><div>Package \
qubes-libvchan-xen-devel-3.2.1-1.fc26.x86_64 is already installed, \
skipping.</div><div>Package xen-devel-2001:4.6.6-34.fc26.x86_64 is already installed, \
skipping.</div><div>Error:</div><div> Problem: cannot install both \
pulseaudio-libs-devel-10.0-4.fc26.x86_64 and \
pulseaudio-libs-devel-11.1-2.fc26.x86_64</div><div> - cannot install the best \
candidate for the job</div><div>/home/user/qubes-builder/qubes-src/builder-fedora/Makefile.fedora:106: \
recipe for target 'dist-build-dep' failed</div><div>make[2]: *** \
[dist-build-dep] Error 1</div><div>Makefile.generic:156: recipe for target \
'packages' failed</div><div>make[1]: *** [packages] Error \
1</div><div>Makefile:212: recipe for target 'gui-agent-linux-vm' \
failed</div><div>make: *** [gui-agent-linux-vm] Error 1</div><div>-> Preparing for \
ISO build...</div><div>--> Removing old rpms from the installer \
repos...</div><div>---> Cleaning up repo: dom0-updates...</div><div>---> \
Cleaning up repo: installer...</div><div>---> Cleaning up repo: \
qubes-dom0...</div><div>--> Copying RPMs from individual repos...</div><div>ln: \
failed to access 'pkgs/fc23/x86_64/qubes-gpg-split-dom0-2.0.26-1.fc23.x86_64.rpm': \
No such file or directory</div><div>/home/user/qubes-builder/qubes-src/builder-fedora/Makefile.fedora:165: \
recipe for target 'update-repo-do' failed</div><div>make[1]: *** \
[update-repo-do] Error 1</div><div>Makefile:434: recipe for target \
'iso.copy-rpms' failed</div><div>make: *** [iso.copy-rpms] Error \
1</div></div><div>-- cut --<br><br>why is it fail in a first place?</div></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups \
"qubes-devel" group.<br /> To unsubscribe from this group and stop \
receiving emails from it, send an email to <a \
href="mailto:qubes-devel+unsubscribe@googlegroups.com">qubes-devel+unsubscribe@googlegroups.com</a>.<br \
/> To post to this group, send email to <a \
href="mailto:qubes-devel@googlegroups.com">qubes-devel@googlegroups.com</a>.<br /> To \
view this discussion on the web visit <a \
href="https://groups.google.com/d/msgid/qubes-devel/03c28e57-09c2-4ad4-ac11-133562b347 \
20%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/ \
msgid/qubes-devel/03c28e57-09c2-4ad4-ac11-133562b34720%40googlegroups.com</a>.<br /> \
For more options, visit <a \
href="https://groups.google.com/d/optout">https://groups.google.com/d/optout</a>.<br \
/>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic