gopass: No gpg binary found: mkdir /nonexistent: permission denied

Hello,

I’m trying to update FreeBSD gopass port from 1.11.0 to 1.12.1 and I verifying a very strange behavior when port do a post-build to create completions:

post-build:
.for SHELL in bash fish zsh
        ${WRKDIR}/bin/${PORTNAME} completion ${SHELL} > ${WRKSRC}/${SHELL}
.endfor

And it gives the error:

/wrkdirs/usr/ports/security/gopass/work/bin/gopass completion bash > /wrkdirs/usr/ports/security/gopass/work/gopass-1.12.1/bash
❌ No gpg binary found: mkdir /nonexistent: permission denied
*** Error code 19

Stop.
make: stopped in /usr/ports/security/gopass
build of security/gopass | gopass-1.12.1 ended at Thu Mar 11 12:09:45 WET 2021
build time: 00:00:58
!!! build failure encountered !!!

It works ok with 1.11.0.

Any hints on this issue?

Thanks,

Nuno Teixeira

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 21 (11 by maintainers)

Commits related to this issue

Most upvoted comments

Agreed, let’s cut 1.12.2 now.

We have a bunch of relevant Bugfixes waiting already.

I think we should postpone the ln feature a cut 1.12.2 without it.

@AnomalRoil wdyt?