Closed
Bug 809140
Opened 13 years ago
Closed 13 years ago
PGO build failures related to command execute handler
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jimm, Assigned: jimm)
References
Details
Attachments
(2 files, 2 obsolete files)
791 bytes,
patch
|
glandium
:
review+
|
Details | Diff | Splinter Review |
2.08 KB,
patch
|
glandium
:
review+
|
Details | Diff | Splinter Review |
This looks like packager problems. We have PGO disabled on elm for now. The part that breaks down is:
Missing file(s): ..\..\dist\bin\CommandExecuteHandler.exe
Which should be present, but maybe ..\..\dist\bin isn't where we expect it to be?
Packaging JavaScript Shell...
e:\builds\moz2_slave\elm-w32-ntly\build\toolkit\mozapps\installer\packager.mk:890:0$ rm -f ../../dist/jsshell-win32.zip
e:\builds\moz2_slave\elm-w32-ntly\build\toolkit\mozapps\installer\packager.mk:891:0$ zip -9j ../../dist/jsshell-win32.zip ../../dist/bin/js.exe ../../dist/bin/mozglue.dll ../../dist/bin/nspr4.dll ../../dist/bin/msvcr100.dll
adding: js.exe (172 bytes security) (deflated 61%)
adding: mozglue.dll (172 bytes security) (deflated 49%)
adding: nspr4.dll (172 bytes security) (deflated 54%)
adding: msvcr100.dll (172 bytes security) (deflated 46%)
e:\builds\moz2_slave\elm-w32-ntly\build\toolkit\mozapps\installer\packager.mk:755:0$ e:/builds/moz2_slave/elm-w32-ntly/build/obj-firefox/_virtualenv/Scripts/python.exe e:/builds/moz2_slave/elm-w32-ntly/build/toolkit/mozapps/installer/packager.py -DNO_NSPR_10_SUPPORT -DAB_CD=en-US -DMOZ_APP_NAME=firefox -DPREF_DIR=defaults/preferences -D_MSC_VER=1600 -DJAREXT= -DMOZ_ANGLE_RENDERER=1 -DMOZ_D3DX9_DLL=d3dx9_43.dll -DMOZ_D3DCOMPILER_DLL=D3DCompiler_43.dll -DMOZ_CHILD_PROCESS_NAME=plugin-container.exe -DMOZ_MSVC_REDIST=1600 -DMOZ_SHARED_MOZGLUE=1 -DMOZ_JSDEBUGGER -DNECKO_WIFI -DDLL_PREFIX= -DDLL_SUFFIX=.dll -DBIN_SUFFIX=.exe -DBINPATH=bin --format omni --removals e:/builds/moz2_slave/elm-w32-ntly/build/browser/installer/removed-files.in e:/builds/moz2_slave/elm-w32-ntly/build/browser/installer/package.manifest ../../dist/bin ../../dist/firefox
e:\builds\moz2_slave\elm-w32-ntly\build\toolkit\mozapps\installer\packager.mk:755:0: command 'e:/builds/moz2_slave/elm-w32-ntly/build/obj-firefox/_virtualenv/Scripts/python.exe e:/builds/moz2_slave/elm-w32-ntly/build/toolkit/mozapps/installer/packager.py -DNO_NSPR_10_SUPPORT -DAB_CD=en-US -DMOZ_APP_NAME=firefox -DPREF_DIR=defaults/preferences -D_MSC_VER=1600 -DJAREXT= -DMOZ_ANGLE_RENDERER=1 -DMOZ_D3DX9_DLL=d3dx9_43.dll -DMOZ_D3DCOMPILER_DLL=D3DCompiler_43.dll -DMOZ_CHILD_PROCESS_NAME=plugin-container.exe -DMOZ_MSVC_REDIST=1600 -DMOZ_SHARED_MOZGLUE=1 -DMOZ_JSDEBUGGER -DNECKO_WIFI -DDLL_PREFIX= -DDLL_SUFFIX=.dll -DBIN_SUFFIX=.exe -DBINPATH=bin --format omni --removals e:/builds/moz2_slave/elm-w32-ntly/build/browser/installer/removed-files.in e:/builds/moz2_slave/elm-w32-ntly/build/browser/installer/package.manifest ../../dist/bin ../../dist/firefox' failed, return code 1
e:\builds\moz2_slave\elm-w32-ntly\build\config\rules.mk:556:0: command 'C:/mozilla-build/buildbotve/scripts/python.exe e:/builds/moz2_slave/elm-w32-ntly/build/build/pymake/pymake/../make.py libs' failed, return code 2
e:\builds\moz2_slave\elm-w32-ntly\build\browser\build.mk:47:0: command 'C:/mozilla-build/buildbotve/scripts/python.exe e:/builds/moz2_slave/elm-w32-ntly/build/build/pymake/pymake/../make.py -C browser/installer' failed, return code 2
e:\builds\moz2_slave\elm-w32-ntly\build\client.mk:197:0: command 'C:/mozilla-build/buildbotve/scripts/python.exe e:/builds/moz2_slave/elm-w32-ntly/build/build/pymake/pymake/../make.py -C obj-firefox package MOZ_PGO_INSTRUMENTED=1 MOZ_INTERNAL_SIGNING_FORMAT= MOZ_EXTERNAL_SIGNING_FORMAT=' failed, return code 2
e:\builds\moz2_slave\elm-w32-ntly\build\client.mk:152:0: command 'C:/mozilla-build/buildbotve/scripts/python.exe e:/builds/moz2_slave/elm-w32-ntly/build/build/pymake/pymake/../make.py -f e:/builds/moz2_slave/elm-w32-ntly/build/client.mk profiledbuild' failed, return code 2
</span><span class="stderr">res/spacetrace.css was not registered
Missing file(s): ..\..\dist\bin\CommandExecuteHandler.exe
Traceback (most recent call last):
File "e:/builds/moz2_slave/elm-w32-ntly/build/toolkit/mozapps/installer/packager.py", line 600, in <module>
main()
File "e:/builds/moz2_slave/elm-w32-ntly/build/toolkit/mozapps/installer/packager.py", line 586, in main
packager.finalize()
File "e:/builds/moz2_slave/elm-w32-ntly/build/toolkit/mozapps/installer/packager.py", line 547, in finalize
Packager.finalize(self)
File "e:/builds/moz2_slave/elm-w32-ntly/build/toolkit/mozapps/installer/packager.py", line 357, in finalize
self.copier.finalize()
File "e:/builds/moz2_slave/elm-w32-ntly/build/toolkit/mozapps/installer/packager.py", line 180, in finalize
raise Exception, 'Aborting due to errors'
Exception: Aborting due to errors
</span><span class="header">program finished with exit code 2
Comment 1•13 years ago
|
||
(In reply to Jim Mathies [:jimm] from comment #0)
> This looks like packager problems. We have PGO disabled on elm for now. The
> part that breaks down is:
>
> Missing file(s): ..\..\dist\bin\CommandExecuteHandler.exe
>
> Which should be present, but maybe ..\..\dist\bin isn't where we expect it
> to be?
I don't think that file is in PGO builds only. It should fail equally on non PGO builds... maybe non PGO builds don't have an installer?
Comment 2•13 years ago
|
||
Ah, that's a metro-only install rule.
https://hg.mozilla.org/projects/elm/file/e5d4e479e4af/browser/installer/package.manifest#l318
Comment 3•13 years ago
|
||
I think the problem come from:
https://hg.mozilla.org/projects/elm/file/e5d4e479e4af/browser/metro/shell/commandexecutehandler/Makefile.in lines 12 and 14.
Remove line 12 (PROGRAMS_DEST = $(DIST)/bin) and replace SIMPLE_PROGRAMS with PROGRAM.
![]() |
Assignee | |
Comment 4•13 years ago
|
||
<glandium> jimm: and i think that's the problem. i just commented on the bug
<mbest> mbrubeck: feel free to follow up with catlee if you have objections, otherwise they will go ahead unless they hear a reason to stop their plan.
<jimm> glandium: so PROGRAMS_DEST is bad?
<glandium> jimm: no, SIMPLE_PROGRAMS is.
<glandium> jimm: ah, since you want the program to be in dist/bin, you'll want to set DIST_SUBDIR =
<bbondy> good re: v1 e10s :)
<glandium> jimm: essentially, SIMPLE_PROGRAMS are not built during the first pass of PGO. And PGO builds do package at the end of the first pass.
<jimm> I see
![]() |
Assignee | |
Updated•13 years ago
|
![]() |
Assignee | |
Updated•13 years ago
|
Summary: PGO failures related to new packager code? → PGO build failures related to command execute handler
![]() |
Assignee | |
Comment 5•13 years ago
|
||
This worked in a local build, although I have not tried a local PGO build yet.
Assignee: nobody → jmathies
Attachment #678847 -
Flags: review?(mh+mozilla)
Updated•13 years ago
|
Attachment #678847 -
Flags: review?(mh+mozilla) → review+
![]() |
Assignee | |
Comment 6•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Comment 7•13 years ago
|
||
Hi jimm,
I've found that PGO does not work on staging.
Would you mind having a look at it?
http://people.mozilla.com/~armenzg/incoming/elm.pgo.txt
LINK : fatal error LNK1266: error reading instrumentation file 'linktool.pgd'; File not found^M
![]() |
Assignee | |
Comment 8•13 years ago
|
||
(In reply to Armen Zambrano G. [:armenzg] from comment #7)
> Hi jimm,
> I've found that PGO does not work on staging.
> Would you mind having a look at it?
> http://people.mozilla.com/~armenzg/incoming/elm.pgo.txt
>
> LINK : fatal error LNK1266: error reading instrumentation file
> 'linktool.pgd'; File not found^M
Hmm looks similar to the command execute handler problem, although linktool.exe isn't distributed with the install. It is packaged in zip builds though.
I've got a pgo build going on my tablet, we'll see how far it gets.
Comment 9•13 years ago
|
||
That's a different one. It means there was no pgo info to rebuild the binary, which means the binary wasn't executed for a profile, which is not unexpected, since only firefox is being run for a profile. Just add NO_PROFILE_GUIDED_OPTIMIZE = 1 to the Makefile.in that defines linktool as a PROGRAM.
![]() |
Assignee | |
Comment 10•13 years ago
|
||
![]() |
Assignee | |
Comment 11•13 years ago
|
||
(In reply to Mike Hommey [:glandium] from comment #9)
> That's a different one. It means there was no pgo info to rebuild the
> binary, which means the binary wasn't executed for a profile, which is not
> unexpected, since only firefox is being run for a profile. Just add
> NO_PROFILE_GUIDED_OPTIMIZE = 1 to the Makefile.in that defines linktool as a
> PROGRAM.
ah ok. would that also work for metrotestharness.exe which we only use when running tests?
![]() |
Assignee | |
Comment 12•13 years ago
|
||
Attachment #679204 -
Attachment is obsolete: true
![]() |
Assignee | |
Comment 13•13 years ago
|
||
3rd time's the charm.
Attachment #679207 -
Attachment is obsolete: true
Attachment #679210 -
Flags: review?(mh+mozilla)
Comment 14•13 years ago
|
||
Comment on attachment 679210 [details] [diff] [review]
follow up
Review of attachment 679210 [details] [diff] [review]:
-----------------------------------------------------------------
::: browser/metro/shell/commandexecutehandler/Makefile.in
@@ +14,5 @@
> +
> +# We want this exe in dist/bin
> +DIST_SUBDIR =
> +
> +PROGRAM = CommandExecuteHandler$(BIN_SUFFIX)
How come these lines are in the diff?
Attachment #679210 -
Flags: review?(mh+mozilla) → review+
![]() |
Assignee | |
Comment 15•13 years ago
|
||
(In reply to Mike Hommey [:glandium] from comment #14)
> Comment on attachment 679210 [details] [diff] [review]
> follow up
>
> Review of attachment 679210 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> ::: browser/metro/shell/commandexecutehandler/Makefile.in
> @@ +14,5 @@
> > +
> > +# We want this exe in dist/bin
> > +DIST_SUBDIR =
> > +
> > +PROGRAM = CommandExecuteHandler$(BIN_SUFFIX)
>
> How come these lines are in the diff?
windows line ending cleanup from the last patch. :/
![]() |
Assignee | |
Comment 16•13 years ago
|
||
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
•