Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Mar 2019 21:49:27 +1100
From:      Peter Jeremy <peter@rulingia.com>
To:        Kyle Evans <kevans@freebsd.org>
Cc:        ports@freebsd.org
Subject:   Re: [devel/arduino18] Adding a new board description.
Message-ID:  <20190305104927.GB1263@server.rulingia.com>
In-Reply-To: <CACNAnaH3vuBe-D0pGU1KCBEc%2BnCr3tcyeC_wP7WVasDqwjawJg@mail.gmail.com>
References:  <20190304103716.GA1263@server.rulingia.com> <CACNAnaH3vuBe-D0pGU1KCBEc%2BnCr3tcyeC_wP7WVasDqwjawJg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--xgyAXRrhYN0wYx8y
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2019-Mar-04 08:36:52 -0600, Kyle Evans <kevans@freebsd.org> wrote:
>I'll find some time this week to see what I can do to bring the board
>manager back. It was removed when I initially ported Arduino 1.6.x
>because there was some conflict in the functionality itself with how
>we patch other bits, but I'm foggy on the details at this point
>because that's been a couple years.

I had a go at re-enabling the board manager and ran into a problem with
package_index.json.  The port installs native versions of all the IDE
dependencies, creates links from /usr/local/arduino/tools-builder to the
native versions and hand-crafts a package_index_bundled.json that says the
tool runs on the appropriate FreeBSD version (amd64-freebsd12 in my case).
If I start the board manages, the IDE downloads fresh copy of package data
and installs it as ~/.arduino15/package_index.json - this version is
unpatched and therefore only lists the "supported" tool versions (Linux,
MacOS & Windows), leading to a null pointer exception.

Interestingly, the release notes for 1.8.2 include:
* Allow BoardManager to fetch FreeBSD tools (thanks @kevans91)
so it seems you have previously fixed the board manager, but the fix
no longer works.

--=20
Peter Jeremy

--xgyAXRrhYN0wYx8y
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEE7rKYbDBnHnTmXCJ+FqWXoOSiCzQFAlx+VDdfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEVF
QjI5ODZDMzA2NzFFNzRFNjVDMjI3RTE2QTU5N0EwRTRBMjBCMzQACgkQFqWXoOSi
CzTbxQ//SavLTMY1mbdM64hocfLUsWf6p/h9doomPjnNyZWsEBr3us+ABsO6kpK2
F8OltC/+MxT3Bu3BpwEZkUTS3de6FVJYJGjY2QZuE6uLHJRbU9Bx5EgWDfQdJgWW
51lFiL6K3jd6Taw3qS+lA7w6/wbwJi7eBrqlvVU2GJOotoTSdytL4PMCutHUZ1t7
VRDOoZc2XOxgWJ4oYtKq6sfXLaDMrzPSiBlUsipdkoSPq8dTWC3oXgyBnF9tiN5O
V9lb2/yJDzWcEDv207hFeBdi+1Pq03UIDY0Alnz7HGfwozAwQHr0N4y6dKalFmAD
lLQ1HPPKd3/fR6GhSwYb2Kxrp25l/u1yinKPz908ycOzHf6Vm3nzU1GXQSieJJdP
dMJ0z8IDef1IIP01+2JyBhxGf3dCvKrKHh0PoERo7o/P9l0RdUmki0s2B4c5GHCf
Zk/h6I4pFd8PBIS7aYYNNsfQFUMtNcnPkHeD5u+dvccgX4Lo6Ag6wXaHeCGamm2D
92la5fEZlmhPVYdit/hnEdxSfRcP+nULfX+2Zl6blVfrxk64bYQeikDQeoKgTuxf
SVn4sb7cW4knGAikq+4LDdoOvP4ViXkk67li241+fyfcVv/RGwgaBT4EZxKKe4Ti
RQIUhDQ4oUEZ123e0//gNXvo2fRmdEc00rL+zG8Z9c68Jp46lME=
=6ag2
-----END PGP SIGNATURE-----

--xgyAXRrhYN0wYx8y--



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