Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 645078 - sci-geosciences/gpsd-3.17-r2 - gpsctl and gpspipe use ipv6 despite USE=-ipv6
Summary: sci-geosciences/gpsd-3.17-r2 - gpsctl and gpspipe use ipv6 despite USE=-ipv6
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-20 04:29 UTC by Martin Mokrejš
Modified: 2018-01-20 09:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
gpsd-3.17-r2.build.log (gpsd-3.17-r2.build.log,79.62 KB, text/plain)
2018-01-20 04:29 UTC, Martin Mokrejš
Details
gpsd-9999.build.log (gpsd-9999.build.log,74.70 KB, text/plain)
2018-01-20 04:30 UTC, Martin Mokrejš
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mokrejš 2018-01-20 04:29:00 UTC
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
Comment 1 Martin Mokrejš 2018-01-20 04:29:34 UTC
Created attachment 515334 [details]
gpsd-3.17-r2.build.log
Comment 2 Martin Mokrejš 2018-01-20 04:30:29 UTC
Created attachment 515336 [details]
gpsd-9999.build.log

BTW, -9999 ebuild does not install manpages for me.