-
Notifications
You must be signed in to change notification settings - Fork 246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[OpenBSD] build.sh: getopt: unknown option -- l #314
Comments
Unfortunately, current version of build script is rather Linux-specific, in particular getopt is assumed to have GNU extensions. You can still build maddy by directly calling go tool:
|
Thanks @foxcpp, that provided some more options. I was able to build it using those two commands you offered. Skimming through The second thing I tried (again thanks to your pointers), was a version of getopt with GNU extensions.
That I believe solves the issue I opened here for OpenBSD (might test with FreeBSD too). However, I stumbled across a new issue that may be specific to Go on OpenBSD (still investigating):
Opened a new issue: #315 |
To resolve this specific issue under OpenBSD, install gnugetopt.
Then on the line 3 of
|
I just pushed 4ec6eb2 with new (much more simple) build.sh implementation. I would appreciate someone testing it on *BSD to make sure it works there correctly. It should work fine with any POSIX shell, not just Bash. |
Describe the bug
On OpenBSD 6.8 amd64, when trying to build from source, immediately fails with error:
Steps to reproduce
Environment information
The text was updated successfully, but these errors were encountered: