pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: arduino-cli and git
MLH wrote:
> 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.
Though it might be pointless as:
$ arduino-cli core list
Downloading missing tool builtin:ctags@5.8-arduino11...
Error initializing instance: downloading builtin:ctags@5.8-arduino11 tool: Error downloading tool builtin:ctags@5.8-arduino11: no versions available for the current OS, try contacting packages%arduino.cc@localhost
Downloading missing tool builtin:serial-discovery@1.4.0...
Error initializing instance: downloading builtin:serial-discovery@1.4.0 tool: Error downloading tool builtin:serial-discovery@1.4.0: no versions available for the current OS, try contacting packages%arduino.cc@localhost
Downloading missing tool builtin:mdns-discovery@1.0.9...
Error initializing instance: downloading builtin:mdns-discovery@1.0.9 tool: Error downloading tool builtin:mdns-discovery@1.0.9: no versions available for the current OS, try contacting packages%arduino.cc@localhost
Downloading missing tool builtin:serial-monitor@0.13.0...
Error initializing instance: downloading builtin:serial-monitor@0.13.0 tool: Error downloading tool builtin:serial-monitor@0.13.0: no versions available for the current OS, try contacting packages%arduino.cc@localhost
Downloading missing tool builtin:dfu-discovery@0.1.2...
Error initializing instance: downloading builtin:dfu-discovery@0.1.2 tool: Error downloading tool builtin:dfu-discovery@0.1.2: no versions available for the current OS, try contacting packages%arduino.cc@localhost
Error initializing instance: Error loading hardware platform: reading directory packages/builtin/tools: open packages/builtin/tools: no such file or directory
Error initializing instance: Error loading hardware platform: discovery builtin:serial-discovery not installed
Error initializing instance: Error loading hardware platform: discovery builtin:mdns-discovery not installed
No platforms installed.
I sent them email but it bounced.
Home |
Main Index |
Thread Index |
Old Index