-
Notifications
You must be signed in to change notification settings - Fork 5
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
Undefined variables prevent building on Alpine #91
Comments
Hi, thanks for the report! This sounds like you may have forgotten to run |
This is not the cause. I followed the instructions as written. Having done some more exploration though, I may be doing something unsupported. Is building ncdns from source in Alpine supported? Possible? If I run this snippet with docker build, it fails at the marked "go mod tidy" with the aforementioned failures. If I do the same thing in a real shell in a pause container, it fails at the following "go install," with the same error.
|
Should work as long as you have Bash installed (which it looks like you do). That said, I've never tested it in Alpine myself, so maybe there's a bug. Can you do (To be clear, building in Alpine sounds like a reasonable use case, so unless there's some reason we can't support it that I'm unaware of, I'd consider a failure there to be a bug that we should fix.) |
Returns fine with no errors. It writes this propids.go:
|
this is due to some type of sed alpinism. |
Interesting. I'm not fluent enough in Alpine to know what difference in |
(Re-opening to reflect the fact that a PR would be appreciated.) |
The explanation is that busybox's sed and gnu sed are fundamentally different. Busybox's Sed source code describes the implementation as "very minimalist." I have not determined if there is syntax that will work on both distributions for this application, but it seems reasonable to start here: |
The text was updated successfully, but these errors were encountered: