Closed ptribble closed 4 months ago
Care to create a pull request?
Simply running "git grep -w larg" would have avoided this. I am sorry this slipped through my review, I didn't even think about the possibility of it not having been compile-tested. It will teach me merging code "spelling" fixes in an RC freeze.
It also shows that we could need some Solaris/illumos user to sign up to the mailing list (or follow the repo) and at least do a compile check when we announce release candidates...
I didn't even think about the possibility of it not having been compile-tested.
Me neither. :( Looking at libusb's CI... it seems it doesn't include some of the OSes that libusb supports... Why is that?
Could use this to add OpenBSD for example: https://github.com/vmactions/openbsd-vm
I didn't even think about the possibility of it not having been compile-tested.
Me neither. :( Looking at libusb's CI... it seems it doesn't include some of the OSes that libusb supports... Why is that?
Could use this to add OpenBSD for example: https://github.com/vmactions/openbsd-vm
Need to test how fast it goes.
HIDAPI project looked at adding BSD CIs and we found that the github actions are too slow.
In the end, SourceHut is used. https://builds.sr.ht/~z3ntu/hidapi
I will create a new issue with regard to CI improvements in general.
I think HIDAPI project has done a better job in the CI aspect. Maybe @Youw can help here.
HIDAPI project looked at adding BSD CIs and we found that the github actions are too slow.
Based on: https://github.com/vmactions/openbsd-vm/actions/runs/7866389477/job/21460597951 Maybe it worth reconsider Github Actions as a BSD CI. Haven't tried it, but if I read it right - it takes 2min30sec to prepare the VM. I'd say that's more than acceptable overhead.
To follow up, I've signed up for the mailing list so should be able to build-test any new releases.
Looking at vmactions, they have Solaris and OmniOS as well
Builing 1.0.27 fails .on Solaris/illumos like so:
On inspection, the reason is clear: some instances of larg have been renamed link_arg; some others haven't.
Simply replacing the remaining instances of larg with link_arg in libusb/os/sunos_usb.c gives a successful build.