Firefox23 PGO build fails on automation.py error code -10

Peter Lai cowbert at gmail.com
Thu Sep 12 07:19:59 UTC 2013


Yes tests are enabled, and also explicity in bsd.gecko.mk:
#MOZ_OPTIONS+=    --disable-tests \
MOZ_OPTIONS+=    --enable-tests \
        --enable-chrome-format=${MOZ_CHROME} \
        --enable-default-toolkit=${MOZ_TOOLKIT} \
        --with-pthreads

MOZ_PGO_INSTRUMENTED=1 JARLOG_FILE=jarlog/en-US.log EXTRA_TEST_ARGS=10
gmake -C . pgo-profile-run
gmake[1]: Entering directory
`/usr/obj/usr/ports/www/firefox/work/mozilla-release/obj-x86_64-unknown-freebsd9.1'
/usr/obj/usr/ports/www/firefox/work/mozilla-release/obj-x86_64-unknown-freebsd9.1/_virtualenv/bin/python
./_profile/pgo/profileserver.py 10
args: ['/usr/obj/usr/ports/www/firefox/work/mozilla-release/obj-x86_64-unknown-freebsd9.1/dist/firefox/firefox-bin',
'-no-remote', '-profile',
'/usr/obj/usr/ports/www/firefox/work/mozilla-release/obj-x86_64-unknown-freebsd9.1/_profile/pgo/pgoprofile/',
'http://127.0.0.1:8888/index.html']
INFO | automation.py | Application pid: 18799
TEST-UNEXPECTED-FAIL | automation.py | Exited with code -10 during test run
INFO | automation.py | Application ran for: 0:00:00.332977
INFO | zombiecheck | Reading PID log: /tmp/tmpTcTsY0pidlog
gmake[1]: *** [pgo-profile-run] Error 246
gmake[1]: Leaving directory
`/usr/obj/usr/ports/www/firefox/work/mozilla-release/obj-x86_64-unknown-freebsd9.1'
gmake: *** [profiledbuild] Error 2
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** [do-build] Error code 1

Stop in /usr/ports/www/firefox.
*** [build] Error code 1

Stop in /usr/ports/www/firefox.

On Wed, Sep 11, 2013 at 3:07 PM, Howard Goldstein <hg at queue.to> wrote:
> On 09/09/2013 11:55, Peter Lai wrote:
>> I patched Firefox 23 from a portsnap taken 2013-09-08 with the patches
>> from http://lists.freebsd.org/pipermail/freebsd-gecko/2013-August/003598.html
>> It will not PGO. I su -m, confirm shell can access X (run glxgears),
>> PGO build fails after automation.py tries to run with error code -10.
>
> Make sure your .mozconfig contains --enable-tests. You may need to tweak
> bsd.gecko.mk to suppress --disable-tests
>
>
>


More information about the freebsd-gecko mailing list