On Sat, Aug 19, 2023 at 12:23:03PM +0900, lain. wrote: > I just updated my ports tree with "cvs -q up -Pd -A", the usual stuff, > and tried to install net/weechat from the ports, because the one in the > repository is too outdated. > This is the problem: > > ``` > # make install > Fatal: requires make(1) with .VARIABLES support (in net/weechat) > *** Error 1 in /usr/ports/net/weechat > (/usr/ports/infrastructure/mk/bsd.port.mk:3808 '.BEGIN': @exit 1) > ``` > > I tried 2 other ports to see if this is just WeeChat or not, other ports > give the exact same error. > I repeated the same process on 2 other machines, and they all have the > exact same problem. > All machines are running OpenBSD 7.3 amd64. > > Just to rule out a few solutions, I run "pkg_add -ui && syspatch" > multiple times a week, last time I did was yesterday, so my systems are > all up to date.
You are mixing current ports with release. That is not supported. Either upgrade to current or use a stable ports tree. >From https://www.openbsd.org/faq/ports/ports.html: "Do not check out a -current ports tree and expect it to work on a release or -stable system. If you follow -current, you need both a -current base system and a -current ports tree. " -- Antoine