-
-
Notifications
You must be signed in to change notification settings - Fork 164
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
Cannot build oil-0.26.0 on macOS: error: use of undeclared identifier 'GLOB_PERIOD' #2226
Comments
Thanks for the report! I'm not sure why this happened, but I'm going to prioritize the The Not sure if these bugs are OS X specific or not, I don't think we changed anything with OS X |
I am seeing the same thing in Nixpkgs, which uses the src = fetchurl {
url = "https://www.oils.pub/download/oils-for-unix-${version}.tar.gz";
hash = "sha256-K1spWld6J2OBQgO0o0iAygMGeinuuAr0hXtgkjFNbu0=";
}; |
Thanks for the report - the (The |
In case someone else stumbles upon this issue and is equally rusty when it comes to Nix patches, here's how I am working around the issue until the above commit has been released: (self: super: {
oils-for-unix = super.oils-for-unix.overrideAttrs (old: {
patches = [./oils_patch.diff];
});
}) with the patch file being the commit linked above just with diff --git a/configure b/configure
index 8d7efbaa9..4b69e26c0 100755
--- a/configure
+++ b/configure
@@ -528,6 +528,7 @@ echo_cpp() {
echo '#define HAVE_GLOB_PERIOD 1'
else
echo '#define HAVE_GLOB_PERIOD 0'
+ echo '#define GLOB_PERIOD 0 /* define bit flag to have no effect */'
fi
# Used by cpp/core.cc Downgrading to 0.25.0 didn't work since this seems to also be affected by the |
There will be 3 errors:
The last two can be suppressed by
-Wno-implicit-function-declaration
, but the first one requires some code changes.Full logs:
The text was updated successfully, but these errors were encountered: