Permanent OS X gcc build failure on Birch: "configure: error: installation or configuration problem: C compiler cannot create executables."

RESOLVED FIXED

Status

()

Core
Build Config
--
critical
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: emorley, Assigned: Ehsan)

Tracking

Trunk
x86
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

5 years ago
OS X 10.7 opt birch (ie gcc) builds started failing with:

https://tbpl.mozilla.org/php/getParsedLog.php?id=14294439&tree=Birch

{
configure: loading cache /builds/slave/bir-osx64/build/obj-firefox/i386/js/src/ctypes/libffi/config.cache
configure: error: `build_alias' has changed since the previous run:
configure:   former value:  `x86_64-apple-darwin11.2.0'
configure:   current value: `i386-apple-darwin11.2.0'
configure: error: in `/builds/slave/bir-osx64/build/obj-firefox/i386/js/src/ctypes/libffi':
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm /builds/slave/bir-osx64/build/obj-firefox/i386/js/src/ctypes/libffi/config.cache' and start over
}

We clobbered, but are still getting:

https://tbpl.mozilla.org/php/getParsedLog.php?id=14294932&tree=Birch

{
checking for gcc...  -arch i386
checking whether the C compiler ( -arch i386  ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
*** Fix above errors and then restart with               "make -f client.mk build"
}

Changes in that push:
https://hg.mozilla.org/projects/birch/pushloghtml?changeset=e70a90ca2e57

Though don't know if this was a buildbot-configs change instead maybe?
This is a merge failure:

make -f /builds/slave/bir-osx64/build/client.mk realbuild
/builds/slave/bir-osx64/build/build/macosx/common: line 1: syntax error near unexpected token `<<<'
/builds/slave/bir-osx64/build/build/macosx/common: line 1: `<<<<<<< local'
Adding client.mk options from /builds/slave/bir-osx64/build/.mozconfig:

Probably from the bad hack in bug 778035 to fix seamonkey builds.
Created attachment 650912 [details] [diff] [review]
fix merge problem
Assignee: nobody → respindola
Status: NEW → ASSIGNED
Attachment #650912 - Flags: review?(ehsan)
Comment on attachment 650912 [details] [diff] [review]
fix merge problem

Ah I did fix it in the previous merge, no idea why hg screwed this up again.  I'll fix it myself, thanks Rafael.
Attachment #650912 - Flags: review?(ehsan) → review-
https://hg.mozilla.org/projects/birch/rev/08b0fb32055f
Assignee: respindola → ehsan
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.