Open Bug 1025902 Opened 10 years ago Updated 2 years ago

./mach build package-tests is not working without having done a build

Categories

(Firefox Build System :: General, defect)

x86_64
Linux
defect

Tracking

(Not tracked)

People

(Reporter: armenzg, Unassigned)

Details

armenzg-thinkpad mozilla-central hg:[default!] $ ./mach build package-tests 0:00.08 /usr/bin/make -C /home/armenzg/objdirs/b2g-desktop-bug989583 -j8 -s backend.RecursiveMakeBackend 0:00.20 /usr/bin/make -j8 -s package-tests 0:00.32 /bin/sh: 1: cd: can't cd to ../../../_tests/reftest/ 0:00.32 tar: This does not look like a tar archive 0:00.32 tar: Exiting with failure status due to previous errors 0:00.32 make[1]: *** [stage-package] Error 2 0:00.32 make: *** [stage-reftest] Error 2 0:00.32 make: *** Waiting for unfinished jobs.... 0:00.32 /usr/bin/objcopy: 'dist/bin/jsapi-tests': No such file 0:00.32 make: *** [stage-cppunittests] Error 1 0:00.33 tar: manifestparser.py: Cannot stat: No such file or directory 0:00.33 tar: Exiting with failure status due to previous errors 0:00.34 cp: cannot stat ‘../../build/automation.py’: No such file or directory 0:00.34 make[1]: *** [stage-package] Error 1 0:00.34 make: *** [stage-xpcshell] Error 2 0:02.67 tar: xpcshell: Cannot stat: No such file or directory 0:02.68 tar: ssltunnel: Cannot stat: No such file or directory 0:02.68 tar: certutil: Cannot stat: No such file or directory 0:02.68 tar: pk12util: Cannot stat: No such file or directory 0:02.68 tar: BadCertServer: Cannot stat: No such file or directory 0:02.68 tar: OCSPStaplingServer: Cannot stat: No such file or directory 0:02.68 tar: GenerateOCSPResponse: Cannot stat: No such file or directory 0:02.68 tar: fix_stack_using_bpsyms.py: Cannot stat: No such file or directory 0:02.68 tar: fix-linux-stack.pl: Cannot stat: No such file or directory 0:02.68 tar: screentopng: Cannot stat: No such file or directory 0:02.68 tar: Exiting with failure status due to previous errors 0:02.68 /bin/sh: 1: cd: can't cd to ../../dist/bin/components 0:02.68 tar: This does not look like a tar archive 0:02.68 tar: Exiting with failure status due to previous errors 0:02.68 make[1]: *** [stage-package] Error 2 0:02.68 make: *** [stage-mochitest] Error 2 armenzg-thinkpad mozilla-central hg:[default!] $ cat mozconfig . "$topsrcdir/b2g/config/mozconfigs/common" mk_add_options MOZ_OBJDIR=/home/armenzg/objdirs/b2g-desktop-bug989583 mk_add_options MOZ_MAKE_FLAGS="-j9 -s" ac_add_options --enable-application=b2g ac_add_options --disable-libjpeg-turbo # This option is required if you want to be able to run Gaia's tests ac_add_options --enable-tests # turn on mozTelephony/mozSms interfaces # Only turn this line on if you actually have a dev phone # you want to forward to. If you get crashes at startup, # make sure this line is commented. #ac_add_options --enable-b2g-ril
The test package currently packages up some things that are the result of the build. Unfortunately there's no way around that at the moment.
Summary: ./mach build package-tests is not working → ./mach build package-tests is not working without having done a build
I have done a build already :) It's under ~/objdirs
Well you haven't done a build in this objdir, anyway, since dist/bin/components doesn't exist.
Product: Core → Firefox Build System
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.