Closed Bug 1961916 Opened 29 days ago Closed 27 days ago

[Windows 2012 x64 ccov busted] mozbuild.configure.options.InvalidOptionError: Unknown option: LIB

Categories

(Thunderbird :: Build Config, defect)

x86_64
Windows 11
defect

Tracking

(Not tracked)

RESOLVED INVALID
139 Branch

People

(Reporter: heather, Unassigned)

Details

[task 2025-04-22T17:03:48.754Z] 17:03:48     INFO -  checking whether cross compiling... no
[task 2025-04-22T17:03:48.832Z] 17:03:48     INFO -  checking if configuration file confvars.sh exists... D:/task_174533959115710/build/src/comm/mail/confvars.sh
[task 2025-04-22T17:03:48.844Z] 17:03:48     INFO -  Thunderbird official branding set to 'nightly'.
[task 2025-04-22T17:03:48.844Z] 17:03:48     INFO -  checking if configuration file configure.sh exists... D:/task_174533959115710/build/src/comm/mail/branding/nightly/configure.sh
[task 2025-04-22T17:03:48.863Z] 17:03:48     INFO -  Determining COMM source information from environment...
[task 2025-04-22T17:03:48.864Z] 17:03:48     INFO -  https://hg.mozilla.org/comm-central/rev/eb4e780e68169f8fe82b56b6ad7c35a0a733cbe7
[task 2025-04-22T17:03:48.865Z] 17:03:48     INFO -  checking for hg... C:/PROGRA~1/Mercurial/hg.exe
[task 2025-04-22T17:03:48.865Z] 17:03:48     INFO -  COMM_SOURCE_REPOSITORY: https://hg.mozilla.org/comm-central
[task 2025-04-22T17:03:48.865Z] 17:03:48     INFO -  COMM_SOURCE_CHANGESET: eb4e780e68169f8fe82b56b6ad7c35a0a733cbe7
[task 2025-04-22T17:03:48.869Z] 17:03:48    ERROR -  Traceback (most recent call last):
[task 2025-04-22T17:03:48.870Z] 17:03:48     INFO -    File "D:\task_174533959115710\build\src\configure.py", line 328, in <module>
[task 2025-04-22T17:03:48.870Z] 17:03:48     INFO -      sys.exit(main(sys.argv))
[task 2025-04-22T17:03:48.870Z] 17:03:48     INFO -               ^^^^^^^^^^^^^^
[task 2025-04-22T17:03:48.870Z] 17:03:48     INFO -    File "D:\task_174533959115710\build\src\configure.py", line 136, in main
[task 2025-04-22T17:03:48.870Z] 17:03:48     INFO -      sandbox.run()
[task 2025-04-22T17:03:48.871Z] 17:03:48     INFO -    File "D:\task_174533959115710\build\src\python\mozbuild\mozbuild\configure\__init__.py", line 572, in run
[task 2025-04-22T17:03:48.871Z] 17:03:48     INFO -      raise InvalidOptionError(msg)
[task 2025-04-22T17:03:48.871Z] 17:03:48     INFO -  mozbuild.configure.options.InvalidOptionError: Unknown option: LIB
[task 2025-04-22T17:03:49.098Z] 17:03:49     INFO -  Creating local state directory: D:\task_174533959115710\.mozbuild\srcdirs\src-9ade3e20f277
[task 2025-04-22T17:03:49.105Z] 17:03:49     INFO -  Running "pip check" to verify compatibility between the system Python and the "build" site.
[task 2025-04-22T17:03:49.105Z] 17:03:49     INFO -  Creating the 'build' site at D:\task_174533959115710\.mozbuild\srcdirs\src-9ade3e20f277\_virtualenvs\build
[task 2025-04-22T17:03:49.105Z] 17:03:49     INFO -  psutil.Process().nice(psutil.IDLE_PRIORITY_CLASS)
[task 2025-04-22T17:03:49.106Z] 17:03:49     INFO -   Config object not found by mach.
[task 2025-04-22T17:03:49.106Z] 17:03:49     INFO -  *** Fix above errors and then restart with "./mach build"
[task 2025-04-22T17:03:49.144Z] 17:03:49     INFO - Return code: 1
[task 2025-04-22T17:03:49.153Z] 17:03:49  WARNING - setting return code to 2
[task 2025-04-22T17:03:49.153Z] 17:03:49    FATAL - 'mach build -v' did not run successfully. Please check log for errors.
[task 2025-04-22T17:03:49.153Z] 17:03:49    FATAL - Running post_fatal callback...
[task 2025-04-22T17:03:49.153Z] 17:03:49    FATAL - Exiting -1

It looks like the same treatment as these two m-c patches is needed, but for LIB:

It's interesting that the m-c build of "Windows 2012 x64 ccov" does not have this failure. It does not mention LIB at all. Here is a recent log of their passing build: https://treeherder.mozilla.org/logviewer?job_id=504928844&repo=mozilla-central

Here is the last passing c-c build of "Windows 2012 x64 ccov" from 2025-4-18 that does not mention LIB either: https://treeherder.mozilla.org/logviewer?job_id=504567180&repo=comm-central

Summary: mozbuild.configure.options.InvalidOptionError: Unknown option: LIB → [Windows 2012 x64 ccov busted] mozbuild.configure.options.InvalidOptionError: Unknown option: LIB

I'm not sure what changed but this no longer breaks. I didn't see any obvious fix in m-c or c-c so I'm closing this.

Status: NEW → RESOLVED
Closed: 27 days ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.