[prev in list] [next in list] [prev in thread] [next in thread]
List: pkgsrc-users
Subject: Re: ImportError: No module named libvirt
From: Mario Marietto <marietto2008 () gmail ! com>
Date: 2021-09-16 12:52:14
Message-ID: CA+1FSigvfk+4akkUmbht8UxfcBgBgV5PayeSiPpg3Njj_HCFfg () mail ! gmail ! com
[Download RAW message or body]
Actually I have two problems with netbsd that I'm not able to fix,even I've
asked to different places some help :
1)
https://www.reddit.com/r/NetBSD/comments/popvju/usrpkgsrcx11kdelibs4workkdelibs41438kimgioexrcpp15/
2)
https://www.reddit.com/r/NetBSD/comments/poykz7/how_to_mount_an_ufs_partition_on_netbsd/
Any help is appreciated.
Il giorno mer 15 set 2021 alle ore 18:36 Mario Marietto <
marietto2008@gmail.com> ha scritto:
> Unfortunately,according to what the developer "nia" said on 2020 :
>
> *We don't do hibernation (suspend-to-disk), at all, there's no option for
> it. only ACPI suspend (suspend-to-RAM). you won't get very far with libvirt
> because it doesn't include support for things like NVMM anyway (which is
> best supported by using QEMU directly right now).*
>
>
> *and confirmed some time ago,it seems that virt-manager does not include
> the support for NVMM. So it does not care if u choose QEMU-local*
>
> Il giorno mer 15 set 2021 alle ore 18:16 Chavdar Ivanov <ci4ic4@gmail.com>
> ha scritto:
>
>> On Wed, 15 Sept 2021 at 13:59, Mario Marietto <marietto2008@gmail.com>
>> wrote:
>> >
>> > Correct me if I'm wrong,but KVM is not supported by NetBSD,right ?
>> So,it's not natural that on the virt-manager panel I see "QEMU-KVM not
>> connected" and if I try to connect it gives the error : Client socket
>> identity not available: Function not implemented ?
>> >
>> > Anyway I can't test if a different hypervisor works. I can choose
>> between XEN / LXC / Bhyve / Virtuozzo,but :
>> >
>> > 1) I haven't installed and configured XEN and virtuozzo
>> >
>> > 2) Bhyve is not supported by NetBSD
>> >
>> > 3) I have configured NVMM but it is not on the list at all
>>
>> NVMM is just a QEMU acceleration method; I thought I had to select
>> QEMU/local from the drop-down menu, but could not figure out the
>> authentication bit.
>>
>> >
>> >
>> >
>> >
>> >
>> > Il giorno mer 15 set 2021 alle ore 13:54 Chavdar Ivanov <
>> ci4ic4@gmail.com> ha scritto:
>> >>
>> >> On Wed, 15 Sept 2021 at 12:06, Mario Marietto <marietto2008@gmail.com>
>> wrote:
>> >> >
>> >> > netbsd-marietto# service libvirtd start
>> >> >
>> >> > libvirtd already running? (pid=598).
>> >> >
>> >> >
>> >> > Unable to connect to libvirt qemu:///system.
>> >> >
>> >> > Client socket identity not available: Function not implemented
>> >> >
>> >> > Libvirt URI is: qemu:///system
>> >> >
>> >> > Traceback (most recent call last):
>> >> > File "/usr/pkg/share/virt-manager/virtManager/connection.py", line
>> 956, in _do_open
>> >> > self._backend.open(connectauth.creds_dialog, self)
>> >> > File "/usr/pkg/share/virt-manager/virtinst/connection.py", line
>> 172, in open
>> >> > conn = libvirt.openAuth(self._open_uri,
>> >> > File "/usr/pkg/lib/python3.8/site-packages/libvirt.py", line 104,
>> in openAuth
>> >>
>> >> That's what I reported earlier (albeit with python39). I couldn't
>> >> figure it out quickly and haven't yet poked libvirt.py.
>> >>
>> >> >
>> >> > Il giorno mar 14 set 2021 alle ore 22:57 Chavdar Ivanov <
>> ci4ic4@gmail.com> ha scritto:
>> >> >>
>> >> >> On Tue, 14 Sept 2021 at 21:33, Mario Marietto <
>> marietto2008@gmail.com> wrote:
>> >> >> >
>> >> >> > You have a lot of experience with NetBSD,have you been able to
>> pass through your graphic card using qemu and nvmm ? Is that possible ? Do
>> you have a tutorial to suggest where I can learn how to do that ? I'm
>> looking for a BSD os that can allows me to passthru my nvidia RTX 2080 ti
>> to a linux guest os. I tried with freebsd and bhyve,but it didn't work.
>> So,now I want to try try with qemu + nvmm. thanks very much.
>> >> >> >
>> >> >>
>> >> >> While I do use daily qemu+nvmm, I have never attempted to pass
>> through
>> >> >> any device to any VM. I was tempted to say you can't do it, but I
>> >> >> can't say even that - qemu has a lot of trickeries I am not aware
>> of.
>> >> >> I really don't know, sorry.
>> >> >>
>> >> >>
>> >> >> > Il giorno mar 14 set 2021 alle ore 20:37 Chavdar Ivanov <
>> ci4ic4@gmail.com> ha scritto:
>> >> >> >>
>> >> >> >> On Tue, 14 Sept 2021 at 19:33, Mario Marietto <
>> marietto2008@gmail.com> wrote:
>> >> >> >> >
>> >> >> >> > Great help from you. Finally I've been able to see the GUI of
>> virt-manager. Now it wants that I make the installation of the libvirtd
>> service. I'm learning how to do that. very thanks for your patience with a
>> newbie.
>> >> >> >>
>> >> >> >> No worries. Do this:
>> >> >> >>
>> >> >> >> cp /usr/pkg/share/examples/rc.d/libvirtd /etc/rc.d/ && echo
>> >> >> >> libvirtd=YES >> /etc/rc.conf && /etc/rc.d/libvirtd start
>> >> >> >>
>> >> >> >> as root.
>> >> >> >>
>> >> >> >> >
>> >> >> >> > Il giorno mar 14 set 2021 alle ore 20:02 Chavdar Ivanov <
>> ci4ic4@gmail.com> ha scritto:
>> >> >> >> >>
>> >> >> >> >> On Tue, 14 Sept 2021 at 18:50, Mario Marietto <
>> marietto2008@gmail.com> wrote:
>> >> >> >> >> >
>> >> >> >> >> > Yes,I've already removed it. Did you read my previous
>> message well ?
>> >> >> >> >> >
>> >> >> >> >> > netbsd-marietto# pkgin remove virtinst
>> >> >> >> >> >
>> >> >> >> >> > 1 packages to delete:
>> >> >> >> >> > virtinst-0.600.3nb3
>> >> >> >> >> >
>> >> >> >> >> > proceed ? [Y/n] y
>> >> >> >> >> > removing virtinst-0.600.3nb3...
>> >> >> >> >> > pkg_install warnings: 0, errors: 0
>> >> >> >> >> > reading local summary...
>> >> >> >> >> > processing local summary...
>> >> >> >> >> > netbsd-marietto# make install
>> >> >> >> >> > => Bootstrap dependency digest>=20010302: found
>> digest-20190127
>> >> >> >> >> > ===> Installing binary package of virt-manager-2.2.1
>> >> >> >> >> >
>> >> >> >> >> > netbsd-marietto# virt-manager
>> >> >> >> >> >
>> >> >> >> >> > Traceback (most recent call last):
>> >> >> >> >> > File "/usr/pkg/share/virt-manager/virt-manager", line 19,
>> in <module>
>> >> >> >> >> > from virtinst import BuildConfig
>> >> >> >> >> > File "/usr/pkg/share/virt-manager/virtinst/__init__.py",
>> line 60, in <module>
>> >> >> >> >> > from virtinst.install.installer import Installer
>> >> >> >> >> > File
>> "/usr/pkg/share/virt-manager/virtinst/install/installer.py", line 12, in
>> <module>
>> >> >> >> >> > from .installertreemedia import InstallerTreeMedia
>> >> >> >> >> > File
>> "/usr/pkg/share/virt-manager/virtinst/install/installertreemedia.py", line
>> 10, in <module>
>> >> >> >> >> > from . import urlfetcher
>> >> >> >> >> > File
>> "/usr/pkg/share/virt-manager/virtinst/install/urlfetcher.py", line 16, in
>> <module>
>> >> >> >> >> > import requests
>> >> >> >> >> > ModuleNotFoundError: No module named 'requests'
>> >> >> >> >>
>> >> >> >> >> Another missing run-time dependency - devel/py-requests
>> >> >> >> >>
>> >> >> >> >> >
>> >> >> >> >> >
>> >> >> >> >> > Il giorno mar 14 set 2021 alle ore 19:29 Chavdar Ivanov <
>> ci4ic4@gmail.com> ha scritto:
>> >> >> >> >> >>
>> >> >> >> >> >> virtinst that is...
>> >> >> >> >> >>
>> >> >> >> >> >> On Tue, 14 Sept 2021 at 18:28, Chavdar Ivanov <
>> ci4ic4@gmail.com> wrote:
>> >> >> >> >> >> >
>> >> >> >> >> >> > vistinst is an old package you can remove. I last built
>> it in about
>> >> >> >> >> >> > 2019 and don't remember using it.
>> >> >> >> >> >> >
>> >> >> >> >> >> > On Tue, 14 Sept 2021 at 18:01, Mario Marietto <
>> marietto2008@gmail.com> wrote:
>> >> >> >> >> >> > >
>> >> >> >> >> >> > > netbsd-marietto# pwd
>> >> >> >> >> >> > >
>> >> >> >> >> >> > > /usr/pkgsrc/wip/virt-manager
>> >> >> >> >> >> > >
>> >> >> >> >> >> > > netbsd-marietto# make install
>> >> >> >> >> >> > >
>> >> >> >> >> >> > > ....
>> >> >> >> >> >> > >
>> >> >> >> >> >> > > compiling gsettings schemas
>> >> >> >> >> >> > > glib-compile-schemas
>> /usr/pkgsrc/wip/virt-manager/work/.destdir/usr/pkg/share/glib-2.0/schemas
>> >> >> >> >> >> > > running install_egg_info
>> >> >> >> >> >> > > => Automatic manual page handling
>> >> >> >> >> >> > > => Generating post-install file lists
>> >> >> >> >> >> > > => Checking file-check results for virt-manager-2.2.1
>> >> >> >> >> >> > > => Creating binary package
>> /usr/pkgsrc/wip/virt-manager/work/.packages/virt-manager-2.2.1.tgz
>> >> >> >> >> >> > > ===> Building binary package for virt-manager-2.2.1
>> >> >> >> >> >> > > => Creating binary package
>> /usr/pkgsrc/packages/All/virt-manager-2.2.1.tgz
>> >> >> >> >> >> > > ===> Installing binary package of virt-manager-2.2.1
>> >> >> >> >> >> > > pkg_add: Conflicting PLIST with virtinst-0.600.3nb3:
>> bin/virt-clone
>> >> >> >> >> >> > > pkg_add: 1 package addition failed
>> >> >> >> >> >> > > *** Error code 1
>> >> >> >> >> >> > >
>> >> >> >> >> >> > > netbsd-marietto# pkgin remove virtinst
>> >> >> >> >> >> > >
>> >> >> >> >> >> > > 1 packages to delete:
>> >> >> >> >> >> > > virtinst-0.600.3nb3
>> >> >> >> >> >> > >
>> >> >> >> >> >> > > proceed ? [Y/n] y
>> >> >> >> >> >> > > removing virtinst-0.600.3nb3...
>> >> >> >> >> >> > > pkg_install warnings: 0, errors: 0
>> >> >> >> >> >> > > reading local summary...
>> >> >> >> >> >> > > processing local summary...
>> >> >> >> >> >> > > netbsd-marietto# make install
>> >> >> >> >> >> > > => Bootstrap dependency digest>=20010302: found
>> digest-20190127
>> >> >> >> >> >> > > ===> Installing binary package of virt-manager-2.2.1
>> >> >> >> >> >> > >
>> >> >> >> >> >> > > netbsd-marietto# virt-manager
>> >> >> >> >> >> > >
>> >> >> >> >> >> > > Traceback (most recent call last):
>> >> >> >> >> >> > > File "/usr/pkg/share/virt-manager/virt-manager",
>> line 19, in <module>
>> >> >> >> >> >> > > from virtinst import BuildConfig
>> >> >> >> >> >> > > File
>> "/usr/pkg/share/virt-manager/virtinst/__init__.py", line 60, in <module>
>> >> >> >> >> >> > > from virtinst.install.installer import Installer
>> >> >> >> >> >> > > File
>> "/usr/pkg/share/virt-manager/virtinst/install/installer.py", line 12, in
>> <module>
>> >> >> >> >> >> > > from .installertreemedia import InstallerTreeMedia
>> >> >> >> >> >> > > File
>> "/usr/pkg/share/virt-manager/virtinst/install/installertreemedia.py", line
>> 10, in <module>
>> >> >> >> >> >> > > from . import urlfetcher
>> >> >> >> >> >> > > File
>> "/usr/pkg/share/virt-manager/virtinst/install/urlfetcher.py", line 16, in
>> <module>
>> >> >> >> >> >> > > import requests
>> >> >> >> >> >> > > ModuleNotFoundError: No module named 'requests'
>> >> >> >> >> >> > >
>> >> >> >> >> >> > >
>> >> >> >> >> >> > >
>> >> >> >> >> >> > >
>> >> >> >> >> >> > > Il giorno mar 14 set 2021 alle ore 18:40 Chavdar
>> Ivanov <ci4ic4@gmail.com> ha scritto:
>> >> >> >> >> >> > >>
>> >> >> >> >> >> > >> On Tue, 14 Sept 2021 at 17:11, Thomas Klausner <
>> wiz@netbsd.org> wrote:
>> >> >> >> >> >> > >> >
>> >> >> >> >> >> > >> > On Tue, Sep 14, 2021 at 06:04:49PM +0200, Mario
>> Marietto wrote:
>> >> >> >> >> >> > >> > > ERROR: [depends.mk] The directory
>> \`../../wip/vte'' does not exist.`
>> >> >> >> >> >> > >> >
>> >> >> >> >> >> > >> > If you see this, your checkout is not up-to-date.
>> >> >> >> >> >> > >> > There is no reference to wip/vte in the latest
>> version. Please update.
>> >> >> >> >> >> > >> > Thomas
>> >> >> >> >> >> > >>
>> >> >> >> >> >> > >> That's true. In the latest wip/virt-manager Makefile,
>> the reference to
>> >> >> >> >> >> > >> wip/vte has been replaced with x11/vte3; that's
>> obvious; however, in
>> >> >> >> >> >> > >> order to be sure everything is current, one has to
>> update the whole
>> >> >> >> >> >> > >> pkgsrc tree ( cd /usr/pkgsrc && cvs up -dPA ) - which
>> then will
>> >> >> >> >> >> > >> require 'pkg_rolling-replace' etc. I do the latter
>> all the time, once
>> >> >> >> >> >> > >> or twice a week, first 'git pull' in pkgsrc/wip, then
>> the pkgsrc
>> >> >> >> >> >> > >> update, then 'pkg_rolling-replace -uvk', followed by
>> manually chasing
>> >> >> >> >> >> > >> all possible failures of the latter; also, before
>> running the rolling
>> >> >> >> >> >> > >> replace command, I run 'pkg_admin rebuild-tree',
>> making sure it
>> >> >> >> >> >> > >> returns nothing (or something I expect and have
>> decided not to
>> >> >> >> >> >> > >> correct), followed by a 'pkg_chk -uq' - which I
>> expect to finish to
>> >> >> >> >> >> > >> the end (which is the complain that there is no
>> >> >> >> >> >> > >> /usr/pkgsrc/pkgchk_update-{build-hostname}.conf
>> present in my case).
>> >> >> >> >> >> > >>
>> >> >> >> >> >> > >> Just stating my usual workflow for pkgsrc+wip
>> updates, in case it is useful.
>> >> >> >> >> >> > >>
>> >> >> >> >> >> > >>
>> >> >> >> >> >> > >> --
>> >> >> >> >> >> > >> ----
>> >> >> >> >> >> > >
>> >> >> >> >> >> > >
>> >> >> >> >> >> > >
>> >> >> >> >> >> > > --
>> >> >> >> >> >> > > Mario.
>> >> >> >> >> >> >
>> >> >> >> >> >> >
>> >> >> >> >> >> >
>> >> >> >> >> >> > --
>> >> >> >> >> >> > ----
>> >> >> >> >> >>
>> >> >> >> >> >>
>> >> >> >> >> >>
>> >> >> >> >> >> --
>> >> >> >> >> >> ----
>> >> >> >> >> >
>> >> >> >> >> >
>> >> >> >> >> >
>> >> >> >> >> > --
>> >> >> >> >> > Mario.
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >> --
>> >> >> >> >> ----
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > --
>> >> >> >> > Mario.
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >> --
>> >> >> >> ----
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > --
>> >> >> > Mario.
>> >> >>
>> >> >>
>> >> >>
>> >> >> --
>> >> >> ----
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > Mario.
>> >>
>> >>
>> >>
>> >> --
>> >> ----
>> >
>> >
>> >
>> > --
>> > Mario.
>>
>>
>>
>> --
>> ----
>>
>
>
> --
> Mario.
>
--
Mario.
[Attachment #3 (text/html)]
<div dir="ltr"><div>Actually I have two problems with netbsd that I'm not able to \
fix,even I've asked to different places some help :</div><div><br></div><div>1) \
<a href="https://www.reddit.com/r/NetBSD/comments/popvju/usrpkgsrcx11kdelibs4workkdeli \
bs41438kimgioexrcpp15/">https://www.reddit.com/r/NetBSD/comments/popvju/usrpkgsrcx11kdelibs4workkdelibs41438kimgioexrcpp15/</a></div><div><br></div><div>2) \
<a href="https://www.reddit.com/r/NetBSD/comments/poykz7/how_to_mount_an_ufs_partition \
_on_netbsd/">https://www.reddit.com/r/NetBSD/comments/poykz7/how_to_mount_an_ufs_partition_on_netbsd/</a></div><div><br></div><div>Any \
help is appreciated.<br></div></div><br><div class="gmail_quote"><div dir="ltr" \
class="gmail_attr">Il giorno mer 15 set 2021 alle ore 18:36 Mario Marietto <<a \
href="mailto:marietto2008@gmail.com">marietto2008@gmail.com</a>> ha \
scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div \
dir="ltr"><p>Unfortunately,according to what the developer "nia" said on \
2020 :</p><p></p><p><strong>We don't do hibernation (suspend-to-disk), at all, \
there's no option for it. only ACPI suspend (suspend-to-RAM). you won't get \
very far with libvirt because it doesn't include support for things like NVMM \
anyway (which is best supported by using QEMU directly right \
now).</strong></p><p><strong>and confirmed some time ago,it seems that virt-manager \
does not include the support for NVMM. So it does not care if u choose \
QEMU-local<br></strong></p></div><br><div class="gmail_quote"><div dir="ltr" \
class="gmail_attr">Il giorno mer 15 set 2021 alle ore 18:16 Chavdar Ivanov <<a \
href="mailto:ci4ic4@gmail.com" target="_blank">ci4ic4@gmail.com</a>> ha \
scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, 15 Sept 2021 \
at 13:59, Mario Marietto <<a href="mailto:marietto2008@gmail.com" \
target="_blank">marietto2008@gmail.com</a>> wrote:<br> ><br>
> Correct me if I'm wrong,but KVM is not supported by NetBSD,right ? \
So,it's not natural that on the virt-manager panel I see "QEMU-KVM not \
connected" and if I try to connect it gives the error : Client socket identity \
not available: Function not implemented ?<br> ><br>
> Anyway I can't test if a different hypervisor works. I can choose between \
XEN / LXC / Bhyve / Virtuozzo,but :<br> ><br>
> 1) I haven't installed and configured XEN and virtuozzo<br>
><br>
> 2) Bhyve is not supported by NetBSD<br>
><br>
> 3) I have configured NVMM but it is not on the list at all<br>
<br>
NVMM is just a QEMU acceleration method; I thought I had to select<br>
QEMU/local from the drop-down menu, but could not figure out the<br>
authentication bit.<br>
<br>
><br>
><br>
><br>
><br>
><br>
> Il giorno mer 15 set 2021 alle ore 13:54 Chavdar Ivanov <<a \
href="mailto:ci4ic4@gmail.com" target="_blank">ci4ic4@gmail.com</a>> ha \
scritto:<br> >><br>
>> On Wed, 15 Sept 2021 at 12:06, Mario Marietto <<a \
href="mailto:marietto2008@gmail.com" target="_blank">marietto2008@gmail.com</a>> \
wrote:<br> >> ><br>
>> > netbsd-marietto# service libvirtd start<br>
>> ><br>
>> > libvirtd already running? (pid=598).<br>
>> ><br>
>> ><br>
>> > Unable to connect to libvirt qemu:///system.<br>
>> ><br>
>> > Client socket identity not available: Function not implemented<br>
>> ><br>
>> > Libvirt URI is: qemu:///system<br>
>> ><br>
>> > Traceback (most recent call last):<br>
>> > File \
"/usr/pkg/share/virt-manager/virtManager/connection.py", line 956, in \
_do_open<br> >> > self._backend.open(connectauth.creds_dialog, \
self)<br> >> > File \
"/usr/pkg/share/virt-manager/virtinst/connection.py", line 172, in open<br> \
>> > conn = libvirt.openAuth(self._open_uri,<br> >> > \
File "/usr/pkg/lib/python3.8/site-packages/libvirt.py", line 104, in \
openAuth<br> >><br>
>> That's what I reported earlier (albeit with python39). I \
couldn't<br> >> figure it out quickly and haven't yet poked \
libvirt.py.<br> >><br>
>> ><br>
>> > Il giorno mar 14 set 2021 alle ore 22:57 Chavdar Ivanov <<a \
href="mailto:ci4ic4@gmail.com" target="_blank">ci4ic4@gmail.com</a>> ha \
scritto:<br> >> >><br>
>> >> On Tue, 14 Sept 2021 at 21:33, Mario Marietto <<a \
href="mailto:marietto2008@gmail.com" target="_blank">marietto2008@gmail.com</a>> \
wrote:<br> >> >> ><br>
>> >> > You have a lot of experience with NetBSD,have you been able to \
pass through your graphic card using qemu and nvmm ? Is that possible ? Do you have a \
tutorial to suggest where I can learn how to do that ? I'm looking for a BSD os \
that can allows me to passthru my nvidia RTX 2080 ti to a linux guest os. I tried \
with freebsd and bhyve,but it didn't work. So,now I want to try try with qemu + \
nvmm. thanks very much.<br> >> >> ><br>
>> >><br>
>> >> While I do use daily qemu+nvmm, I have never attempted to pass \
through<br> >> >> any device to any VM. I was tempted to say you \
can't do it, but I<br> >> >> can't say even that - qemu has a lot \
of trickeries I am not aware of.<br> >> >> I really don't know, \
sorry.<br> >> >><br>
>> >><br>
>> >> > Il giorno mar 14 set 2021 alle ore 20:37 Chavdar Ivanov <<a \
href="mailto:ci4ic4@gmail.com" target="_blank">ci4ic4@gmail.com</a>> ha \
scritto:<br> >> >> >><br>
>> >> >> On Tue, 14 Sept 2021 at 19:33, Mario Marietto <<a \
href="mailto:marietto2008@gmail.com" target="_blank">marietto2008@gmail.com</a>> \
wrote:<br> >> >> >> ><br>
>> >> >> > Great help from you. Finally I've been able to \
see the GUI of virt-manager. Now it wants that I make the installation of the \
libvirtd service. I'm learning how to do that. very thanks for your patience with \
a newbie.<br> >> >> >><br>
>> >> >> No worries. Do this:<br>
>> >> >><br>
>> >> >> cp /usr/pkg/share/examples/rc.d/libvirtd /etc/rc.d/ \
&& echo<br> >> >> >> libvirtd=YES >> /etc/rc.conf \
&& /etc/rc.d/libvirtd start<br> >> >> >><br>
>> >> >> as root.<br>
>> >> >><br>
>> >> >> ><br>
>> >> >> > Il giorno mar 14 set 2021 alle ore 20:02 Chavdar \
Ivanov <<a href="mailto:ci4ic4@gmail.com" target="_blank">ci4ic4@gmail.com</a>> \
ha scritto:<br> >> >> >> >><br>
>> >> >> >> On Tue, 14 Sept 2021 at 18:50, Mario Marietto \
<<a href="mailto:marietto2008@gmail.com" \
target="_blank">marietto2008@gmail.com</a>> wrote:<br> >> >> >> \
>> ><br> >> >> >> >> > Yes,I've already \
removed it. Did you read my previous message well ?<br> >> >> >> \
>> ><br> >> >> >> >> > netbsd-marietto# pkgin \
remove virtinst<br> >> >> >> >> ><br>
>> >> >> >> > 1 packages to delete:<br>
>> >> >> >> > virtinst-0.600.3nb3<br>
>> >> >> >> ><br>
>> >> >> >> > proceed ? [Y/n] y<br>
>> >> >> >> > removing virtinst-0.600.3nb3...<br>
>> >> >> >> > pkg_install warnings: 0, errors: 0<br>
>> >> >> >> > reading local summary...<br>
>> >> >> >> > processing local summary...<br>
>> >> >> >> > netbsd-marietto# make install<br>
>> >> >> >> > => Bootstrap dependency \
digest>=20010302: found digest-20190127<br> >> >> >> >> \
> ===> Installing binary package of virt-manager-2.2.1<br> >> >> \
>> >> ><br> >> >> >> >> > netbsd-marietto# \
virt-manager<br> >> >> >> >> ><br>
>> >> >> >> > Traceback (most recent call last):<br>
>> >> >> >> > File \
"/usr/pkg/share/virt-manager/virt-manager", line 19, in <module><br> \
>> >> >> >> > from virtinst import BuildConfig<br> \
>> >> >> >> > File \
"/usr/pkg/share/virt-manager/virtinst/__init__.py", line 60, in \
<module><br> >> >> >> >> > from \
virtinst.install.installer import Installer<br> >> >> >> >> \
> File "/usr/pkg/share/virt-manager/virtinst/install/installer.py", \
line 12, in <module><br> >> >> >> >> > from \
.installertreemedia import InstallerTreeMedia<br> >> >> >> >> \
> File "/usr/pkg/share/virt-manager/virtinst/install/installertreemedia.py", \
line 10, in <module><br> >> >> >> >> > from . \
import urlfetcher<br> >> >> >> >> > File \
"/usr/pkg/share/virt-manager/virtinst/install/urlfetcher.py", line 16, in \
<module><br> >> >> >> >> > import \
requests<br> >> >> >> >> > ModuleNotFoundError: No module \
named 'requests'<br> >> >> >> >><br>
>> >> >> >> Another missing run-time dependency - \
devel/py-requests<br> >> >> >> >><br>
>> >> >> >> ><br>
>> >> >> >> ><br>
>> >> >> >> > Il giorno mar 14 set 2021 alle ore 19:29 \
Chavdar Ivanov <<a href="mailto:ci4ic4@gmail.com" \
target="_blank">ci4ic4@gmail.com</a>> ha scritto:<br> >> >> >> \
>> >><br> >> >> >> >> >> virtinst that \
is...<br> >> >> >> >> >><br>
>> >> >> >> >> On Tue, 14 Sept 2021 at 18:28, Chavdar \
Ivanov <<a href="mailto:ci4ic4@gmail.com" target="_blank">ci4ic4@gmail.com</a>> \
wrote:<br> >> >> >> >> >> ><br>
>> >> >> >> >> > vistinst is an old package you can \
remove. I last built it in about<br> >> >> >> >> >> \
> 2019 and don't remember using it.<br> >> >> >> >> \
>> ><br> >> >> >> >> >> > On Tue, 14 Sept \
2021 at 18:01, Mario Marietto <<a href="mailto:marietto2008@gmail.com" \
target="_blank">marietto2008@gmail.com</a>> wrote:<br> >> >> >> \
>> >> > ><br> >> >> >> >> >> > \
> netbsd-marietto# pwd<br> >> >> >> >> >> > \
><br> >> >> >> >> >> > > \
/usr/pkgsrc/wip/virt-manager<br> >> >> >> >> >> > \
><br> >> >> >> >> >> > > netbsd-marietto# make \
install<br> >> >> >> >> >> > ><br>
>> >> >> >> >> > > ....<br>
>> >> >> >> >> > ><br>
>> >> >> >> >> > > compiling gsettings \
schemas<br> >> >> >> >> >> > > \
glib-compile-schemas \
/usr/pkgsrc/wip/virt-manager/work/.destdir/usr/pkg/share/glib-2.0/schemas<br> \
>> >> >> >> >> > > running install_egg_info<br> \
>> >> >> >> >> > > => Automatic manual page \
handling<br> >> >> >> >> >> > > => Generating \
post-install file lists<br> >> >> >> >> >> > > \
=> Checking file-check results for virt-manager-2.2.1<br> >> >> \
>> >> >> > > => Creating binary package \
/usr/pkgsrc/wip/virt-manager/work/.packages/virt-manager-2.2.1.tgz<br> >> \
>> >> >> >> > > ===> Building binary package for \
virt-manager-2.2.1<br> >> >> >> >> >> > > => \
Creating binary package /usr/pkgsrc/packages/All/virt-manager-2.2.1.tgz<br> >> \
>> >> >> >> > > ===> Installing binary package of \
virt-manager-2.2.1<br> >> >> >> >> >> > > \
pkg_add: Conflicting PLIST with virtinst-0.600.3nb3: bin/virt-clone<br> >> \
>> >> >> >> > > pkg_add: 1 package addition failed<br> \
>> >> >> >> >> > > *** Error code 1<br> >> \
>> >> >> >> > ><br> >> >> >> >> \
>> > > netbsd-marietto# pkgin remove virtinst<br> >> >> \
>> >> >> > ><br> >> >> >> >> >> \
> > 1 packages to delete:<br> >> >> >> >> >> > \
> virtinst-0.600.3nb3<br> >> >> >> >> >> > \
><br> >> >> >> >> >> > > proceed ? [Y/n] y<br>
>> >> >> >> >> > > removing \
virtinst-0.600.3nb3...<br> >> >> >> >> >> > > \
pkg_install warnings: 0, errors: 0<br> >> >> >> >> >> \
> > reading local summary...<br> >> >> >> >> >> \
> > processing local summary...<br> >> >> >> >> \
>> > > netbsd-marietto# make install<br> >> >> >> \
>> >> > > => Bootstrap dependency digest>=20010302: found \
digest-20190127<br> >> >> >> >> >> > > ===> \
Installing binary package of virt-manager-2.2.1<br> >> >> >> \
>> >> > ><br> >> >> >> >> >> > \
> netbsd-marietto# virt-manager<br> >> >> >> >> >> \
> ><br> >> >> >> >> >> > > Traceback (most \
recent call last):<br> >> >> >> >> >> > > \
File "/usr/pkg/share/virt-manager/virt-manager", line 19, in \
<module><br> >> >> >> >> >> > > from \
virtinst import BuildConfig<br> >> >> >> >> >> > \
> File "/usr/pkg/share/virt-manager/virtinst/__init__.py", line 60, \
in <module><br> >> >> >> >> >> > > \
from virtinst.install.installer import Installer<br> >> >> >> \
>> >> > > File \
"/usr/pkg/share/virt-manager/virtinst/install/installer.py", line 12, in \
<module><br> >> >> >> >> >> > > from \
.installertreemedia import InstallerTreeMedia<br> >> >> >> >> \
>> > > File \
"/usr/pkg/share/virt-manager/virtinst/install/installertreemedia.py", line \
10, in <module><br> >> >> >> >> >> > > \
from . import urlfetcher<br> >> >> >> >> >> > > \
File "/usr/pkg/share/virt-manager/virtinst/install/urlfetcher.py", line 16, \
in <module><br> >> >> >> >> >> > > \
import requests<br> >> >> >> >> >> > > \
ModuleNotFoundError: No module named 'requests'<br> >> >> \
>> >> >> > ><br> >> >> >> >> >> \
> ><br> >> >> >> >> >> > ><br>
>> >> >> >> >> > ><br>
>> >> >> >> >> > > Il giorno mar 14 set 2021 alle \
ore 18:40 Chavdar Ivanov <<a href="mailto:ci4ic4@gmail.com" \
target="_blank">ci4ic4@gmail.com</a>> ha scritto:<br> >> >> >> \
>> >> > >><br> >> >> >> >> >> > \
>> On Tue, 14 Sept 2021 at 17:11, Thomas Klausner <<a \
href="mailto:wiz@netbsd.org" target="_blank">wiz@netbsd.org</a>> wrote:<br> \
>> >> >> >> >> > >> ><br> >> >> \
>> >> >> > >> > On Tue, Sep 14, 2021 at 06:04:49PM \
+0200, Mario Marietto wrote:<br> >> >> >> >> >> > \
>> > > ERROR: [<a href="http://depends.mk" rel="noreferrer" \
target="_blank">depends.mk</a>] The directory \`../../wip/vte'' does not \
exist.`<br> >> >> >> >> >> > >> ><br>
>> >> >> >> >> > >> > If you see this, your \
checkout is not up-to-date.<br> >> >> >> >> >> > \
>> > There is no reference to wip/vte in the latest version. Please \
update.<br> >> >> >> >> >> > >> > \
Thomas<br> >> >> >> >> >> > >><br>
>> >> >> >> >> > >> That's true. In the \
latest wip/virt-manager Makefile, the reference to<br> >> >> >> \
>> >> > >> wip/vte has been replaced with x11/vte3; that's \
obvious; however, in<br> >> >> >> >> >> > >> \
order to be sure everything is current, one has to update the whole<br> >> \
>> >> >> >> > >> pkgsrc tree ( cd /usr/pkgsrc \
&& cvs up -dPA ) - which then will<br> >> >> >> >> \
>> > >> require 'pkg_rolling-replace' etc. I do the latter all \
the time, once<br> >> >> >> >> >> > >> or \
twice a week, first 'git pull' in pkgsrc/wip, then the pkgsrc<br> >> \
>> >> >> >> > >> update, then \
'pkg_rolling-replace -uvk', followed by manually chasing<br> >> \
>> >> >> >> > >> all possible failures of the \
latter; also, before running the rolling<br> >> >> >> >> \
>> > >> replace command, I run 'pkg_admin rebuild-tree', \
making sure it<br> >> >> >> >> >> > >> returns \
nothing (or something I expect and have decided not to<br> >> >> >> \
>> >> > >> correct), followed by a 'pkg_chk -uq' - which \
I expect to finish to<br> >> >> >> >> >> > >> \
the end (which is the complain that there is no<br> >> >> >> \
>> >> > >> /usr/pkgsrc/pkgchk_update-{build-hostname}.conf \
present in my case).<br> >> >> >> >> >> > \
>><br> >> >> >> >> >> > >> Just stating \
my usual workflow for pkgsrc+wip updates, in case it is useful.<br> >> >> \
>> >> >> > >><br> >> >> >> >> \
>> > >><br> >> >> >> >> >> > >> \
--<br> >> >> >> >> >> > >> ----<br>
>> >> >> >> >> > ><br>
>> >> >> >> >> > ><br>
>> >> >> >> >> > ><br>
>> >> >> >> >> > > --<br>
>> >> >> >> >> > > Mario.<br>
>> >> >> >> >> ><br>
>> >> >> >> >> ><br>
>> >> >> >> >> ><br>
>> >> >> >> >> > --<br>
>> >> >> >> >> > ----<br>
>> >> >> >> >><br>
>> >> >> >> >><br>
>> >> >> >> >><br>
>> >> >> >> >> --<br>
>> >> >> >> >> ----<br>
>> >> >> >> ><br>
>> >> >> >> ><br>
>> >> >> >> ><br>
>> >> >> >> > --<br>
>> >> >> >> > Mario.<br>
>> >> >> >><br>
>> >> >> >><br>
>> >> >> >><br>
>> >> >> >> --<br>
>> >> >> >> ----<br>
>> >> >> ><br>
>> >> >> ><br>
>> >> >> ><br>
>> >> >> > --<br>
>> >> >> > Mario.<br>
>> >> >><br>
>> >> >><br>
>> >> >><br>
>> >> >> --<br>
>> >> >> ----<br>
>> >> ><br>
>> >> ><br>
>> >> ><br>
>> >> > --<br>
>> >> > Mario.<br>
>> >><br>
>> >><br>
>> >><br>
>> >> --<br>
>> >> ----<br>
>> ><br>
>> ><br>
>> ><br>
>> > --<br>
>> > Mario.<br>
>><br>
>><br>
>><br>
>> --<br>
>> ----<br>
><br>
><br>
><br>
> --<br>
> Mario.<br>
<br>
<br>
<br>
-- <br>
----<br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr">Mario.<br></div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" \
class="gmail_signature">Mario.<br></div>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic