Closed
Bug 1142006
Opened 10 years ago
Closed 10 years ago
All my Try builds fails on OSX with "dyld: Symbol not found: _strndup"
Categories
(Firefox Build System :: General, defect)
Tracking
(firefox39 fixed)
VERIFIED
FIXED
mozilla39
Tracking | Status | |
---|---|---|
firefox39 | --- | fixed |
People
(Reporter: MatsPalmgren_bugz, Assigned: glandium)
References
()
Details
(Keywords: regression)
Attachments
(1 file)
(deleted),
patch
|
mshal
:
review+
|
Details | Diff | Splinter Review |
Try run from the tip of mozilla-inbound *without any changes made by me*:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=ad88e77dcf53
04:33:07 INFO - REFTEST INFO | runreftest.py | Running tests: start.
04:33:07 INFO - dyld: Symbol not found: _strndup
04:33:07 INFO - Referenced from: /builds/slave/talos-slave/test/build/application/NightlyDebug.app/Contents/MacOS/libmozglue.dylib
04:33:07 INFO - Expected in: flat namespace
04:33:07 INFO - in /builds/slave/talos-slave/test/build/application/NightlyDebug.app/Contents/MacOS/libmozglue.dylib
04:33:09 WARNING - TEST-UNEXPECTED-FAIL | reftest | application terminated with exit code -5
Reporter | ||
Comment 1•10 years ago
|
||
This failure started yesterday or the day before.
Keywords: regression
Reporter | ||
Comment 2•10 years ago
|
||
It seems bug 1141679 is related to it somehow.
Comment 3•10 years ago
|
||
Actually, it's bug 1141745, though I fear that might be misdiagnosing the cause.
Reporter | ||
Comment 4•10 years ago
|
||
Thanks. So would touching CLOBBER in my Try pushes work as a temporary workaround?
Flags: needinfo?(philringnalda)
Comment 5•10 years ago
|
||
Would certainly be an interesting experiment, though I don't see any sign that the clobber with the clobberer that they did yesterday did any good, nor do I see any obvious reason why the couple of pushes that got useable builds in the last couple of days actually did get usable builds.
Flags: needinfo?(philringnalda)
Assignee | ||
Comment 6•10 years ago
|
||
Try this:
- add the following to build/mozconfig.common.override:
mk_add_options "export SCCACHE_RECACHE=1"
- push a try build for mac with that mozconfig change.
- if you get green tests, try again without the mozconfig change.
Reporter | ||
Comment 7•10 years ago
|
||
OK, here's the first run:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=0fc1c29fe8d4
Reporter | ||
Comment 8•10 years ago
|
||
It failed with the same error.
Comment 9•10 years ago
|
||
Bug 1141745 was mentioned as a possible dupe of this and has an assignee.
Assignee | ||
Comment 10•10 years ago
|
||
(In reply to Mats Palmgren (:mats) from comment #8)
> It failed with the same error.
:( did you try touching CLOBBER?
Assignee | ||
Comment 11•10 years ago
|
||
CLOBBER doesn't fix it, and I'm getting close to say it's caused by the combination of bug 868814 and the use of sccache on try, and specifically, the fact that sccache is compiling preprocessed files.
Assignee | ||
Comment 12•10 years ago
|
||
So, it's probably not exactly that. The problem is indeed caused by the combination of bug 868814 and sccache. But when the sccache server starts, MACOSX_DEPLOYMENT_TARGET is not set, and that doesn't make strndup references weak (which happens when MACOSX_DEPLOYMENT_TARGET is set to 10.6).
Blocks: 868814
Assignee | ||
Comment 13•10 years ago
|
||
On try, where we use sccache, a sccache server is started the first time
configure runs the compiler for its checks, and that sccache server is
what does compilations on cache misses.
But compiling with MACOSX_DEPLOYMENT_TARGET in the environment doesn't have
the same effect as without, depending on its value. So
MACOSX_DEPLOYMENT_TARGET needs to be set before any compiler invocation.
Assignee: nobody → mh+mozilla
Attachment #8576533 -
Flags: review?(mshal)
Updated•10 years ago
|
Attachment #8576533 -
Flags: review?(mshal) → review+
Assignee | ||
Comment 14•10 years ago
|
||
Comment 15•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox39:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
Reporter | ||
Comment 16•10 years ago
|
||
Try OSX builds works now for me. Thanks!
Status: RESOLVED → VERIFIED
Comment 17•10 years ago
|
||
Has this been really fixed?
I can still see failures on try.
https://treeherder.mozilla.org/#/jobs?repo=try&revision=bd3d1244e4ef
https://treeherder.mozilla.org/#/jobs?repo=try&revision=266ead189253
Reporter | ||
Comment 18•10 years ago
|
||
@hiro, I suspect you need to update your local tree.
Assignee | ||
Comment 19•10 years ago
|
||
(In reply to Hiroyuki Ikezoe (:hiro) from comment #17)
> Has this been really fixed?
> I can still see failures on try.
>
> https://treeherder.mozilla.org/#/jobs?repo=try&revision=bd3d1244e4ef
> https://treeherder.mozilla.org/#/jobs?repo=try&revision=266ead189253
They are based on 42afc7ef5ccb, which is 6 changesets before the landing of this bug (efb33ed6f159)
Comment 20•10 years ago
|
||
Thanks! I totally forgot to update the tree before pushing!
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•