tech-pkg archive

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

Re: can't buildlink files



Hi,

I have the following patch for some dependency problems
after pkgdb migration.
I have no problem about mail/neomutt with the patch.

Index: mk/pkgformat/pkg/pkgformat-vars.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/pkgformat/pkg/pkgformat-vars.mk,v
retrieving revision 1.9
diff -u -r1.9 pkgformat-vars.mk
--- mk/pkgformat/pkg/pkgformat-vars.mk	2 Dec 2020 10:22:39 -0000	1.9
+++ mk/pkgformat/pkg/pkgformat-vars.mk	3 Dec 2020 09:31:19 -0000
@@ -16,7 +16,7 @@
 .endif
 
 # This is the package database directory for the default view.
-PKG_DBDIR?=		${PREFIX}/pkgdb
+PKG_DBDIR?=		${LOCALBASE}/pkgdb
 
 .if exists(/var/db/pkg) && !exists(${PKG_DBDIR})
 PKG_DBDIR_ERROR=	The default package database directory has changed. Please run: mv /var/db/pkg ${PKG_DBDIR}

Thank you.


Thomas Klausner <wiz%NetBSD.org@localhost> writes:

> Hi!
>
> I've updated my NetBSD-current, now I see:
>
> # cd /usr/pkgsrc/mail/neomutt
> # pkg_info | grep ncur
> ncurses-6.2nb2      CRT screen handling and optimization package
> ncursesw-6.2        Wide character CRT screen handling and optimization package
> # make show-var VARNAME=BUILDLINK_API_DEPENDS.ncurses 
> ncurses-6.2{,nb*}:../../devel/ncurses ncurses>=6.0:../../devel/ncurses ncurses>=5.3nb1
> # make show-var VARNAME=BUILDLINK_ABI_DEPENDS.ncurses
> ncurses>=6.0
> # make clean; make package
> ...
> ===> Creating toolchain wrappers for neomutt-20201120
> ERROR: ncurses-6.2{,nb*}:../../devel/ncurses ncurses>=6.0:../../devel/ncurses ncurses>=5.3nb1 is not installed; can't buildlink files.
> *** Error code 1
>
> I don't see any recent changes to mk/ or devel/ncurses*.
>
> (I do wonder about the mix of foo-*:/path and foo-* without path.)
>
> Any ideas what could be the problem here?
>  Thomas

-- 
Ryo ONODERA // ryo%tetera.org@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3


Home | Main Index | Thread Index | Old Index