Closed Bug 1906804 Opened 10 months ago Closed 9 months ago

Move CFLAGS and CXXFLAGS from old-configure to moz.configure

Categories

(Firefox Build System :: General, task)

task

Tracking

(firefox130 fixed)

RESOLVED FIXED
130 Branch
Tracking Status
firefox130 --- fixed

People

(Reporter: sergesanspaille, Assigned: sergesanspaille)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

No description provided.
Attachment #9411879 - Attachment description: WIP: Bug 1906804 - Move CFLAGS and CXXFLAGS from old-configure to moz.configure → Bug 1906804 - Move CFLAGS and CXXFLAGS from old-configure to moz.configure r=glandium
Attachment #9411879 - Attachment description: Bug 1906804 - Move CFLAGS and CXXFLAGS from old-configure to moz.configure r=glandium → Bug 1906804 - Move CFLAGS and CXXFLAGS from old-configure to moz.configure r=glandium!
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/f9fc828b8987 Move CFLAGS and CXXFLAGS from old-configure to moz.configure r=glandium
Depends on: 1909576
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/16b093f86271 Move CFLAGS and CXXFLAGS from old-configure to moz.configure r=glandium

Backed out for causing artifact build bustages.

[task 2024-07-24T06:58:48.355Z] 06:58:48     INFO -  checking for gmake... /bin/gmake
[task 2024-07-24T06:58:48.356Z] 06:58:48     INFO -  checking for watchman... not found
[task 2024-07-24T06:58:48.356Z] 06:58:48     INFO -  checking for xargs... /bin/xargs
[task 2024-07-24T06:58:48.357Z] 06:58:48     INFO -  checking for rpmbuild... not found
[task 2024-07-24T06:58:48.358Z] 06:58:48     INFO -  checking for m4... /bin/m4
[task 2024-07-24T06:58:48.360Z] 06:58:48     INFO -  Refreshing /builds/worker/checkouts/gecko/old-configure with /builds/worker/checkouts/gecko/build/autoconf/autoconf.sh
[task 2024-07-24T06:58:48.390Z] 06:58:48     INFO -  creating cache ./config.cache
[task 2024-07-24T06:58:48.401Z] 06:58:48     INFO -  checking host system type... x86_64-pc-linux-gnu
[task 2024-07-24T06:58:48.407Z] 06:58:48     INFO -  checking target system type... x86_64-pc-linux-gnu
[task 2024-07-24T06:58:48.414Z] 06:58:48     INFO -  checking build system type... x86_64-pc-linux-gnu
[task 2024-07-24T06:58:48.414Z] 06:58:48     INFO -  checking if app-specific confvars.sh exists... /builds/worker/checkouts/gecko/browser/confvars.sh
[task 2024-07-24T06:58:48.423Z] 06:58:48     INFO -  updating cache ./config.cache
[task 2024-07-24T06:58:48.424Z] 06:58:48     INFO -  creating ./config.data
[task 2024-07-24T06:58:48.432Z] 06:58:48     INFO -  Creating config.status
[task 2024-07-24T06:58:48.616Z] 06:58:48     INFO -  Reticulating splines...
[task 2024-07-24T06:58:48.841Z] 06:58:48    ERROR -  Traceback (most recent call last):
[task 2024-07-24T06:58:48.841Z] 06:58:48     INFO -    File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/frontend/sandbox.py", line 209, in exec_function
[task 2024-07-24T06:58:48.841Z] 06:58:48     INFO -      func(*args, **kwargs)
[task 2024-07-24T06:58:48.841Z] 06:58:48     INFO -    File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/frontend/sandbox.py", line 184, in execute
[task 2024-07-24T06:58:48.841Z] 06:58:48     INFO -      exec(code, self)
[task 2024-07-24T06:58:48.841Z] 06:58:48     INFO -    File "/builds/worker/checkouts/gecko/security/sandbox/linux/moz.build", line 115, in <module>
[task 2024-07-24T06:58:48.842Z] 06:58:48     INFO -      for f in CONFIG["OS_CXXFLAGS"]:
[task 2024-07-24T06:58:48.842Z] 06:58:48    ERROR -  TypeError: 'NoneType' object is not iterable
[task 2024-07-24T06:58:48.842Z] 06:58:48     INFO -  During handling of the above exception, another exception occurred:
[task 2024-07-24T06:58:48.842Z] 06:58:48    ERROR -  Traceback (most recent call last):
[task 2024-07-24T06:58:48.842Z] 06:58:48     INFO -    File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/frontend/reader.py", line 1111, in read_mozbuild
[task 2024-07-24T06:58:48.843Z] 06:58:48     INFO -      for s in self._read_mozbuild(
[task 2024-07-24T06:58:48.843Z] 06:58:48     INFO -    File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/frontend/reader.py", line 1185, in _read_mozbuild
[task 2024-07-24T06:58:48.843Z] 06:58:48     INFO -      sandbox.exec_file(path)
[task 2024-07-24T06:58:48.843Z] 06:58:48     INFO -    File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/frontend/reader.py", line 227, in exec_file
[task 2024-07-24T06:58:48.843Z] 06:58:48     INFO -      Sandbox.exec_file(self, path, becomes_current_path)
[task 2024-07-24T06:58:48.844Z] 06:58:48     INFO -    File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/frontend/sandbox.py", line 161, in exec_file
[task 2024-07-24T06:58:48.844Z] 06:58:48     INFO -      self.exec_source(source, path, becomes_current_path)
[task 2024-07-24T06:58:48.844Z] 06:58:48     INFO -    File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/frontend/sandbox.py", line 188, in exec_source
[task 2024-07-24T06:58:48.844Z] 06:58:48     INFO -      self.exec_function(
[task 2024-07-24T06:58:48.844Z] 06:58:48     INFO -    File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/frontend/sandbox.py", line 242, in exec_function
[task 2024-07-24T06:58:48.845Z] 06:58:48     INFO -      raise SandboxExecutionError(source_stack, exc[0], exc[1], exc[2])
[task 2024-07-24T06:58:48.845Z] 06:58:48     INFO -  mozbuild.frontend.sandbox.SandboxExecutionError: (['/builds/worker/checkouts/gecko/security/sandbox/linux/moz.build'], <class 'TypeError'>, TypeError("'NoneType' object is not iterable"), <traceback object at 0x7f71dd845a80>)
[task 2024-07-24T06:58:48.845Z] 06:58:48     INFO -  During handling of the above exception, another exception occurred:
[task 2024-07-24T06:58:48.845Z] 06:58:48    ERROR -  Traceback (most recent call last):
[task 2024-07-24T06:58:48.845Z] 06:58:48     INFO -    File "/builds/worker/checkouts/gecko/configure.py", line 351, in <module>
[task 2024-07-24T06:58:48.845Z] 06:58:48     INFO -      sys.exit(main(sys.argv))
[task 2024-07-24T06:58:48.846Z] 06:58:48     INFO -    File "/builds/worker/checkouts/gecko/configure.py", line 176, in main
[task 2024-07-24T06:58:48.846Z] 06:58:48     INFO -      return config_status(config)
[task 2024-07-24T06:58:48.846Z] 06:58:48     INFO -    File "/builds/worker/checkouts/gecko/configure.py", line 300, in config_status
[task 2024-07-24T06:58:48.846Z] 06:58:48     INFO -      return config_status(args=[], **sanitized_config)
[task 2024-07-24T06:58:48.846Z] 06:58:48     INFO -    File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/config_status.py", line 208, in config_status
[task 2024-07-24T06:58:48.847Z] 06:58:48     INFO -      backend.consume(definitions)
[task 2024-07-24T06:58:48.847Z] 06:58:48     INFO -    File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/backend/base.py", line 121, in consume
[task 2024-07-24T06:58:48.847Z] 06:58:48     INFO -      for obj in objs:
[task 2024-07-24T06:58:48.847Z] 06:58:48     INFO -    File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/frontend/emitter.py", line 144, in emit
[task 2024-07-24T06:58:48.847Z] 06:58:48     INFO -      for out in output:
[task 2024-07-24T06:58:48.847Z] 06:58:48     INFO -    File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/frontend/reader.py", line 906, in read_topsrcdir
[task 2024-07-24T06:58:48.848Z] 06:58:48     INFO -      for r in self.read_mozbuild(path, self.config):
[task 2024-07-24T06:58:48.848Z] 06:58:48     INFO -    File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/frontend/reader.py", line 1117, in read_mozbuild
[task 2024-07-24T06:58:48.848Z] 06:58:48     INFO -      raise bre
[task 2024-07-24T06:58:48.848Z] 06:58:48     INFO -    File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/frontend/reader.py", line 1111, in read_mozbuild
[task 2024-07-24T06:58:48.848Z] 06:58:48     INFO -      for s in self._read_mozbuild(
[task 2024-07-24T06:58:48.849Z] 06:58:48     INFO -    File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/frontend/reader.py", line 1289, in _read_mozbuild
[task 2024-07-24T06:58:48.849Z] 06:58:48     INFO -      for res in self.read_mozbuild(
[task 2024-07-24T06:58:48.849Z] 06:58:48     INFO -    File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/frontend/reader.py", line 1117, in read_mozbuild
[task 2024-07-24T06:58:48.849Z] 06:58:48     INFO -      raise bre
[task 2024-07-24T06:58:48.849Z] 06:58:48     INFO -    File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/frontend/reader.py", line 1111, in read_mozbuild
[task 2024-07-24T06:58:48.849Z] 06:58:48     INFO -      for s in self._read_mozbuild(
[task 2024-07-24T06:58:48.850Z] 06:58:48     INFO -    File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/frontend/reader.py", line 1289, in _read_mozbuild
[task 2024-07-24T06:58:48.850Z] 06:58:48     INFO -      for res in self.read_mozbuild(
[task 2024-07-24T06:58:48.850Z] 06:58:48     INFO -    File "/builds/worker/checkouts/gecko/python/mozbuild/mozbuild/frontend/reader.py", line 1125, in read_mozbuild
[task 2024-07-24T06:58:48.850Z] 06:58:48     INFO -      raise BuildReaderError(
[task 2024-07-24T06:58:48.850Z] 06:58:48     INFO -  mozbuild.frontend.reader.BuildReaderError:
[task 2024-07-24T06:58:48.851Z] 06:58:48     INFO -  ==============================
[task 2024-07-24T06:58:48.851Z] 06:58:48     INFO -  FATAL ERROR PROCESSING MOZBUILD FILE
[task 2024-07-24T06:58:48.851Z] 06:58:48     INFO -  ==============================
[task 2024-07-24T06:58:48.851Z] 06:58:48     INFO -  The error occurred while processing the following file:
[task 2024-07-24T06:58:48.851Z] 06:58:48     INFO -      /builds/worker/checkouts/gecko/security/sandbox/linux/moz.build
[task 2024-07-24T06:58:48.851Z] 06:58:48     INFO -  The error was triggered on line 115 of this file:
[task 2024-07-24T06:58:48.852Z] 06:58:48     INFO -      for f in CONFIG["OS_CXXFLAGS"]:
[task 2024-07-24T06:58:48.852Z] 06:58:48     INFO -  An error was encountered as part of executing the file itself. The error appears to be the fault of the script.
[task 2024-07-24T06:58:48.852Z] 06:58:48     INFO -  The error as reported by Python is:
[task 2024-07-24T06:58:48.852Z] 06:58:48    ERROR -      ["TypeError: 'NoneType' object is not iterable\n"]
[task 2024-07-24T06:58:49.111Z] 06:58:49     INFO -  *** Fix above errors and then restart with "./mach build"
[task 2024-07-24T06:58:49.199Z] 06:58:49     INFO - Return code: 1
[task 2024-07-24T06:58:49.199Z] 06:58:49  WARNING - setting return code to 2
[task 2024-07-24T06:58:49.199Z] 06:58:49    FATAL - 'mach build -v' did not run successfully. Please check log for errors.
[task 2024-07-24T06:58:49.199Z] 06:58:49    FATAL - Running post_fatal callback...
[task 2024-07-24T06:58:49.199Z] 06:58:49    FATAL - Exiting -1
[task 2024-07-24T06:58:49.199Z] 06:58:49     INFO - [mozharness: 2024-07-24 06:58:49.199265Z] Finished build step (failed)
Flags: needinfo?(mh+mozilla)
Attachment #9411879 - Attachment description: Bug 1906804 - Move CFLAGS and CXXFLAGS from old-configure to moz.configure r=glandium! → Bug 1906804 - Move CFLAGS and CXXFLAGS from old-configure to moz.configure r=glandium
Pushed by sguelton@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/861058abe417 Move CFLAGS and CXXFLAGS from old-configure to moz.configure r=glandium
Status: NEW → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → 130 Branch
Flags: needinfo?(mh+mozilla)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: