-
Notifications
You must be signed in to change notification settings - Fork 9
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
Weird build error on macOS 10.8–10.9: /bin/sh: i686-w64-mingw32-gcc: command not found #11
Comments
Probably an issue with tcl.m4. It has not been updated since some time. Does the same problem arise with the newest sampleextension? https://wiki.tcl-lang.org/page/SampleExtension |
Also, the log indicates that the compiler flags request compilation for 64 bit (-arch x86_64), while the OS runs on 32 bit. Are you intentionally cross-compiling? |
Those are on build bots, I cannot verify locally. But no, Macports never cross-compiles, and I believe, all OS on build bots are run as x86_64, with an exception of 10.6.8, which exists in two varians, i386 and x86_64. Something is wrong with configure scripts of |
Can you access the config.log from the configure run? That might give an indication. The configure scripts are derived from the TEA build system. Specifically, they were copied at some time in the past from these two repositories: https://core.tcl.tk/sampleextension/ and https://core.tcl-lang.org/tclconfig/. |
I becane sceptical about the 64 bit issue, because in your log file it says "OS darwin/13.4.0 (macOS 10.9.5) arch i386", but the CFLAGS that are passed in contain "-arch x86_64". Where does this flag come from? Does it look like this also for other builds? |
In that case it simply stands for Intel. You will see the same on 64-bit-only macOS, example: https://build.macports.org/builders/ports-12_x86_64-builder/builds/54661/steps/install-port/logs/stdio |
On these two systems wrong choice of compiler happens:
i686-w64-mingw32-gcc
is invoked, which is obviously wrong, and the build fails.Logs:
10.9: https://build.macports.org/builders/ports-10.9_x86_64-builder/builds/214741/steps/install-port/logs/stdio
10.8: https://build.macports.org/builders/ports-10.8_x86_64-builder/builds/117791/steps/install-port/logs/stdio
The text was updated successfully, but these errors were encountered: