pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ImportError: No module named libvirt



oh sorry. I haven't read well. ok. I've used these paths now :

.include "/usr/pkgsrc/wip/libvirt/buildlink3.mk"
.include "/usr/pkgsrc/lang/python/distutils.mk"
.include "/usr/pkgsrc/mk/bsd.pkg.mk"

and this is wha happened :

netbsd-marietto# make

make: "/usr/pkgsrc/mk/bsd.fast.prefs.mk" line 7: Could not find ../../mk/bsd.prefs.mk
make: "/usr/pkgsrc/mk/bsd.fast.prefs.mk" line 7: Could not find ../../mk/bsd.prefs.mk
make: "/usr/pkgsrc/mk/bsd.fast.prefs.mk" line 7: Could not find ../../mk/bsd.prefs.mk
make: "/usr/pkgsrc/mk/bsd.fast.prefs.mk" line 7: Could not find ../../mk/bsd.prefs.mk
cd: can't cd to ../../security/gnutls
make: "/usr/pkgsrc/mk/pkg-build-options.mk" line 59: warning: "echo "";   -Q PKG_OPTIONS gnutls 2>/dev/null  || { cd ../../security/gnutls  && make  show-var VARNAME=PKG_OPTIONS; }" returned non-zero status
make: "/usr/pkgsrc/mk/bsd.fast.prefs.mk" line 7: Could not find ../../mk/bsd.prefs.mk
cd: can't cd to ../../textproc/libxml2
make: "/usr/pkgsrc/mk/pkg-build-options.mk" line 59: warning: "echo "";   -Q PKG_OPTIONS libxml2 2>/dev/null  || { cd ../../textproc/libxml2  && make PKG_BUILD_OPTIONS.gnutls= show-var VARNAME=PKG_OPTIONS; }" returned non-zero status
make: "/usr/pkgsrc/mk/bsd.fast.prefs.mk" line 7: Could not find ../../mk/bsd.prefs.mk
make: "/usr/pkgsrc/mk/bsd.prefs.mk" line 377: Cannot open /mk/defaults/mk.conf
make: "/usr/pkgsrc/mk/bsd.prefs.mk" line 395: Cannot open /mk/platform/NetBSD.mk
make: "/usr/pkgsrc/mk/bsd.prefs.mk" line 636: Cannot open /mk/tools/defaults.mk
make: "/usr/pkgsrc/mk/bsd.prefs.mk" line 638: Malformed conditional (${FETCH_USING} == "auto")
sh: 1: Syntax error: end of file unexpected
make: "/usr/pkgsrc/mk/bsd.prefs.mk" line 651: warning: "cd  && " returned non-zero status
sh: 1: Syntax error: end of file unexpected
make: "/usr/pkgsrc/mk/bsd.prefs.mk" line 671: warning: "cd /home/mario/Desktop/pkgsrc-wip/py-libvirt && " returned non-zero status
make: "/usr/pkgsrc/mk/bsd.prefs.mk" line 721: Malformed conditional (${PKGSRC_MKPIE:tl} == "yes" &&  ${MKPIE_SUPPORTED:Uyes:tl} == "yes" &&  ${_OPSYS_SUPPORTS_MKPIE:Uno} == "yes")
make: "/usr/pkgsrc/mk/bsd.prefs.mk" line 731: Malformed conditional (${PKGSRC_MKREPRO:tl} == "yes" &&  ${MKREPRO_SUPPORTED:Uyes:tl} == "yes" &&  ${_OPSYS_SUPPORTS_MKREPRO:Uno} == "yes")
make: "/usr/pkgsrc/mk/bsd.prefs.mk" line 742: Malformed conditional (${PKGSRC_USE_FORTIFY:tl} != "no" &&  ${FORTIFY_SUPPORTED:Uyes:tl} == "yes" &&  ${_OPSYS_SUPPORTS_FORTIFY:Uno} == "yes")
make: "/usr/pkgsrc/mk/bsd.prefs.mk" line 753: Malformed conditional (${PKGSRC_USE_RELRO:tl} != "no" &&  ${RELRO_SUPPORTED:Uyes:tl} == "yes" &&  ${_OPSYS_SUPPORTS_RELRO:Uno} == "yes")
make: "/usr/pkgsrc/mk/bsd.prefs.mk" line 765: Malformed conditional (${PKGSRC_USE_SSP:tl} != "no" &&  ${SSP_SUPPORTED:Uyes:tl} == "yes" &&  ${_OPSYS_SUPPORTS_SSP:Uno} == "yes")
make: "/usr/pkgsrc/mk/bsd.prefs.mk" line 776: Malformed conditional (${PKGSRC_USE_STACK_CHECK:tl} != "no" &&  ${STACK_CHECK_SUPPORTED:Uyes:tl} == "yes" &&  ${_OPSYS_SUPPORTS_STACK_CHECK:Uno} == "yes")
make: "/usr/pkgsrc/mk/bsd.prefs.mk" line 800: Malformed conditional (empty(PKGPATH:Mpkgtools/cwrappers) &&  (${USE_CWRAPPERS:tl} == "yes" ||  (${USE_CWRAPPERS:tl} == "auto" &&  ${_OPSYS_SUPPORTS_CWRAPPERS:Uno} == "yes")))
make: "/usr/pkgsrc/mk/wrapper/wrapper-defs.mk" line 33: Malformed conditional (${_USE_CWRAPPERS} == "yes")
sh: /usr/lib/libpthread.a: permission denied
sh: : not found
sh: no: not found
make: "/usr/pkgsrc/mk/buildlink3/find-libs.mk" line 65: warning: "if  "` /usr/lib/libpthread.*`" != "/usr/lib/libpthread.*"; then   yes;                                                 else                                                             no;                                            fi" returned non-zero status
sh: /usr/lib/libc_r.*: not found
sh: : not found
sh: no: not found
make: "/usr/pkgsrc/mk/buildlink3/find-libs.mk" line 65: warning: "if  "` /usr/lib/libc_r.*`" != "/usr/lib/libc_r.*"; then   yes;                                                 else                                                             no;                                            fi" returned non-zero status
sh: /usr/lib/librt.a: permission denied
sh: : not found
sh: no: not found
make: "/usr/pkgsrc/mk/buildlink3/find-libs.mk" line 65: warning: "if  "` /usr/lib/librt.*`" != "/usr/lib/librt.*"; then   yes;                                           else                                                             no;                                            fi" returned non-zero status
make: "/usr/pkgsrc/mk/dlopen.builtin.mk" line 9: Could not find ../../mk/buildlink3/bsd.builtin.mk
make: "/usr/pkgsrc/mk/check/bsd.check-vars.mk" line 22: Malformed conditional (${_OPSYS_CAN_CHECK_SHLIBS:tl} == "yes")
sh: -n: not found
make: "/usr/pkgsrc/mk/unprivileged.mk" line 129: warning: " -n -u" returned non-zero status
sh: -n: not found
make: "/usr/pkgsrc/mk/unprivileged.mk" line 132: warning: " -n -g" returned non-zero status
sh: -n: not found
make: "/usr/pkgsrc/mk/unprivileged.mk" line 135: warning: " -n -G" returned non-zero status
make: "/usr/pkgsrc/mk/bsd.pkg.mk" line 426: Malformed conditional (${_USE_CWRAPPERS} == "yes")
sh: /pkg_admin: not found
sh: /pkg_admin: not found
make: "${PKG_TOOLS_BIN}/pkg_admin -K ${_CROSS_DESTDIR}/usr/pkg/pkgdb config-var PKGVULNDIR" returned non-zero status
make: Fatal errors encountered -- cannot continue

Il giorno dom 12 set 2021 alle ore 21:54 Chavdar Ivanov <ci4ic4%gmail.com@localhost> ha scritto:
On Sun, 12 Sept 2021 at 20:42, Roland Illig <roland.illig%gmx.de@localhost> wrote:
>
> Am 12.09.2021 um 01:47 schrieb Mario Marietto:
> > I tried to start the compilation like this :
> >
> > |
> > netbsd-marietto# cd /home/mario/Desktop/pkgsrc-wip/py-libvirt
> > netbsd-marietto# make |
>
> Hello Mario,
>
> The idea behind pkgsrc-wip is that you put it right in the pkgsrc tree,
> just like an additional package category.  So instead of having it
> directly in Desktop/pkgsrc-wip, you should move and rename it to
> /usr/pkg/wip, since that's where it is expected.

/usr/pkgsrc/wip

>
> This will fix the "Could not find" errors from make and should allow you
> to continue successfully.
>
> Roland



--
----


--
Mario.


Home | Main Index | Thread Index | Old Index