#1031429 golang-google-grpc-dev: error: reference to undefined identifier 'syscall.SO_SNDTIMEO'

#1031429#5
Date:
2023-02-17 05:24:57 UTC
From:
To:
Package: golang-google-grpc-dev
Version: 1.33.3-2
Affects: opensnitch

The opensnitch package fail to build in experimental on armhf.  The
build log for the latter can be found in
<URL: https://buildd.debian.org/status/fetch.php?pkg=opensnitch&arch=armhf&ver=1.5.7-3&stamp=1676591279&raw=0 >
and this is the failure:

google.golang.org/grpc/internal/binarylog
# google.golang.org/grpc/internal/channelz
src/google.golang.org/grpc/internal/channelz/types_linux.go:47:82: error: reference to undefined identifier 'syscall.SO_SNDTIMEO'
   47 |         if v, err := unix.GetsockoptTimeval(int(fd), syscall.SOL_SOCKET, syscall.SO_SNDTIMEO); err == nil {
      |                                                                                  ^
google.golang.org/grpc/balancer/grpclb/state

I am not sure, but this seem to be a problem with
golang-google-grpc-dev.  Please reassign if it is the wrong package.

#1031429#10
Date:
2026-04-21 07:35:28 UTC
From:
To:
Hi Peter,

This type of error usually are version mismatch errors. Neither
opensnitch is too old or golang-google-grpc is too old. You may
check the go.mod to match the required versions.

However, golang-google-grpc package has been updated recently.
Does this issue still exist or we may close?

Best regards,