Something is wrong with the build system. # strace -v -f gpsctl -b ... socket(AF_INET6, SOCK_DGRAM|SOCK_CLOEXEC, IPPROTO_IP) = 3 connect(3, {sa_family=AF_INET6, sin6_port=htons(2947), inet_pton(AF_INET6, "::1", &sin6_addr), sin6_flowinfo=htonl(0), sin6_scope_id=0}, 28) = 0 getsockname(3, {sa_family=AF_INET6, sin6_port=htons(57756), inet_pton(AF_INET6, "::1", &sin6_addr), sin6_flowinfo=htonl(0), sin6_scope_id=0}, [28]) = 0 connect(3, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 0 connect(3, {sa_family=AF_INET, sin_port=htons(2947), sin_addr=inet_addr("127.0.0.1")}, 16) = 0 getsockname(3, {sa_family=AF_INET6, sin6_port=htons(59148), inet_pton(AF_INET6, "::ffff:127.0.0.1", &sin6_addr), sin6_flowinfo=htonl(0), sin6_scope_id=0}, [28]) = 0 close(3) = 0 socket(AF_INET6, SOCK_STREAM, IPPROTO_TCP) = 3 setsockopt(3, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0 connect(3, {sa_family=AF_INET6, sin6_port=htons(2947), inet_pton(AF_INET6, "::1", &sin6_addr), sin6_flowinfo=htonl(0), sin6_scope_id=0}, 28) = -1 ECONNREFUSED (Connection refused) close(3) = 0 socket(AF_INET, SOCK_STREAM, IPPROTO_TCP) = 3 setsockopt(3, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0 connect(3, {sa_family=AF_INET, sin_port=htons(2947), sin_addr=inet_addr("127.0.0.1")}, 16) = 0 setsockopt(3, SOL_IP, IP_TOS, [16], 4) = 0 setsockopt(3, SOL_IPV6, IPV6_TCLASS, [16], 4) = -1 ENOPROTOOPT (Protocol not available) fcntl(3, F_GETFL) = 0x2 (flags O_RDWR) fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 rt_sigprocmask(SIG_BLOCK, [HUP INT QUIT TERM], [], 8) = 0 write(3, "?DEVICES;\r\n", 11) = 11 pselect6(4, [], NULL, NULL, {tv_sec=2, tv_nsec=0}, {[], 8}) = 0 (Timeout) recvfrom(3, 0x259b770, 8192, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable) pselect6(4, [], NULL, NULL, {tv_sec=2, tv_nsec=0}, {[], 8}) = 0 (Timeout) recvfrom(3, 0x259b770, 8192, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable) pselect6(4, [], NULL, NULL, {tv_sec=2, tv_nsec=0}, {[], 8}) = 0 (Timeout) recvfrom(3, 0x259b770, 8192, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable) pselect6(4, [], NULL, NULL, {tv_sec=2, tv_nsec=0}, {[], 8}^Cstrace: Process 11357 detached <detached ...> gpsctl:ERROR: killed by signal 2 # equery belongs gpsctl * Searching for gpsctl ... sci-geosciences/gpsd-3.17-r2 (/usr/bin/gpsctl) # # emerge -pv sci-geosciences/gpsd [ebuild U *] sci-geosciences/gpsd-9999:0/23::gentoo [3.17-r2:0/23::gentoo] USE="X bluetooth dbus ncurses python qt5 shm sockets udev usb -debug -ipv6 -latency_timing -ntp -static {-test}" GPSD_PROTOCOLS="aivdm ashtech earthmate evermore fury fv18 garmin garmintxt geostar gpsclock isync itrax mtk3301 navcom nmea0183 nmea2000 ntrip oceanserver oncore passthrough rtcm104v2 rtcm104v3 sirf skytraq superstar2 tnt tripmate tsip ublox" PYTHON_TARGETS="python2_7" 0 KiB # ps -ef | grep gpsd gpsd 11118 1 0 05:07 ? 00:00:00 gpsd -D 5 -n -F /var/run/gpsd.sock
Created attachment 515334 [details] gpsd-3.17-r2.build.log
Created attachment 515336 [details] gpsd-9999.build.log BTW, -9999 ebuild does not install manpages for me.
Upstream removed the ipv6 option in f751d75cef4e202c5343c8f89eadbc6ed15d007a Except for a shred that remains in SConscript. This means that the -ipv6 option should go away or be replaced by a Gentoo-maintained patch.