[MacPorts] #66727: totp-cli builds But does not Update Properly -- Missing Symbol - _clock_gettime

MacPorts noreply at macports.org
Sat Jan 21 00:52:50 UTC 2023


#66727: totp-cli builds But does not Update Properly -- Missing Symbol -
_clock_gettime
-----------------------+--------------------
  Reporter:  RobK88    |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.8.0
Resolution:            |   Keywords:  lion
      Port:  totp-cli  |
-----------------------+--------------------

Comment (by RobK88):

 I just updated the Portfile for `totp-cli` so it will try to build the
 latest version 1.2.5.  (See attached)

 But the build fails.  It looks like there is a missing dependency --
 `golang.org/x/term`.
 See the end of `main.log` reproduced below:


 {{{
 :info:build internal/terminal/terminal.go:10:2: cannot find package
 "golang.org/x/term" in any of:
 :info:build     /opt/local/lib/go/src/golang.org/x/term (from $GOROOT)
 :info:build     /opt/local/var/macports/build
 /_Users_grinch_Macports_ports_security_totp-cli/totp-
 cli/work/gopath/src/golang.org/x/term (from $GOPATH)
 :info:build Command failed:  cd "/opt/local/var/macports/build
 /_Users_grinch_Macports_ports_security_totp-cli/totp-
 cli/work/gopath/src/github.com/yitsushi/totp-cli" && /opt/local/bin/go
 build
 :info:build Exit code: 1
 :error:build Failed to build totp-cli: command execution failed
 :debug:build Error code: CHILDSTATUS 4245 1
 :debug:build Backtrace: command execution failed
 :debug:build     while executing
 :debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
 :debug:build     invoked from within
 :debug:build "command_exec -callback
 portprogress::target_progress_callback build"
 :debug:build     (procedure "portbuild::build_main" line 8)
 :debug:build     invoked from within
 :debug:build "$procedure $targetname"
 :error:build See /opt/local/var/macports/logs
 /_Users_grinch_Macports_ports_security_totp-cli/totp-cli/main.log for
 details.
 }}}

 Does anyone know how to add the missing dependency to the Portfile?

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


More information about the macports-tickets mailing list