Open
Bug 882907
Opened 11 years ago
Updated 2 years ago
move SDK_LIBRARY to moz.build
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(Not tracked)
REOPENED
mozilla24
People
(Reporter: joey, Unassigned)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [leave open])
Attachments
(3 files, 2 obsolete files)
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
Details | Diff | Splinter Review |
No description provided.
Reporter | ||
Comment 1•11 years ago
|
||
Reporter | ||
Updated•11 years ago
|
Assignee: nobody → joey
Reporter | ||
Comment 2•11 years ago
|
||
Comment on attachment 762875 [details] [diff] [review]
move SDK_LIBRARY to mozbuild (logic).
Add SDK_LIBRARY as a passthrough variable.
Attachment #762875 -
Flags: review?(gps)
Updated•11 years ago
|
Attachment #762875 -
Flags: review?(gps) → review+
Comment 3•11 years ago
|
||
Updated•11 years ago
|
Attachment #762875 -
Attachment is obsolete: true
Updated•11 years ago
|
Assignee: joey → jarmstrong
Reporter | ||
Comment 4•11 years ago
|
||
Comment on attachment 764134 [details] [diff] [review]
move SDK_LIBRARY to mozbuild (logic).
rebase, r=gps carried forward.
Comment 5•11 years ago
|
||
Comment on attachment 764134 [details] [diff] [review]
move SDK_LIBRARY to mozbuild (logic).
Pushed to inbound:
committed changeset 135455:d4518f89e75a
https://hg.mozilla.org/integration/mozilla-inbound/rev/d4518f89e75a
Comment 6•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
Comment 7•11 years ago
|
||
added leave-open whiteboard tag for the upcoming converted file patch.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Whiteboard: [leave open]
Comment 8•11 years ago
|
||
Reporter | ||
Comment 9•11 years ago
|
||
Reporter | ||
Updated•11 years ago
|
Attachment #768525 -
Attachment is obsolete: true
Reporter | ||
Updated•11 years ago
|
Assignee: jarmstrong → joey
Reporter | ||
Comment 10•11 years ago
|
||
Comment on attachment 770303 [details] [diff] [review]
move SDK_LIBRARY to mozbuild (file batch #1).
http://tbpl.mozilla.org/?tree=Try&rev=40636e0bb9b1
timeout on osx 10.7 opt build.
pand and unagi having problems with missing png library symbols, likely a conditional problem in a mozbuild file.
Reporter | ||
Comment 11•11 years ago
|
||
(In reply to Joey Armstrong [:joey] from comment #10)
> Comment on attachment 770303 [details] [diff] [review]
> move SDK_LIBRARY to mozbuild (file batch #1).
>
> http://tbpl.mozilla.org/?tree=Try&rev=40636e0bb9b1
>
> timeout on osx 10.7 opt build.
> pand and unagi having problems with missing png library symbols, likely a
> conditional problem in a mozbuild file.
media/libpng/arm/arm_init.c not referenced by Makefile.in is also the likely source for this failure.
Reporter | ||
Comment 12•11 years ago
|
||
Lingering var references
% find . -name "Makefile.in" | xargs grep SDK_LIBRARY
./js/src/Makefile.in:SDK_LIBRARY = $(IMPORT_LIBRARY)
./js/src/Makefile.in:SDK_LIBRARY = $(SHARED_LIBRARY)
./mozglue/build/Makefile.in:SDK_LIBRARY = $(IMPORT_LIBRARY)
./mozglue/build/Makefile.in:SDK_LIBRARY = $(SHARED_LIBRARY)
./mozglue/build/Makefile.in:SDK_LIBRARY = $(REAL_LIBRARY)
./xpcom/glue/standalone/Makefile.in:SDK_LIBRARY = \
./xpcom/glue/standalone/staticruntime/Makefile.in:SDK_LIBRARY = \
./xpcom/glue/nomozalloc/Makefile.in:SDK_LIBRARY = \
./xpcom/glue/Makefile.in:SDK_LIBRARY = \
./xpcom/glue/staticruntime/Makefile.in:SDK_LIBRARY = \
./memory/mozalloc/Makefile.in:SDK_LIBRARY = $(IMPORT_LIBRARY)
./memory/mozalloc/Makefile.in:SDK_LIBRARY = $(SHARED_LIBRARY)
./memory/build/Makefile.in:SDK_LIBRARY = $(REAL_LIBRARY)
./memory/jemalloc/Makefile.in:SDK_LIBRARY = $(REAL_LIBRARY)
./toolkit/library/Makefile.in:SDK_LIBRARY = $(IMPORT_LIBRARY)
./toolkit/library/Makefile.in:SDK_LIBRARY = $(SHARED_LIBRARY)
./toolkit/library/Makefile.in: $(MAKE) libs SHARED_LIBRARY_NAME=gtest/$(EFFECTIVE_LIB_PREFIX)$(LIBRARY_NAME) FINAL_TARGET=$(FINAL_TARGET)/gtest SDK_LIBRARY= IMPORT_LIB_DEST=$(IMPORT_LIB_DEST)/gtest LINK_GTEST=true
./intl/unicharutil/util/Makefile.in:SDK_LIBRARY = $(LIBRARY)
Reporter | ||
Comment 13•11 years ago
|
||
Reporter | ||
Comment 14•11 years ago
|
||
Comment on attachment 806041 [details] [diff] [review]
move SDK_LIBRARY to mozbuild.
try-build job: http://tbpl.mozilla.org/?tree=Try&rev=7a9f97ba2438
Reporter | ||
Comment 15•11 years ago
|
||
Comment on attachment 806041 [details] [diff] [review]
move SDK_LIBRARY to mozbuild.
Review of attachment 806041 [details] [diff] [review]:
-----------------------------------------------------------------
convert xpcom::SDK_LIBRARY
linux64-opt-GU/gaia test failure reported as a missing activeKeyboard or keyboard language.
Retest to see if the failure is repeatable.
Attachment #806041 -
Flags: review?(mshal)
Reporter | ||
Comment 16•11 years ago
|
||
re-try linux64-opt: http://tbpl.mozilla.org/?tree=Try&rev=32e008c7937d
Comment 17•11 years ago
|
||
Comment on attachment 806041 [details] [diff] [review]
move SDK_LIBRARY to mozbuild.
Looks good to me!
Attachment #806041 -
Flags: review?(mshal) → review+
Reporter | ||
Comment 18•11 years ago
|
||
Inbound push for patch #1: http://hg.mozilla.org/integration/mozilla-inbound/rev/120d13ba7b71
Reporter | ||
Comment 20•11 years ago
|
||
(In reply to Joey Armstrong [:joey] from comment #16)
> re-try linux64-opt: http://tbpl.mozilla.org/?tree=Try&rev=32e008c7937d
Transient failure, linux64 passed on 2nd attempt.
Reporter | ||
Updated•11 years ago
|
Attachment #806041 -
Flags: review+ → review?(joey)
Reporter | ||
Comment 21•11 years ago
|
||
ignore, wrong bug.
Reporter | ||
Updated•11 years ago
|
Attachment #806041 -
Flags: review?(joey)
Reporter | ||
Updated•11 years ago
|
Assignee: joey → nobody
Comment 22•11 years ago
|
||
Can I take the rest of this bug?
Comment 23•11 years ago
|
||
One question: there are places where we set the SDK_LIBRARY variable to either $(IMPORT_LIBRARY) or $(SHARED_LIBRARY) depending on the platform. Those two variables are set in config/rules.mk, so I think they are unavailable in moz.build files. What is the right way of porting those kinds of variables to moz.build?
Comment 24•11 years ago
|
||
Wait a few days and there will be a new variable with either IMPORT_LIBRARY or SHARED_LIBRARY
Comment 25•11 years ago
|
||
Actually, come to think of it, it's just better to make it a boolean. Either the lib is in the sdk or it's not. It should be the build system's task to figure out what specific file that needs to be.
Updated•7 years ago
|
Product: Core → Firefox Build System
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•