I am getting a compilation error with latest gobgp code.
[ashaikh@vsp-core-rtr ~/go/src/github.com/osrg]$ go install -x
github.com/osrg/gobgp/gobgpd
WORK=/tmp/go-build595686108
mkdir -p $WORK/github.com/osrg/gobgp/table/_obj/
mkdir -p $WORK/github.com/osrg/gobgp/
cd /home/ashaikh/go/src/github.com/osrg/gobgp/table
/usr/local/go/pkg/tool/linux_amd64/compile -o
$WORK/github.com/osrg/gobgp/table.a -trimpath $WORK -goversion go1.9 -p
github.com/osrg/gobgp/table -complete -buildid
fc8de9c3aee975b5d899659ab66c12b6fecf27ea -D
_/home/ashaikh/go/src/github.com/osrg/gobgp/table -I $WORK -I
/home/ashaikh/go/pkg/linux_amd64 -pack ./adj.go ./destination.go ./message.go
./path.go ./policy.go ./roa.go ./table.go ./table_manager.go ./vrf.go
# github.com/osrg/gobgp/table
gobgp/table/path.go:392:37: multiple-value uuid.NewV4() in single-value context
This line occurs at https://github.com/osrg/gobgp/blob/master/table/path.go#L392
Looks like this is due to the change in go.uuid library which was introduced 12
days ago.
See
https://github.com/satori/go.uuid/commit/0ef6afb2f6cdd6cdaeee3885a95099c63f18fc8c#diff-18f04d9ad3369192f1154eb2a981af41
See the change in signature of NewV4() which now returns error in addition to
UUID.
thx
aman
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
gobgp-devel mailing list
gobgp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gobgp-devel