webminer
webminer copied to clipboard
Build failing in macOS
Here is the log, please assist.
+ ./build.sh
config.status: creating ./lib/alloca.h__
config.status: creating ./lib/fcntl.h__
config.status: creating ./lib/limits.h__
config.status: creating ./lib/fnmatch.h__
config.status: creating ./lib/glob.h__
config.status: creating ./lib/stdint.h__
config.status: creating ./lib/stdio.h__
config.status: creating ./lib/stdlib.h__
config.status: creating ./lib/string.h__
config.status: creating ./lib/sys/types.h__
config.status: creating ./lib/unistd.h__
compiling lib/concat-filename.c...
compiling lib/dirname-lgpl.c...
compiling lib/basename-lgpl.c...
compiling lib/stripslash.c...
compiling lib/exitfail.c...
compiling lib/fd-hook.c...
compiling lib/findprog-in.c...
./lib/findprog-in.c:137:25: error: implicit declaration of function 'eaccess' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (eaccess (progpathname, X_OK) == 0)
^
./lib/findprog-in.c:137:25: note: did you mean 'access'?
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/unistd.h:431:6: note: 'access' declared here
int access(const char *, int);
^
./lib/findprog-in.c:211:21: error: implicit declaration of function 'eaccess' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (eaccess (progpathname, X_OK) == 0)
^
2 errors generated.
_____ END BUILD LOGS _____
rules_foreign_cc: Build wrapper script location: bazel-out/darwin-opt-exec-2B5CBBC6/bin/external/rules_foreign_cc/toolchains/make_tool_foreign_cc/wrapper_build_script.sh
rules_foreign_cc: Build script location: bazel-out/darwin-opt-exec-2B5CBBC6/bin/external/rules_foreign_cc/toolchains/make_tool_foreign_cc/build_script.sh
rules_foreign_cc: Build log location: bazel-out/darwin-opt-exec-2B5CBBC6/bin/external/rules_foreign_cc/toolchains/make_tool_foreign_cc/BootstrapGNUMake.log
Target //:webminer failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 86.027s, Critical Path: 83.72s
INFO: 204 processes: 20 internal, 184 darwin-sandbox.
FAILED: Build did NOT complete successfully
What platform or operating system are you using? What versions?
macOS Monterey 12.2.1
Apple silicon?
Sent from my mobile device; please excuse brevity and any mistakes.
On Apr 8, 2022, at 5:58 AM, Waqas Ahmed @.***> wrote:
macOS Monterey 12.2.1
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.
It's not M1. It's Intel chip (old model 2015) MacBook pro.
Is your Xcode up to date?
Sent from my mobile device; please excuse brevity and any mistakes.
On Apr 8, 2022, at 12:40 PM, Waqas Ahmed @.***> wrote:
It's not M1. It's Intel chip (old model 2015) MacBook pro.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.
Yep, I just installed latest version before building (as a pre-requisite)
Having same issue on Monterey 12.3.1; intel core i5 processor; should the function be defined in a header before being called? Is there a way to suppress the error in the build process?
This error doesn't happen in prior version of Mac OS...whatever the version was right before monterey.
i can bypass this error by subsituting access instead of access in file: ./lib/findprog-in.c but the build fails at some handler something something later on...
It's not M1. It's Intel chip (old model 2015) MacBook pro.
On Fri, Apr 8, 2022, 8:17 PM Mark Friedenbach @.***> wrote:
Apple silicon?
Sent from my mobile device; please excuse brevity and any mistakes.
On Apr 8, 2022, at 5:58 AM, Waqas Ahmed @.***> wrote:
macOS Monterey 12.2.1
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.
— Reply to this email directly, view it on GitHub https://github.com/maaku/webminer/issues/7#issuecomment-1092988532, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABCHH5I2D7PAORUYRA3LKVDVEBEYRANCNFSM5S4MKBCQ . You are receiving this because you authored the thread.Message ID: @.***>
Is this still a problem for anybody?
Yes, now I am on M1 but same issue.