pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: arduino-cli and git



Rui-Xiang Guo wrote:
> On Fri, Jan 26, 2024 at 09:54:43PM -0500, MLH wrote:
> > MLH wrote:
> > > mlh wrote:
> > > > 
> > > > I really would like to have the arduino-cli working on NetBSD but
> > > > I have never figured out how to build a pkgsrc package using a .git
> > > > repository file.
> > > > 
> > > > Any help would be appreciated. Thanks
> > > > 
> > > > https://github.com/arduino/arduino-cli.git
> > > 
> > > Thomas Klausner  was nice enough to set this up in wip/arduino-cli
> > > 
> > > It needs more info on serial ports apparently:
> > > 
> > > ===> Building for arduino-cli-0.35.2
> > > go.bug.st/serial
> > > # go.bug.st/serial
> > > ../.gopath/pkg/mod/go.bug.st/serial@v1.6.1/serial_bsd.go:13:13: undefined: unixPort
> > > ../.gopath/pkg/mod/go.bug.st/serial@v1.6.1/serial.go:83:15: undefined: nativeOpen
> > > ../.gopath/pkg/mod/go.bug.st/serial@v1.6.1/serial.go:94:9: undefined: nativeGetPortsList
> > > github.com/arduino/arduino-cli/i18n
> > > # github.com/arduino/arduino-cli/i18n
> > > i18n/detect.go:24:9: undefined: getLocaleIdentifier
> > > *** Error code 1
> > > 
> > > Stop.
> > > make[1]: stopped in /usr/pkgsrc/wip/arduino-cli
> > > 
> > > Suggestions?
> > 
> > I would really like to dump this 8-yr old windows laptop and use
> > NetBSD for all of my arduino work but I'm not sure how to handle
> > the usb-serial changes. Anyone up for a bounty?
> 
> Hi,
> I have updated it in wip, please have it a try.

Wow! Thank you. It builds and installs. I will check it out.


Home | Main Index | Thread Index | Old Index