Source: gobgp
Version: 1.10-1
Severity: important
Justification: fails to build from source

The i386 build of gobgp failed:

  # github.com/osrg/gobgp/server
  src/github.com/osrg/gobgp/server/sockopt.go:66: undefined: 
syscall.SYS_SETSOCKOPT
  src/github.com/osrg/gobgp/server/sockopt_linux.go:95: undefined: 
syscall.SYS_SETSOCKOPT

AFAICT, this error stems from the fact that early Linux architectures such
as i386 historically multiplexed setsockopt and several other functions
through a special "socketcall" syscall.  i386 did eventually develop a
dedicated setsockopt syscall (number 366), but zsysnum_linux_386.go
doesn't (yet) reflect that, and I don't know what the runtime portability
considerations of using it would be anyway.  Instead, I'd recommend using
the predefined syscall.setsockopt wrapper.

Could you please take a look?

Thanks!

_______________________________________________
Pkg-go-maintainers mailing list
Pkg-go-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-go-maintainers

Reply via email to