Hi!

> Please do not use it.  It is broken in many ways.  Use Dimtri's
> devel/modules2tuple instead.  Change to WRKSRC of your port and run
> `go mod vendor` then `modules2tuple vendor/modules.txt` and it will
> spit out an appropriate GH_TUPLE etc.

Thanks, I tested that approach with an updated version of net/gobgp.

I got the updated GH_TUPLE, included it in the ports Makefile,
ran make makesum, but make aborts, see below.

Are there several different ways that go is handling this ?

[...]
=> SHA256 Checksum OK for gobgp/vishvananda-netns-86bef332bfc3_GH0.tar.gz.
===>  Patching for gobgp-2.5.0
===>   gobgp-2.5.0 depends on file: /usr/local/bin/go - found
===>  Configuring for gobgp-2.5.0
===>  Building for gobgp-2.5.0
(cd /home/pi/m/net/gobgp/work/src/github.com/osrg/gobgp;  /usr/bin/env 
XDG_DATA_HOME=/home/pi/m/net/gobgp/work  
XDG_CONFIG_HOME=/home/pi/m/net/gobgp/work  HOME=/home/pi/m/net/gobgp/work 
PATH=/home/pi/m/net/gobgp/work/.bin:/home/pi/bin:/client/bin:/client/sbin:/usr/local/bin:/usr/local/sbin:/bin:/usr/bin:/sbin:/usr/sbin
 NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES 
PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  
-fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  
LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe 
-fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/usr/local" 
BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644" 
 BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  
BSD_INSTALL_MAN="install  -m 444" CGO_ENABLED=1  
CGO_CFLAGS="-I/usr/local/include"  CGO_LDFLAGS="-L/usr/local/lib"  GOARM= 
GOPATH="/home/pi/m/net/gobgp/work
 "  GOBIN="" /usr/local/bin/go install -v -buildmode=exe 
github.com/osrg/gobgp/gobgp  github.com/osrg/gobgp/gobgpd)
can't load package: package github.com/osrg/gobgp/gobgp: cannot find package 
"github.com/osrg/gobgp/gobgp" in any of:
        /usr/local/go/src/github.com/osrg/gobgp/gobgp (from $GOROOT)
        /home/pi/m/net/gobgp/work/src/github.com/osrg/gobgp/gobgp (from $GOPATH)
can't load package: package github.com/osrg/gobgp/gobgpd: cannot find package 
"github.com/osrg/gobgp/gobgpd" in any of:
        /usr/local/go/src/github.com/osrg/gobgp/gobgpd (from $GOROOT)
        /home/pi/m/net/gobgp/work/src/github.com/osrg/gobgp/gobgpd (from 
$GOPATH)
*** Error code 1

-- 
p...@opsec.eu            +49 171 3101372                    One year to go !
_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to