On Fri, May 07, 2021 at 12:58:18AM +0000, James Cook wrote: > On Thu, May 06, 2021 at 07:02:10PM -0500, Chris Bennett wrote: > > I'm having an error getting doas make install. Also fails when using root > > for make package and when I moved the directory over into /usr/ports/devel/ > > > > This is what is getting produced with make package: > > > > CX p5-File-PathList $ tar zvf > > /usr/packages/amd64/all/p5-File-PathList-1.04.tgz > > -r--r--r-- 1 root wheel 518 May 6 17:47 +CONTENTS > > -r--r--r-- 1 root wheel 602 May 6 17:47 +DESC > > -r--r--r-- 1 root bin 5191 Dec 31 1969 > > libdata/perl5/site_perl/File/PathList.pm > > -r--r--r-- 1 root bin 6216 Dec 31 1969 > > man/man3p/File::PathList.3p > > > > CX all # tar xzvf p5-File-PathList-1.04.tgz > > +CONTENTS > > +DESC > > libdata/perl5/site_perl/File/PathList.pm > > man/man3p/File::PathList.3p > > > > CX all # cat +CONTENTS > > @comment $OpenBSD: PLIST,v$ > > @name p5-File-PathList-1.04 > > @comment pkgpath=devel/p5-File-PathList ftp=yes > > @arch * > > +DESC > > @sha zVmYJtE6NhOnNIiaIO/Mg3dqWHUzbGSvEs4uCd9lAvQ= > > @size 602 > > @depend devel/p5-Params-Util:p5-Params-Util-*:p5-Params-Util-1.07p2 > > @cwd /usr/local > > libdata/perl5/site_perl/File/ > > libdata/perl5/site_perl/File/PathList.pm > > @sha xPu9e1UGezN3CF1fdqjA9eWCPK0yALnGUj/3DA/UFjI= > > @size 5191 > > @ts 1215675005 > > @man man/man3p/File::PathList.3p > > @sha v3i5tb/ui1rMuD1cs5tt3H2RWq1mDmy1WGdc5B9cCUM= > > @size 6216 > > @ts 1620344553 > > > > > > I'm getting the following when doing doas make install: > > > > CX p5-File-PathList $ MI > > doas (s...@mail.bennettconstruction.us) password: > > ===> Installing p5-File-PathList-1.04 from /usr/packages/amd64/all/ > > doas (r...@mail.bennettconstruction.us) password: > > quirks-4.9 signed on 2021-05-06T19:40:58Z > > quirks-4.6->4.9: ok > > file:/usr/packages/amd64/all/p5-File-PathList-1.04.tgz: unsigned package > > I had a similar error, and fixed it by adding keepenv to my doas > config. I think the variable that needs to be passed through is > TRUSTED_PKG_PATH. > > http://openbsd-archive.7691.n7.nabble.com/signify-error-when-installing-ports-on-current-td366895.html >
I also thought that TRUSTED_PKG_PATH was likely the problem. What exactly did you put in doas.conf? I also untarred -current's /etc/example/doas.conf and didn't see anything different from what I already had uncommented. When I run make show=TRUSTED_PKG_PATH under /usr/ports/devel I get it from every port except my new one. CX devel # cat /etc/doas.conf # $OpenBSD: doas.conf,v 1.1 2016/09/03 11:58:32 pirofti Exp $ # Configuration sample file for doas(1). # See doas.conf(5) for syntax and examples. # Non-exhaustive list of variables needed to build release(8) and ports(7) permit nopass setenv { \ FTPMODE PKG_CACHE PKG_PATH SM_PATH SSH_AUTH_SOCK \ DESTDIR DISTDIR FETCH_CMD FLAVOR GROUP MAKE MAKECONF \ MULTI_PACKAGES NOMAN OKAY_FILES OWNER PKG_DBDIR \ PKG_DESTDIR PKG_TMPDIR PORTSDIR RELEASEDIR SHARED_ONLY \ SUBPACKAGE WRKOBJDIR SUDO_PORT_V1 } :wsrc # Allow wheel by default permit keepenv :wheel # Allow sls by pkg_add and pkg_delete #permit nopass sls as root cmd /usr/sbin/pkg_add #permit nopass sls as root cmd /usr/sbin/pkg_delete permit nopass _syslogd as root cmd /usr/local/sbin/sshlockout permit root permit nopass _pfbadhost cmd /sbin/pfctl args -nf /etc/pf.conf permit nopass _pfbadhost cmd /sbin/pfctl args -t pfbadhost -T replace -f /etc/pf-badhost.txt # Optional rule for authlog scanning permit nopass _pfbadhost cmd /usr/bin/zcat args -f /var/log/authlog /var/log/authlog.0.gz -- Chris