Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Feb 2015 01:38:34 -0800
From:      Waitman Gobble <gobble.wa@gmail.com>
To:        Waitman Gobble <waitman@waitman.net>
Cc:        "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org>
Subject:   Re: poudriere and astro/gpsd
Message-ID:  <CAFuo_fzwqPnzAzju68s23=w8Es4cwPSo0butq8LWg12HXBVw4A@mail.gmail.com>
In-Reply-To: <89510189ec45d18c41eb40e03420a429.squirrel@mx.waitman.net>
References:  <89510189ec45d18c41eb40e03420a429.squirrel@mx.waitman.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Feb 5, 2015 at 10:43 PM, Waitman Gobble <waitman@waitman.net> wrote=
:
>
> Hi,
>
> Is there a solution for this problem?
>
> #poudriere bulk -j 11armv632 -p local -f build-rpi-b-gpsd.ports
>
> [00:00:28] =3D=3D=3D=3D>> Starting jail 11armv632-local
> [00:00:28] =3D=3D=3D=3D>> Creating user/group nobodyjexec: execvp(): pw: =
Exec
> format error
> [00:00:28] =3D=3D=3D=3D>> Error: Unable to create group nobody
>
> Thank you,
>
> --
> Waitman Gobble
> Los Altos California USA
> +1.510-830-7975
>
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"



So I didn't have luck building astro/gpsd in poudriere. I made a BSD
Makefile and ripped out all the Python, scons stuff. And I just wasn't
getting excited at all about a scons/python build on a Raspberry Pi :)

IF someone wants to try..

https://github.com/waitman/gpsd-release-3.11-mod

it's bare-bones no configure. Edit Makefile to set prefix other than /usr/l=
ocal/

these are supported: make, make install, make deinstall, make clean

builds with clang in base.

tested on a pi:

# uname -a
FreeBSD ARTiming150102 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r277133:
Tue Jan 13 20:18:52 PST 2015
waitman@rpidev.waitman.net:/usr/home/waitman/crochet-freebsd/work/obj/arm.a=
rmv6/usr/src/sys/TMRDEV
 arm

tested with a USGlobalSat BU-353-S4 GPS device

# gpsd -n /dev/ttyU0

# gpspipe -w -n 10

{"class":"VERSION","release":"3.11","rev":"3.11","proto_major":3,"proto_min=
or":9}
{"class":"DEVICES","devices":[{"class":"DEVICE","path":"/dev/ttyU0","driver=
":"SiRF","subtype":"?\u0006GSD4e_4.1.2-P1_RPATCH.03-GNC03-F-GPS-4R-1304034
04/09/2013 10","activated":"2015-02-07T09:27:03.511Z","flags":1,"native":1,=
"bps":4800,"parity":"N","stopbits":1,"cycle":1.00}]}
{"class":"WATCH","enable":true,"json":true,"nmea":false,"raw":0,"scaled":fa=
lse,"timing":false,"split24":false,"pps":false}
{"class":"SKY","tag":"MID4","device":"/dev/ttyU0","time":"2015-02-07T09:27:=
04.000Z","xdop":5.26,"ydop":2.53,"vdop":8.93,"tdop":8.93,"hdop":2.00,"gdop"=
:13.91,"pdop":10.67,"satellites":[{"PRN":2,"el":81,"az":99,"ss":27,"used":t=
rue},{"PRN":10,"el":27,"az":93,"ss":19,"used":true},{"PRN":6,"el":38,"az":4=
6,"ss":24,"used":true},{"PRN":12,"el":73,"az":336,"ss":27,"used":true},{"PR=
N":24,"el":37,"az":217,"ss":18,"used":true},{"PRN":5,"el":16,"az":153,"ss":=
22,"used":true},{"PRN":29,"el":19,"az":271,"ss":0,"used":false},{"PRN":25,"=
el":33,"az":313,"ss":11,"used":false},{"PRN":20,"el":18,"az":55,"ss":0,"use=
d":false},{"PRN":17,"el":3,"az":75,"ss":0,"used":false},{"PRN":138,"el":44,=
"az":156,"ss":0,"used":false}]}
{"class":"TPV","tag":"MID2","device":"/dev/ttyU0","mode":3,"time":"2015-02-=
07T09:27:04.000Z","ept":0.005,"lat":37.360836008,"lon":-122.104876271,"alt"=
:85.829,"epx":78.948,"epy":37.880,"epv":205.329,"track":37.1664,"speed":0.1=
75,"climb":0.023,"eps":157.90,"epc":410.66}
{"class":"TPV","tag":"MID2","device":"/dev/ttyU0","mode":3,"time":"2015-02-=
07T09:27:05.000Z","ept":0.005,"lat":37.360836008,"lon":-122.104876271,"alt"=
:85.829,"epx":78.948,"epy":37.880,"epv":205.329,"track":314.0445,"speed":0.=
092,"climb":-0.084,"eps":157.90,"epc":410.66}
{"class":"TPV","tag":"MID2","device":"/dev/ttyU0","mode":3,"time":"2015-02-=
07T09:27:06.000Z","ept":0.005,"lat":37.360843169,"lon":-122.104876271,"alt"=
:86.436,"epx":78.948,"epy":37.880,"epv":205.329,"track":337.9001,"speed":0.=
177,"climb":-0.008,"eps":157.90,"epc":410.66}
{"class":"SKY","tag":"MID4","device":"/dev/ttyU0","time":"2015-02-07T09:27:=
07.000Z","xdop":5.26,"ydop":2.53,"vdop":8.93,"tdop":8.93,"hdop":2.00,"gdop"=
:13.91,"pdop":10.67,"satellites":[{"PRN":2,"el":81,"az":99,"ss":27,"used":t=
rue},{"PRN":10,"el":27,"az":93,"ss":20,"used":true},{"PRN":6,"el":38,"az":4=
6,"ss":25,"used":true},{"PRN":12,"el":73,"az":336,"ss":27,"used":true},{"PR=
N":24,"el":37,"az":217,"ss":18,"used":true},{"PRN":5,"el":16,"az":153,"ss":=
22,"used":true},{"PRN":29,"el":19,"az":271,"ss":0,"used":false},{"PRN":25,"=
el":33,"az":313,"ss":12,"used":false},{"PRN":20,"el":18,"az":55,"ss":0,"use=
d":false},{"PRN":17,"el":3,"az":75,"ss":0,"used":false},{"PRN":138,"el":44,=
"az":156,"ss":0,"used":false}]}
{"class":"TPV","tag":"MID2","device":"/dev/ttyU0","mode":3,"time":"2015-02-=
07T09:27:07.000Z","ept":0.005,"lat":37.360847801,"lon":-122.104882270,"alt"=
:85.762,"epx":78.948,"epy":37.880,"epv":205.329,"track":37.1664,"speed":0.1=
75,"climb":0.023,"eps":157.90,"epc":410.66}
{"class":"TPV","tag":"MID2","device":"/dev/ttyU0","mode":3,"time":"2015-02-=
07T09:27:08.000Z","ept":0.005,"lat":37.360847801,"lon":-122.104882270,"alt"=
:85.762,"epx":78.948,"epy":37.880,"epv":205.329,"track":69.1563,"speed":0.1=
13,"climb":-0.053,"eps":157.90,"epc":410.66}

It's definitely a CPU cooker on the Pi. I need to take a look at
strategies for minimizing resource utilization.


--=20
Waitman Gobble
Los Altos California USA
510-830-7975



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFuo_fzwqPnzAzju68s23=w8Es4cwPSo0butq8LWg12HXBVw4A>