You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if this is a known, temporary or unknown issue, so I thought I'd report it.
I've tried to build Go (master) fully within a docker container, using 1.4.3 as the bootstrapper, but the ./all.bash fails on the net package with the following errors:
--- FAIL: TestReadLine (0.00s)
parse_test.go:24: open /etc/services: no such file or directory
--- FAIL: TestLookupPort (0.00s)
port_test.go:60: LookupPort("tcp", "echo") = 0, unknown port tcp/echo; want 7
port_test.go:60: LookupPort("tcp", "discard") = 0, unknown port tcp/discard; want 9
port_test.go:60: LookupPort("tcp", "systat") = 0, unknown port tcp/systat; want 11
port_test.go:60: LookupPort("tcp", "daytime") = 0, unknown port tcp/daytime; want 13
port_test.go:60: LookupPort("tcp", "chargen") = 0, unknown port tcp/chargen; want 19
port_test.go:60: LookupPort("tcp", "ftp-data") = 0, unknown port tcp/ftp-data; want 20
port_test.go:60: LookupPort("tcp", "ftp") = 0, unknown port tcp/ftp; want 21
port_test.go:60: LookupPort("tcp", "telnet") = 0, unknown port tcp/telnet; want 23
port_test.go:60: LookupPort("tcp", "smtp") = 0, unknown port tcp/smtp; want 25
port_test.go:60: LookupPort("tcp", "time") = 0, unknown port tcp/time; want 37
port_test.go:60: LookupPort("tcp", "domain") = 0, unknown port tcp/domain; want 53
port_test.go:60: LookupPort("tcp", "finger") = 0, unknown port tcp/finger; want 79
port_test.go:60: LookupPort("udp", "echo") = 0, unknown port udp/echo; want 7
port_test.go:60: LookupPort("udp", "tftp") = 0, unknown port udp/tftp; want 69
port_test.go:60: LookupPort("udp", "bootpc") = 0, unknown port udp/bootpc; want 68
port_test.go:60: LookupPort("udp", "bootps") = 0, unknown port udp/bootps; want 67
port_test.go:60: LookupPort("udp", "domain") = 0, unknown port udp/domain; want 53
port_test.go:60: LookupPort("udp", "ntp") = 0, unknown port udp/ntp; want 123
port_test.go:60: LookupPort("udp", "snmp") = 0, unknown port udp/snmp; want 161
port_test.go:60: LookupPort("udp", "syslog") = 0, unknown port udp/syslog; want 514
FAIL
FAIL net 2.097s
The text was updated successfully, but these errors were encountered:
Ok, seems that the stock Ubuntu docker image doesn't contain the netbase package which contains the /etc/services/ file. Although I would expect Go not to choke on it, it is emphasized in the docs that LookupPort is OS specific, so I can accept this not being a Go issue. Closing.
Not sure if this is a known, temporary or unknown issue, so I thought I'd report it.
I've tried to build Go (master) fully within a docker container, using 1.4.3 as the bootstrapper, but the
./all.bash
fails on thenet
package with the following errors:The text was updated successfully, but these errors were encountered: