[MacPorts] #67879: govendor @1.0.9: go: cannot find main module, but found vendor/vendor.json

MacPorts noreply at macports.org
Mon Jul 31 08:34:22 UTC 2023


#67879: govendor @1.0.9: go: cannot find main module, but found vendor/vendor.json
------------------------+----------------------
 Reporter:  ryandesign  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.8.1
 Keywords:              |       Port:  govendor
------------------------+----------------------
 govendor does not build:

 https://build.macports.org/builders/ports-
 11_arm64-builder/builds/98654/steps/install-port/logs/stdio

 {{{
 go: cannot find main module, but found vendor/vendor.json in
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_govendor/govendor/work/govendor-1.0.9
         to create a module there, run:
         go mod init
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_govendor/govendor/work/govendor-1.0.9"
 && go install
 Exit code: 1
 }}}

 No ports depend on it.

 The govendor repository was archived in 2020 and its README says:

 > Please don't use this tool anymore.
 >
 > Please use Go modules.

 Can this port be deleted?

-- 
Ticket URL: <https://trac.macports.org/ticket/67879>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list