==> Synchronizing chroot copy [/data/alhp-workspace/chroot/root] -> [build_4cdae9ad-2abf-4c80-b9e9-1340ecc0dcd4]...done ==> Making package: js91 91.13.0-1.1 (Thu May 25 02:26:13 2023) ==> Retrieving sources... -> Downloading firefox-91.13.0esr.source.tar.xz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 362M 0 65852 0 0 128k 0 0:48:00 --:--:-- 0:48:00 128k 2 362M 2 8032k 0 0 5591k 0 0:01:06 0:00:01 0:01:05 5589k 9 362M 9 33.7M 0 0 13.8M 0 0:00:26 0:00:02 0:00:24 13.8M 16 362M 16 59.5M 0 0 17.3M 0 0:00:20 0:00:03 0:00:17 17.3M 23 362M 23 85.4M 0 0 19.2M 0 0:00:18 0:00:04 0:00:14 19.2M 30 362M 30 111M 0 0 20.4M 0 0:00:17 0:00:05 0:00:12 22.4M 37 362M 37 136M 0 0 21.2M 0 0:00:17 0:00:06 0:00:11 25.7M 44 362M 44 162M 0 0 21.8M 0 0:00:16 0:00:07 0:00:09 25.7M 51 362M 51 188M 0 0 22.3M 0 0:00:16 0:00:08 0:00:08 25.7M 58 362M 58 211M 0 0 22.3M 0 0:00:16 0:00:09 0:00:07 25.0M 65 362M 65 236M 0 0 22.6M 0 0:00:15 0:00:10 0:00:05 25.0M 72 362M 72 262M 0 0 22.9M 0 0:00:15 0:00:11 0:00:04 25.1M 79 362M 79 287M 0 0 23.1M 0 0:00:15 0:00:12 0:00:03 24.9M 86 362M 86 313M 0 0 23.3M 0 0:00:15 0:00:13 0:00:02 25.1M 93 362M 93 339M 0 0 23.5M 0 0:00:15 0:00:14 0:00:01 25.7M 99 362M 99 360M 0 0 23.3M 0 0:00:15 0:00:15 --:--:-- 24.7M 100 362M 100 362M 0 0 23.3M 0 0:00:15 0:00:15 --:--:-- 24.6M -> Downloading firefox-91.13.0esr.source.tar.xz.asc... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 833 100 833 0 0 2770 0 --:--:-- --:--:-- --:--:-- 2776 ==> Validating source files with sha256sums... firefox-91.13.0esr.source.tar.xz ... Passed firefox-91.13.0esr.source.tar.xz.asc ... Skipped ==> Verifying source file signatures with gpg... firefox-91.13.0esr.source.tar.xz ... Passed (WARNING: the key has expired.) ==> WARNING: Warnings have occurred while verifying the signatures. Please make sure you really trust them. ==> Making package: js91 91.13.0-1.1 (Thu May 25 02:26:40 2023) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Packages (33) compiler-rt-15.0.7-2 libedit-20221030_3.1-1 libnsl-2.0.0-3 llvm-libs-15.0.7-3 perl-error-0.17029-4 perl-mailtools-2.21-6 perl-timedate-2.33-4 python-3.11.3-1 python-autocommand-2.2.2-4 python-fastjsonschema-2.17.1-1 python-inflect-6.0.4-2 python-jaraco.context-4.3.0-3 python-jaraco.functools-3.6.0-3 python-jaraco.text-3.11.1-3 python-more-itertools-9.1.1-4 python-ordered-set-4.1.0-4 python-packaging-23.1-1 python-platformdirs-3.5.1-1 python-pydantic-1.10.7-4 python-tomli-2.0.1-3 python-trove-classifiers-2023.5.22-1 python-typing_extensions-4.6.0-1 python-validate-pyproject-0.13-1 autoconf2.13-2.13-7 clang-15.0.7-9 git-2.40.1-1 lld-15.0.7-2 llvm-15.0.7-3 mercurial-6.4.3-1 python-psutil-5.9.5-1 python-setuptools-1:67.7.2-1 rustup-1.26.0-3 zip-3.0-10 Total Installed Size: 632.54 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... checking available disk space... :: Processing package changes... installing zip... installing autoconf2.13... installing libnsl... installing python... Optional dependencies for python python-setuptools [pending] python-pip sqlite [installed] mpdecimal: for decimal xz: for lzma [installed] tk: for tkinter installing python-more-itertools... installing python-jaraco.functools... installing python-jaraco.context... installing python-autocommand... installing python-typing_extensions... installing python-pydantic... Optional dependencies for python-pydantic python-dotenv: for .env file support python-email-validator: for email validation installing python-inflect... installing python-jaraco.text... installing python-ordered-set... installing python-packaging... installing python-platformdirs... installing python-tomli... installing python-fastjsonschema... installing python-trove-classifiers... installing python-validate-pyproject... installing python-setuptools... installing python-psutil... installing rustup... You may need to run rustup update stable and possibly also rustup self upgrade-data Optional dependencies for rustup lldb: rust-lldb script gdb: rust-gdb script installing libedit... installing llvm-libs... installing llvm... installing compiler-rt... installing clang... Optional dependencies for clang openmp: OpenMP support in clang with -fopenmp python: for scan-view and git-clang-format [installed] llvm: referenced by some clang headers [installed] installing lld... installing mercurial... Optional dependencies for mercurial tk: for the hgk GUI installing perl-error... installing perl-timedate... installing perl-mailtools... installing git... Optional dependencies for git tk: gitk and git gui perl-libwww: git svn perl-term-readkey: git svn and interactive.singlekey setting perl-io-socket-ssl: git send-email TLS support perl-authen-sasl: git send-email TLS support perl-mediawiki-api: git mediawiki support perl-datetime-format-iso8601: git mediawiki support perl-lwp-protocol-https: git mediawiki https support perl-cgi: gitweb (web interface) support python: git svn & git p4 [installed] subversion: git svn org.freedesktop.secrets: keyring credential helper libsecret: libsecret credential helper [installed] :: Running post-transaction hooks... (1/2) Warn about old perl modules (2/2) Updating the info directory file... [?25h==> Retrieving sources... -> Found firefox-91.13.0esr.source.tar.xz -> Found firefox-91.13.0esr.source.tar.xz.asc ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Extracting firefox-91.13.0esr.source.tar.xz with bsdtar ==> Starting prepare()... info: syncing channel updates for '1.62.1-x86_64-unknown-linux-gnu' info: latest update on 2022-07-19, rust version 1.62.1 (e092d0b6b 2022-07-16) info: downloading component 'cargo' info: downloading component 'rust-std' info: downloading component 'rustc' info: installing component 'cargo' info: installing component 'rust-std' info: installing component 'rustc' 1.62.1-x86_64-unknown-linux-gnu installed - rustc 1.62.1 (e092d0b6b 2022-07-16) info: default toolchain set to '1.62.1-x86_64-unknown-linux-gnu' info: self-update is disabled for this build of rustup info: any updates to rustup will need to be fetched with your system package manager info: using existing install for '1.62.1-x86_64-unknown-linux-gnu' info: default toolchain set to '1.62.1-x86_64-unknown-linux-gnu' 1.62.1-x86_64-unknown-linux-gnu unchanged - rustc 1.62.1 (e092d0b6b 2022-07-16) ==> Starting build()... Building instrumented JS... 0:01.29 Clobber not needed. Error running mach: ['build'] The error occurred in code that was called by the mach command. This is either a bug in the called code itself or in the way that mach is calling it. You can invoke |./mach busted| to check if this issue is already on file. If it isn't, please use |./mach busted file build| to report it. If |./mach busted| is misbehaving, you can also inspect the dependencies of bug 1543241. If filing a bug, please include the full output of mach, including this error message. The details of the failure are as follows: ValueError: invalid mode: 'rU' File "/startdir/src/firefox-91.13.0/python/mozbuild/mozbuild/build_commands.py", line 153, in build return driver.build( ^^^^^^^^^^^^^ File "/startdir/src/firefox-91.13.0/python/mozbuild/mozbuild/controller/building.py", line 1125, in build self._write_mozconfig_json() File "/startdir/src/firefox-91.13.0/python/mozbuild/mozbuild/controller/building.py", line 1603, in _write_mozconfig_json with FileAvoidWrite(mozconfig_json) as fh: File "/startdir/src/firefox-91.13.0/python/mozbuild/mozbuild/util.py", line 342, in __exit__ self.close() File "/startdir/src/firefox-91.13.0/python/mozbuild/mozbuild/util.py", line 266, in close existing = _open(self.name, self.mode) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/startdir/src/firefox-91.13.0/python/mozbuild/mozbuild/util.py", line 62, in _open return io.open(path, mode, encoding="utf-8", newline="\n") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Build failed, check /data/alhp-workspace/chroot/build_4cdae9ad-2abf-4c80-b9e9-1340ecc0dcd4/build