[MacPorts] #68676: totp-cli - Need Help Upgrading to version 1.8.2

MacPorts noreply at macports.org
Sat Nov 11 20:26:29 UTC 2023


#68676: totp-cli - Need Help Upgrading to version 1.8.2
-----------------------+--------------------
  Reporter:  RobK88    |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.8.1
Resolution:            |   Keywords:
      Port:  totp-cli  |
-----------------------+--------------------
Description changed by RobK88:

Old description:

> I am not a Go developer.  I need some help upgrading the `totp-cli` port
> to the latest version 1.8.2.
>
> I have done this so far:
>
> 1.  Updated `go.setup` to point to the latest version of `totp-cli` which
> is v1.8.2
> 2.  Updated the various go libraries in `go.vendors` to the latest
> version
> 3.  Added the following required go libraries in `go.vendors`
>

> {{{
> github.com/urfave/cli
> github.com/cpuguy83/go-md2man
> github.com/xrash/smetrics
> }}}
>
> But I am unable to add the `filippo.io/age` and `filippo.io/age/armor`
> libraries.
>
> Apparently, `go-vendors` does not support libraries from `filippo.io`.
>
> Instead, I added `github.com/FiloSottile/age` which provides the same
> library but the source for `totp-cli` cannot find this library.  I
> suspect  the source may need to be patched.
>
> Here is the output:
>

> {{{
> Grinchs-MacBook-Pro:~ grinch$ sudo port clean totp-cli
> --->  Cleaning totp-cli
>
> Grinchs-MacBook-Pro:~ grinch$ sudo port -vs upgrade totp-cli
> --->  Computing dependencies for totp-cli.
> --->  Fetching distfiles for totp-cli
> --->  Verifying checksums for totp-cli
> --->  Checksumming totp-cli-1.8.2.tar.gz
> --->  Checksumming go-yaml-yaml-v3.0.1.tar.gz
> --->  Checksumming go-yaml-yaml-v2.4.0.tar.gz
> --->  Checksumming golang-term-v0.14.0.tar.gz
> --->  Checksumming golang-sys-v0.14.0.tar.gz
> --->  Checksumming golang-crypto-v0.15.0.tar.gz
> --->  Checksumming yitsushi-go-commander-v1.1.0.tar.gz
> --->  Checksumming yitsushi-github-release-check-v1.0.2.tar.gz
> --->  Checksumming stretchr-testify-v1.8.4.tar.gz
> --->  Checksumming stretchr-objx-v0.5.1.tar.gz
> --->  Checksumming pmezard-go-difflib-v1.0.0.tar.gz
> --->  Checksumming mitchellh-go-homedir-v1.1.0.tar.gz
> --->  Checksumming kardianos-osext-2bc1f35cddc0.tar.gz
> --->  Checksumming davecgh-go-spew-v1.1.1.tar.gz
> --->  Checksumming urfave-cli-v2.25.7.tar.gz
> --->  Checksumming cpuguy83-go-md2man-v2.0.3.tar.gz
> --->  Checksumming xrash-smetrics-
> 039620a656736e6ad994090895784a7af15e0b80.tar.gz
> --->  Checksumming FiloSottile-age-v1.1.1.tar.gz
> --->  Extracting totp-cli
> --->  Extracting totp-cli-1.8.2.tar.gz
> Executing:  cd "/opt/local/var/macports/build
> /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
> /totp-cli/work" && /usr/bin/gzip -dc
> '/opt/local/var/macports/distfiles/go/totp-cli-1.8.2.tar.gz' |
> /usr/bin/tar -xf -
> --->  Extracting go-yaml-yaml-v3.0.1.tar.gz
> Executing:  cd "/opt/local/var/macports/build
> /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
> /totp-cli/work" && /usr/bin/gzip -dc
> '/opt/local/var/macports/distfiles/go/go-yaml-yaml-v3.0.1.tar.gz' |
> /usr/bin/tar -xf -
> --->  Extracting go-yaml-yaml-v2.4.0.tar.gz
> Executing:  cd "/opt/local/var/macports/build
> /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
> /totp-cli/work" && /usr/bin/gzip -dc
> '/opt/local/var/macports/distfiles/go/go-yaml-yaml-v2.4.0.tar.gz' |
> /usr/bin/tar -xf -
> --->  Extracting golang-term-v0.14.0.tar.gz
> Executing:  cd "/opt/local/var/macports/build
> /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
> /totp-cli/work" && /usr/bin/gzip -dc
> '/opt/local/var/macports/distfiles/go/golang-term-v0.14.0.tar.gz' |
> /usr/bin/tar -xf -
> --->  Extracting golang-sys-v0.14.0.tar.gz
> Executing:  cd "/opt/local/var/macports/build
> /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
> /totp-cli/work" && /usr/bin/gzip -dc
> '/opt/local/var/macports/distfiles/go/golang-sys-v0.14.0.tar.gz' |
> /usr/bin/tar -xf -
> --->  Extracting golang-crypto-v0.15.0.tar.gz
> Executing:  cd "/opt/local/var/macports/build
> /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
> /totp-cli/work" && /usr/bin/gzip -dc
> '/opt/local/var/macports/distfiles/go/golang-crypto-v0.15.0.tar.gz' |
> /usr/bin/tar -xf -
> --->  Extracting yitsushi-go-commander-v1.1.0.tar.gz
> Executing:  cd "/opt/local/var/macports/build
> /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
> /totp-cli/work" && /usr/bin/gzip -dc
> '/opt/local/var/macports/distfiles/go/yitsushi-go-
> commander-v1.1.0.tar.gz' | /usr/bin/tar -xf -
> --->  Extracting yitsushi-github-release-check-v1.0.2.tar.gz
> Executing:  cd "/opt/local/var/macports/build
> /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
> /totp-cli/work" && /usr/bin/gzip -dc
> '/opt/local/var/macports/distfiles/go/yitsushi-github-release-
> check-v1.0.2.tar.gz' | /usr/bin/tar -xf -
> --->  Extracting stretchr-testify-v1.8.4.tar.gz
> Executing:  cd "/opt/local/var/macports/build
> /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
> /totp-cli/work" && /usr/bin/gzip -dc
> '/opt/local/var/macports/distfiles/go/stretchr-testify-v1.8.4.tar.gz' |
> /usr/bin/tar -xf -
> --->  Extracting stretchr-objx-v0.5.1.tar.gz
> Executing:  cd "/opt/local/var/macports/build
> /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
> /totp-cli/work" && /usr/bin/gzip -dc
> '/opt/local/var/macports/distfiles/go/stretchr-objx-v0.5.1.tar.gz' |
> /usr/bin/tar -xf -
> --->  Extracting pmezard-go-difflib-v1.0.0.tar.gz
> Executing:  cd "/opt/local/var/macports/build
> /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
> /totp-cli/work" && /usr/bin/gzip -dc
> '/opt/local/var/macports/distfiles/go/pmezard-go-difflib-v1.0.0.tar.gz' |
> /usr/bin/tar -xf -
> --->  Extracting mitchellh-go-homedir-v1.1.0.tar.gz
> Executing:  cd "/opt/local/var/macports/build
> /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
> /totp-cli/work" && /usr/bin/gzip -dc
> '/opt/local/var/macports/distfiles/go/mitchellh-go-homedir-v1.1.0.tar.gz'
> | /usr/bin/tar -xf -
> --->  Extracting kardianos-osext-2bc1f35cddc0.tar.gz
> Executing:  cd "/opt/local/var/macports/build
> /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
> /totp-cli/work" && /usr/bin/gzip -dc
> '/opt/local/var/macports/distfiles/go/kardianos-osext-
> 2bc1f35cddc0.tar.gz' | /usr/bin/tar -xf -
> --->  Extracting davecgh-go-spew-v1.1.1.tar.gz
> Executing:  cd "/opt/local/var/macports/build
> /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
> /totp-cli/work" && /usr/bin/gzip -dc
> '/opt/local/var/macports/distfiles/go/davecgh-go-spew-v1.1.1.tar.gz' |
> /usr/bin/tar -xf -
> --->  Extracting urfave-cli-v2.25.7.tar.gz
> Executing:  cd "/opt/local/var/macports/build
> /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
> /totp-cli/work" && /usr/bin/gzip -dc
> '/opt/local/var/macports/distfiles/go/urfave-cli-v2.25.7.tar.gz' |
> /usr/bin/tar -xf -
> --->  Extracting cpuguy83-go-md2man-v2.0.3.tar.gz
> Executing:  cd "/opt/local/var/macports/build
> /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
> /totp-cli/work" && /usr/bin/gzip -dc
> '/opt/local/var/macports/distfiles/go/cpuguy83-go-md2man-v2.0.3.tar.gz' |
> /usr/bin/tar -xf -
> --->  Extracting xrash-smetrics-
> 039620a656736e6ad994090895784a7af15e0b80.tar.gz
> Executing:  cd "/opt/local/var/macports/build
> /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
> /totp-cli/work" && /usr/bin/gzip -dc
> '/opt/local/var/macports/distfiles/go/xrash-smetrics-
> 039620a656736e6ad994090895784a7af15e0b80.tar.gz' | /usr/bin/tar -xf -
> --->  Extracting FiloSottile-age-v1.1.1.tar.gz
> Executing:  cd "/opt/local/var/macports/build
> /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
> /totp-cli/work" && /usr/bin/gzip -dc
> '/opt/local/var/macports/distfiles/go/FiloSottile-age-v1.1.1.tar.gz' |
> /usr/bin/tar -xf -
> xinstall: mkdir /opt/local/var/macports/build
> /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
> /totp-cli/work/compwrap
> xinstall: mkdir /opt/local/var/macports/build
> /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
> /totp-cli/work/compwrap/cc
> xinstall: mkdir /opt/local/var/macports/build
> /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
> /totp-cli/work/compwrap/cc/usr
> xinstall: mkdir /opt/local/var/macports/build
> /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
> /totp-cli/work/compwrap/cc/usr/bin
> xinstall: mkdir /opt/local/var/macports/build
> /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
> /totp-cli/work/compwrap/objc
> xinstall: mkdir /opt/local/var/macports/build
> /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
> /totp-cli/work/compwrap/objc/usr
> xinstall: mkdir /opt/local/var/macports/build
> /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
> /totp-cli/work/compwrap/objc/usr/bin
> xinstall: mkdir /opt/local/var/macports/build
> /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
> /totp-cli/work/compwrap/cxx
> xinstall: mkdir /opt/local/var/macports/build
> /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
> /totp-cli/work/compwrap/cxx/usr
> xinstall: mkdir /opt/local/var/macports/build
> /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
> /totp-cli/work/compwrap/cxx/usr/bin
> xinstall: mkdir /opt/local/var/macports/build
> /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
> /totp-cli/work/compwrap/objcxx
> xinstall: mkdir /opt/local/var/macports/build
> /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
> /totp-cli/work/compwrap/objcxx/usr
> xinstall: mkdir /opt/local/var/macports/build
> /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
> /totp-cli/work/compwrap/objcxx/usr/bin
> --->  Configuring totp-cli
> --->  Building totp-cli
> Executing:  cd "/opt/local/var/macports/build
> /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
> /totp-cli/work/gopath/src/github.com/yitsushi/totp-cli" &&
> /opt/local/bin/go build
> internal/storage/storage.go:15:2: cannot find package "filippo.io/age" in
> any of:
>         /opt/local/lib/go/src/filippo.io/age (from $GOROOT)
>         /opt/local/var/macports/build
> /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
> /totp-cli/work/gopath/src/filippo.io/age (from $GOPATH)
> internal/storage/storage.go:16:2: cannot find package
> "filippo.io/age/armor" in any of:
>         /opt/local/lib/go/src/filippo.io/age/armor (from $GOROOT)
>         /opt/local/var/macports/build
> /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
> /totp-cli/work/gopath/src/filippo.io/age/armor (from $GOPATH)
> Command failed:  cd "/opt/local/var/macports/build
> /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
> /totp-cli/work/gopath/src/github.com/yitsushi/totp-cli" &&
> /opt/local/bin/go build
> Exit code: 1
> Error: Failed to build totp-cli: command execution failed
> Error: See /opt/local/var/macports/logs
> /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
> /totp-cli/main.log for details.
> Error: Follow https://guide.macports.org/#project.tickets if you believe
> there is a bug.
> }}}
>
> Any ideas?

New description:

 I am not a Go developer.  I need some help upgrading the `totp-cli` port
 to the latest version 1.8.2.

 I have done this so far:

 1.  Updated `go.setup` to point to the latest version of `totp-cli` which
 is v1.8.2
 2.  Updated the various go packages in `go.vendors` to the latest version
 3.  Added the following required go packages in `go.vendors`


 {{{
 github.com/urfave/cli
 github.com/cpuguy83/go-md2man
 github.com/xrash/smetrics
 }}}

 But I am unable to add the `filippo.io/age` and `filippo.io/age/armor`
 packages.

 Apparently, `go-vendors` does not support packages from `filippo.io`.

 Instead, I added the `github.com/FiloSottile/age` package which provides
 the same functionality but the source for `totp-cli` cannot find this
 package.  I suspect  the source may need to be patched.

 Here is the output:


 {{{
 Grinchs-MacBook-Pro:~ grinch$ sudo port clean totp-cli
 --->  Cleaning totp-cli

 Grinchs-MacBook-Pro:~ grinch$ sudo port -vs upgrade totp-cli
 --->  Computing dependencies for totp-cli.
 --->  Fetching distfiles for totp-cli
 --->  Verifying checksums for totp-cli
 --->  Checksumming totp-cli-1.8.2.tar.gz
 --->  Checksumming go-yaml-yaml-v3.0.1.tar.gz
 --->  Checksumming go-yaml-yaml-v2.4.0.tar.gz
 --->  Checksumming golang-term-v0.14.0.tar.gz
 --->  Checksumming golang-sys-v0.14.0.tar.gz
 --->  Checksumming golang-crypto-v0.15.0.tar.gz
 --->  Checksumming yitsushi-go-commander-v1.1.0.tar.gz
 --->  Checksumming yitsushi-github-release-check-v1.0.2.tar.gz
 --->  Checksumming stretchr-testify-v1.8.4.tar.gz
 --->  Checksumming stretchr-objx-v0.5.1.tar.gz
 --->  Checksumming pmezard-go-difflib-v1.0.0.tar.gz
 --->  Checksumming mitchellh-go-homedir-v1.1.0.tar.gz
 --->  Checksumming kardianos-osext-2bc1f35cddc0.tar.gz
 --->  Checksumming davecgh-go-spew-v1.1.1.tar.gz
 --->  Checksumming urfave-cli-v2.25.7.tar.gz
 --->  Checksumming cpuguy83-go-md2man-v2.0.3.tar.gz
 --->  Checksumming xrash-smetrics-
 039620a656736e6ad994090895784a7af15e0b80.tar.gz
 --->  Checksumming FiloSottile-age-v1.1.1.tar.gz
 --->  Extracting totp-cli
 --->  Extracting totp-cli-1.8.2.tar.gz
 Executing:  cd "/opt/local/var/macports/build
 /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
 /totp-cli/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/go
 /totp-cli-1.8.2.tar.gz' | /usr/bin/tar -xf -
 --->  Extracting go-yaml-yaml-v3.0.1.tar.gz
 Executing:  cd "/opt/local/var/macports/build
 /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
 /totp-cli/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/go
 /go-yaml-yaml-v3.0.1.tar.gz' | /usr/bin/tar -xf -
 --->  Extracting go-yaml-yaml-v2.4.0.tar.gz
 Executing:  cd "/opt/local/var/macports/build
 /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
 /totp-cli/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/go
 /go-yaml-yaml-v2.4.0.tar.gz' | /usr/bin/tar -xf -
 --->  Extracting golang-term-v0.14.0.tar.gz
 Executing:  cd "/opt/local/var/macports/build
 /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
 /totp-cli/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/go
 /golang-term-v0.14.0.tar.gz' | /usr/bin/tar -xf -
 --->  Extracting golang-sys-v0.14.0.tar.gz
 Executing:  cd "/opt/local/var/macports/build
 /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
 /totp-cli/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/go
 /golang-sys-v0.14.0.tar.gz' | /usr/bin/tar -xf -
 --->  Extracting golang-crypto-v0.15.0.tar.gz
 Executing:  cd "/opt/local/var/macports/build
 /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
 /totp-cli/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/go
 /golang-crypto-v0.15.0.tar.gz' | /usr/bin/tar -xf -
 --->  Extracting yitsushi-go-commander-v1.1.0.tar.gz
 Executing:  cd "/opt/local/var/macports/build
 /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
 /totp-cli/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/go
 /yitsushi-go-commander-v1.1.0.tar.gz' | /usr/bin/tar -xf -
 --->  Extracting yitsushi-github-release-check-v1.0.2.tar.gz
 Executing:  cd "/opt/local/var/macports/build
 /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
 /totp-cli/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/go
 /yitsushi-github-release-check-v1.0.2.tar.gz' | /usr/bin/tar -xf -
 --->  Extracting stretchr-testify-v1.8.4.tar.gz
 Executing:  cd "/opt/local/var/macports/build
 /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
 /totp-cli/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/go
 /stretchr-testify-v1.8.4.tar.gz' | /usr/bin/tar -xf -
 --->  Extracting stretchr-objx-v0.5.1.tar.gz
 Executing:  cd "/opt/local/var/macports/build
 /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
 /totp-cli/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/go
 /stretchr-objx-v0.5.1.tar.gz' | /usr/bin/tar -xf -
 --->  Extracting pmezard-go-difflib-v1.0.0.tar.gz
 Executing:  cd "/opt/local/var/macports/build
 /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
 /totp-cli/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/go
 /pmezard-go-difflib-v1.0.0.tar.gz' | /usr/bin/tar -xf -
 --->  Extracting mitchellh-go-homedir-v1.1.0.tar.gz
 Executing:  cd "/opt/local/var/macports/build
 /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
 /totp-cli/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/go
 /mitchellh-go-homedir-v1.1.0.tar.gz' | /usr/bin/tar -xf -
 --->  Extracting kardianos-osext-2bc1f35cddc0.tar.gz
 Executing:  cd "/opt/local/var/macports/build
 /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
 /totp-cli/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/go
 /kardianos-osext-2bc1f35cddc0.tar.gz' | /usr/bin/tar -xf -
 --->  Extracting davecgh-go-spew-v1.1.1.tar.gz
 Executing:  cd "/opt/local/var/macports/build
 /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
 /totp-cli/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/go
 /davecgh-go-spew-v1.1.1.tar.gz' | /usr/bin/tar -xf -
 --->  Extracting urfave-cli-v2.25.7.tar.gz
 Executing:  cd "/opt/local/var/macports/build
 /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
 /totp-cli/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/go
 /urfave-cli-v2.25.7.tar.gz' | /usr/bin/tar -xf -
 --->  Extracting cpuguy83-go-md2man-v2.0.3.tar.gz
 Executing:  cd "/opt/local/var/macports/build
 /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
 /totp-cli/work" && /usr/bin/gzip -dc
 '/opt/local/var/macports/distfiles/go/cpuguy83-go-md2man-v2.0.3.tar.gz' |
 /usr/bin/tar -xf -
 --->  Extracting xrash-smetrics-
 039620a656736e6ad994090895784a7af15e0b80.tar.gz
 Executing:  cd "/opt/local/var/macports/build
 /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
 /totp-cli/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/go
 /xrash-smetrics-039620a656736e6ad994090895784a7af15e0b80.tar.gz' |
 /usr/bin/tar -xf -
 --->  Extracting FiloSottile-age-v1.1.1.tar.gz
 Executing:  cd "/opt/local/var/macports/build
 /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
 /totp-cli/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/go
 /FiloSottile-age-v1.1.1.tar.gz' | /usr/bin/tar -xf -
 xinstall: mkdir /opt/local/var/macports/build
 /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
 /totp-cli/work/compwrap
 xinstall: mkdir /opt/local/var/macports/build
 /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
 /totp-cli/work/compwrap/cc
 xinstall: mkdir /opt/local/var/macports/build
 /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
 /totp-cli/work/compwrap/cc/usr
 xinstall: mkdir /opt/local/var/macports/build
 /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
 /totp-cli/work/compwrap/cc/usr/bin
 xinstall: mkdir /opt/local/var/macports/build
 /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
 /totp-cli/work/compwrap/objc
 xinstall: mkdir /opt/local/var/macports/build
 /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
 /totp-cli/work/compwrap/objc/usr
 xinstall: mkdir /opt/local/var/macports/build
 /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
 /totp-cli/work/compwrap/objc/usr/bin
 xinstall: mkdir /opt/local/var/macports/build
 /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
 /totp-cli/work/compwrap/cxx
 xinstall: mkdir /opt/local/var/macports/build
 /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
 /totp-cli/work/compwrap/cxx/usr
 xinstall: mkdir /opt/local/var/macports/build
 /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
 /totp-cli/work/compwrap/cxx/usr/bin
 xinstall: mkdir /opt/local/var/macports/build
 /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
 /totp-cli/work/compwrap/objcxx
 xinstall: mkdir /opt/local/var/macports/build
 /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
 /totp-cli/work/compwrap/objcxx/usr
 xinstall: mkdir /opt/local/var/macports/build
 /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
 /totp-cli/work/compwrap/objcxx/usr/bin
 --->  Configuring totp-cli
 --->  Building totp-cli
 Executing:  cd "/opt/local/var/macports/build
 /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
 /totp-cli/work/gopath/src/github.com/yitsushi/totp-cli" &&
 /opt/local/bin/go build
 internal/storage/storage.go:15:2: cannot find package "filippo.io/age" in
 any of:
         /opt/local/lib/go/src/filippo.io/age (from $GOROOT)
         /opt/local/var/macports/build
 /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
 /totp-cli/work/gopath/src/filippo.io/age (from $GOPATH)
 internal/storage/storage.go:16:2: cannot find package
 "filippo.io/age/armor" in any of:
         /opt/local/lib/go/src/filippo.io/age/armor (from $GOROOT)
         /opt/local/var/macports/build
 /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
 /totp-cli/work/gopath/src/filippo.io/age/armor (from $GOPATH)
 Command failed:  cd "/opt/local/var/macports/build
 /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
 /totp-cli/work/gopath/src/github.com/yitsushi/totp-cli" &&
 /opt/local/bin/go build
 Exit code: 1
 Error: Failed to build totp-cli: command execution failed
 Error: See /opt/local/var/macports/logs
 /_Users_grinch_Development_MacPorts_local-repo_ports_security_totp-cli
 /totp-cli/main.log for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 }}}

 Any ideas?

--

-- 
Ticket URL: <https://trac.macports.org/ticket/68676#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list