Closed Bug 1420538 Opened 7 years ago Closed 7 years ago

MacOSX l10n dep builds failing on configure step.

Categories

(SeaMonkey :: Build Config, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
seamonkey2.56

People

(Reporter: ewong, Assigned: ewong)

Details

Attachments

(2 files, 1 obsolete file)

While our l10n setup has been busted for so long, this bug is only
for the osx setup as it's failing the configure step:

checking for vcs source checkout... hg
checking for a shell... /bin/sh
checking for host system type... x86_64-apple-darwin11.4.2
checking for target system type... x86_64-apple-darwin11.4.2
checking for a shell... /bin/sh
checking for host system type... x86_64-apple-darwin11.4.2
checking for target system type... x86_64-apple-darwin11.4.2
checking for vcs source checkout... hg
Traceback (most recent call last):
  File "/builds/slave/c-cen-t-osx64-l10n-dep/build/comm-central-trunk/configure.py", line 32, in <module>
    sys.exit(main(sys.argv))
  File "/builds/slave/c-cen-t-osx64-l10n-dep/build/comm-central-trunk/configure.py", line 24, in main
    sandbox.run(os.path.join(os.path.dirname(__file__), 'moz.configure'))
  File "/builds/slave/c-cen-t-osx64-l10n-dep/build/comm-central-trunk/mozilla/python/mozbuild/mozbuild/configure/__init__.py", line 409, in run
    self._value_for(option)
  File "/builds/slave/c-cen-t-osx64-l10n-dep/build/comm-central-trunk/mozilla/python/mozbuild/mozbuild/configure/__init__.py", line 477, in _value_for
    return self._value_for_option(obj)
  File "/builds/slave/c-cen-t-osx64-l10n-dep/build/comm-central-trunk/mozilla/python/mozbuild/mozbuild/util.py", line 944, in method_call
    cache[args] = self.func(instance, *args)
  File "/builds/slave/c-cen-t-osx64-l10n-dep/build/comm-central-trunk/mozilla/python/mozbuild/mozbuild/configure/__init__.py", line 542, in _value_for_option
    % option_string.split('=', 1)[0])
mozbuild.configure.options.InvalidOptionError: CCACHE is not available in this configuration

The l10n dep build process is missing a few steps (namely the osx sdk ones).
Attached patch [custom] add macosx-only steps (obsolete) — Splinter Review
Attachment #8931811 - Flags: review?(frgrahl)
--disable-compile-environment doesn't work with our infra.
Attachment #8931816 - Flags: review?(frgrahl)
Comment on attachment 8931811 [details] [diff] [review]
[custom] add macosx-only steps

Looks good. 

NIT SDK 10.10 not 10.1
Attachment #8931811 - Flags: review?(frgrahl) → review+
Comment on attachment 8931816 [details] [diff] [review]
[mozconfigs] remove --disable-compile-environment

Do you know why it is failing? In theory the compiler should not be needed.
Attachment #8931816 - Flags: review?(frgrahl) → review+
(In reply to Frank-Rainer Grahl (:frg) from comment #4)
> Comment on attachment 8931816 [details] [diff] [review]
> [mozconfigs] remove --disable-compile-environment
> 
> Do you know why it is failing? In theory the compiler should not be needed.

The source tree needs configuring and right now, with the disable-compile-environment,
I get:


Error processing command. Ignoring because optional. (optional:packages.txt:comm/build/virtualenv_packages.txt)
Reexecuting in the virtualenv
Adding configure options from /builds/slave/c-cen-t-osx64-l10n-dep/build/comm-central-trunk/.mozconfig
  --enable-crashreporter
  --enable-js-shell
  --enable-rust-simd
  --with-macos-private-frameworks=/builds/slave/c-cen-t-osx64-l10n-dep/build/comm-central-trunk//MacOSX10.10.sdk/System/Library/PrivateFrameworks
  --disable-xcode-checks
  --disable-stylo
  --with-l10n-base=../../l10n
  --enable-application=suite
  --enable-update-channel=
  --disable-install-strip
  --enable-calendar
  --disable-compile-environment
  RUSTFLAGS=-C debuginfo=1
  DSYMUTIL=/builds/slave/c-cen-t-osx64-l10n-dep/build/comm-central-trunk//clang/bin/llvm-dsymutil
  SOCORRO_SYMBOL_UPLOAD_TOKEN_FILE=/builds/crash-stats-api.token
  CC=/builds/slave/c-cen-t-osx64-l10n-dep/build/comm-central-trunk//clang/bin/clang -isysroot /builds/slave/c-cen-t-osx64-l10n-dep/build/comm-central-trunk//MacOSX10.10.sdk
  CXX=/builds/slave/c-cen-t-osx64-l10n-dep/build/comm-central-trunk//clang/bin/clang++ -isysroot /builds/slave/c-cen-t-osx64-l10n-dep/build/comm-central-trunk//MacOSX10.10.sdk
  CROSS_SYSROOT=/builds/slave/c-cen-t-osx64-l10n-dep/build/comm-central-trunk//MacOSX10.10.sdk
  RANLIB=/builds/slave/c-cen-t-osx64-l10n-dep/build/comm-central-trunk//cctools/bin/ranlib
  MOZ_AUTOMATION_MOZCONFIG=1
  AR=/builds/slave/c-cen-t-osx64-l10n-dep/build/comm-central-trunk//cctools/bin/ar
  MOZILLA_OFFICIAL=1
  CCACHE=ccache
  LDFLAGS=-Wl,-syslibroot,/builds/slave/c-cen-t-osx64-l10n-dep/build/comm-central-trunk//MacOSX10.10.sdk  -B/builds/slave/c-cen-t-osx64-l10n-dep/build/comm-central-trunk//cctools/bin  -Wl,-no_data_in_code_info
  LLVMCONFIG=/builds/slave/c-cen-t-osx64-l10n-dep/build/comm-central-trunk//clang/bin/llvm-config
  CPP=/builds/slave/c-cen-t-osx64-l10n-dep/build/comm-central-trunk//clang/bin/clang -isysroot /builds/slave/c-cen-t-osx64-l10n-dep/build/comm-central-trunk//MacOSX10.10.sdk -E
  BINDGEN_CFLAGS=-isysroot /builds/slave/c-cen-t-osx64-l10n-dep/build/comm-central-trunk//MacOSX10.10.sdk
  CARGO=/builds/slave/c-cen-t-osx64-l10n-dep/build/comm-central-trunk//rustc/bin/cargo
  CROSS_PRIVATE_FRAMEWORKS=/builds/slave/c-cen-t-osx64-l10n-dep/build/comm-central-trunk//MacOSX10.10.sdk/System/Library/PrivateFrameworks
  RUSTC=/builds/slave/c-cen-t-osx64-l10n-dep/build/comm-central-trunk//rustc/bin/rustc
  MOZ_IS_COMM_TOPDIR=1
  MOZ_ADDON_SIGNING=0
  MOZ_REQUIRE_SIGNING=0
  FLAGS=-isysroot /builds/slave/c-cen-t-osx64-l10n-dep/build/comm-central-trunk//MacOSX10.10.sdk
checking for vcs source checkout... hg
checking for a shell... /bin/sh
checking for host system type... x86_64-apple-darwin11.4.2
checking for target system type... x86_64-apple-darwin11.4.2
checking for a shell... /bin/sh
checking for host system type... x86_64-apple-darwin11.4.2
checking for target system type... x86_64-apple-darwin11.4.2
checking for vcs source checkout... hg
Traceback (most recent call last):
  File "/builds/slave/c-cen-t-osx64-l10n-dep/build/comm-central-trunk/configure.py", line 32, in <module>
    sys.exit(main(sys.argv))
  File "/builds/slave/c-cen-t-osx64-l10n-dep/build/comm-central-trunk/configure.py", line 24, in main
    sandbox.run(os.path.join(os.path.dirname(__file__), 'moz.configure'))
  File "/builds/slave/c-cen-t-osx64-l10n-dep/build/comm-central-trunk/mozilla/python/mozbuild/mozbuild/configure/__init__.py", line 409, in run
    self._value_for(option)
  File "/builds/slave/c-cen-t-osx64-l10n-dep/build/comm-central-trunk/mozilla/python/mozbuild/mozbuild/configure/__init__.py", line 477, in _value_for
    return self._value_for_option(obj)
  File "/builds/slave/c-cen-t-osx64-l10n-dep/build/comm-central-trunk/mozilla/python/mozbuild/mozbuild/util.py", line 944, in method_call
    cache[args] = self.func(instance, *args)
  File "/builds/slave/c-cen-t-osx64-l10n-dep/build/comm-central-trunk/mozilla/python/mozbuild/mozbuild/configure/__init__.py", line 542, in _value_for_option
    % option_string.split('=', 1)[0])
mozbuild.configure.options.InvalidOptionError: --disable-xcode-checks is not available in this configuration
*** Fix above errors and then restart with               "make -f client.mk build"

Removed the --disable-compile-environment,

I get a completed configure step.
Attachment #8931811 - Attachment is obsolete: true
Attachment #8931859 - Flags: review+
Pushed by ewong@pw-wspx.org:
https://hg.mozilla.org/comm-central/rev/8c1100ce0570
Do not disable compile environment as it is needed now in mac r=frg
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Assignee: nobody → ewong
Target Milestone: --- → Seamonkey2.56
(In reply to Tom Prince [:tomprince] from comment #8)
> https://hg.mozilla.org/comm-central/rev/88393c26b421 might be a better
> solution to this.

Applying that resulting l10n-mozconfig, I get (with make -f client.mk configure)

Error processing command. Ignoring because optional. (optional:packages.txt:comm/build/virtualenv_packages.txt)
Reexecuting in the virtualenv
Adding configure options from /builds/slave/c-cen-t-osx64-l10n-dep/build/comm-central-trunk/.mozconfig
  --enable-crashreporter
  --enable-js-shell
  --enable-rust-simd
  --with-macos-private-frameworks=/builds/slave/c-cen-t-osx64-l10n-dep/build/comm-central-trunk//MacOSX10.10.sdk/System/Library/PrivateFrameworks
  --disable-xcode-checks
  --disable-stylo
  --disable-compile-environment
  --with-l10n-base=../../l10n
  --enable-application=suite
  --enable-update-channel=nightly
  --disable-install-strip
  --enable-calendar
  RUSTFLAGS=-C debuginfo=1
  DSYMUTIL=/builds/slave/c-cen-t-osx64-l10n-dep/build/comm-central-trunk//clang/bin/llvm-dsymutil
  SOCORRO_SYMBOL_UPLOAD_TOKEN_FILE=/builds/crash-stats-api.token
  CROSS_SYSROOT=/builds/slave/c-cen-t-osx64-l10n-dep/build/comm-central-trunk//MacOSX10.10.sdk
  RANLIB=/builds/slave/c-cen-t-osx64-l10n-dep/build/comm-central-trunk//cctools/bin/ranlib
  MOZ_AUTOMATION_MOZCONFIG=1
  AR=/builds/slave/c-cen-t-osx64-l10n-dep/build/comm-central-trunk//cctools/bin/ar
  MOZILLA_OFFICIAL=1
  LDFLAGS=-Wl,-syslibroot,/builds/slave/c-cen-t-osx64-l10n-dep/build/comm-central-trunk//MacOSX10.10.sdk  -B/builds/slave/c-cen-t-osx64-l10n-dep/build/comm-central-trunk//cctools/bin  -Wl,-no_data_in_code_info
  LLVMCONFIG=/builds/slave/c-cen-t-osx64-l10n-dep/build/comm-central-trunk//clang/bin/llvm-config
  CPP=/builds/slave/c-cen-t-osx64-l10n-dep/build/comm-central-trunk//clang/bin/clang -isysroot /builds/slave/c-cen-t-osx64-l10n-dep/build/comm-central-trunk//MacOSX10.10.sdk -E
  CROSS_PRIVATE_FRAMEWORKS=/builds/slave/c-cen-t-osx64-l10n-dep/build/comm-central-trunk//MacOSX10.10.sdk/System/Library/PrivateFrameworks
  MOZ_ADDON_SIGNING=0
  MOZ_IS_COMM_TOPDIR=1
  TOOLTOOL_DIR=/builds/slave/c-cen-t-osx64-l10n-dep/build/comm-central-trunk/
  MOZ_REQUIRE_SIGNING=0
  FLAGS=-isysroot /builds/slave/c-cen-t-osx64-l10n-dep/build/comm-central-trunk//MacOSX10.10.sdk
  NO_CACHE=1
checking for vcs source checkout... hg
checking for a shell... /bin/sh
checking for host system type... x86_64-apple-darwin11.4.2
checking for target system type... x86_64-apple-darwin11.4.2
checking for a shell... /bin/sh
checking for host system type... x86_64-apple-darwin11.4.2
checking for target system type... x86_64-apple-darwin11.4.2
checking for vcs source checkout... hg
Traceback (most recent call last):
  File "/builds/slave/c-cen-t-osx64-l10n-dep/build/comm-central-trunk/configure.py", line 32, in <module>
    sys.exit(main(sys.argv))
  File "/builds/slave/c-cen-t-osx64-l10n-dep/build/comm-central-trunk/configure.py", line 24, in main
    sandbox.run(os.path.join(os.path.dirname(__file__), 'moz.configure'))
  File "/builds/slave/c-cen-t-osx64-l10n-dep/build/comm-central-trunk/mozilla/python/mozbuild/mozbuild/configure/__init__.py", line 409, in run
    self._value_for(option)
  File "/builds/slave/c-cen-t-osx64-l10n-dep/build/comm-central-trunk/mozilla/python/mozbuild/mozbuild/configure/__init__.py", line 477, in _value_for
    return self._value_for_option(obj)
  File "/builds/slave/c-cen-t-osx64-l10n-dep/build/comm-central-trunk/mozilla/python/mozbuild/mozbuild/util.py", line 944, in method_call
    cache[args] = self.func(instance, *args)
  File "/builds/slave/c-cen-t-osx64-l10n-dep/build/comm-central-trunk/mozilla/python/mozbuild/mozbuild/configure/__init__.py", line 542, in _value_for_option
    % option_string.split('=', 1)[0])
mozbuild.configure.options.InvalidOptionError: --disable-xcode-checks is not available in this configuration
*** Fix above errors and then restart with               "make -f client.mk build"
make: *** [configure] Error 1
Yeah, you can remove --disable-xcode-checks from the config. Or you could copy what I did in Bug 1423313.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: