Closed Bug 1796542 Opened 3 years ago Closed 3 years ago

./mach build fails to find pdbstr

Categories

(Firefox Build System :: General, defect)

defect

Tracking

(firefox-esr102 unaffected, firefox106 unaffected, firefox107 unaffected, firefox108 fixed)

RESOLVED FIXED
108 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox106 --- unaffected
firefox107 --- unaffected
firefox108 --- fixed

People

(Reporter: saschanaz, Assigned: saschanaz)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(1 file)

> ./mach build
 0:01.54 Clobber not needed.
 C:/Users/sasch/Documents/GitHub/gecko-dev/obj-x86_64-pc-mingw32/config.status is out of date with respect to C:/Users/sasch/Documents/GitHub/gecko-dev/toolkit/moz.configure
 0:02.01 Using Python 3.10.8 from C:\Users\sasch\Documents\GitHub\gecko-dev\obj-x86_64-pc-mingw32\_virtualenvs\build\Scripts\python.exe
 0:02.01 Adding configure options from C:\Users\sasch\Documents\GitHub\gecko-dev\mozconfig
 0:02.01   --disable-optimize
 0:02.01 checking for vcs source checkout... git
 0:02.07 checking for a shell... C:/mozilla-build/msys2/usr/bin/sh.exe
 0:02.07 checking for host system type... x86_64-pc-mingw32
 0:02.07 checking for target system type... x86_64-pc-mingw32
 0:02.45 checking whether cross compiling... no
 0:02.68 checking for Python 3... C:/Users/sasch/Documents/GitHub/gecko-dev/obj-x86_64-pc-mingw32/_virtualenvs/build/Scripts/python.exe (3.10.8)
 0:02.68 checking for git... C:/PROGRA~1/Git/cmd/git.exe
 0:02.71 checking for Git version... 2.38.0.windows.1
 0:02.71 checking for sparse checkout... no
 0:04.91 checking for wget... C:/mozilla-build/msys2/usr/bin/wget.exe
 0:04.94 checking for ccache... not found
 0:04.94 checking for the target C compiler... C:/Users/sasch/.mozbuild/clang/bin/clang-cl.exe
 0:05.00 checking whether the target C compiler can be used... yes
 0:05.00 checking the target C compiler version... 14.0.5
 0:05.04 checking the target C compiler works... yes
 0:05.04 checking for the target C++ compiler... C:/Users/sasch/.mozbuild/clang/bin/clang-cl.exe
 0:05.08 checking whether the target C++ compiler can be used... yes
 0:05.08 checking the target C++ compiler version... 14.0.5
 0:05.11 checking the target C++ compiler works... yes
 0:05.11 checking for the host C compiler... C:/Users/sasch/.mozbuild/clang/bin/clang-cl.exe
 0:05.16 checking whether the host C compiler can be used... yes
 0:05.16 checking the host C compiler version... 14.0.5
 0:05.19 checking the host C compiler works... yes
 0:05.19 checking for the host C++ compiler... C:/Users/sasch/.mozbuild/clang/bin/clang-cl.exe
 0:05.24 checking whether the host C++ compiler can be used... yes
 0:05.24 checking the host C++ compiler version... 14.0.5
 0:05.26 checking the host C++ compiler works... yes
 0:05.29 checking for 64-bit OS... yes
 0:05.32 checking for Windows SDK... 0x0a00 in C:/PROGRA~2/WI3CF2~1/10/
 0:05.32 checking for Universal CRT SDK... 10.0.22000.0 in C:/PROGRA~2/WI3CF2~1/10/
 0:05.32 checking for linker... C:/Users/sasch/.mozbuild/clang/bin/lld-link.exe
 0:05.32 checking for host_linker... C:/Users/sasch/.mozbuild/clang/bin/lld-link.exe
 0:05.32 checking for the assembler... C:/PROGRA~2/MICROS~2/2022/BUILDT~1/VC/Tools/MSVC/1432~1.313/bin/HostX64/x64/ml64.exe
 0:05.33 checking for rc... C:/Users/sasch/.mozbuild/clang/bin/llvm-rc.exe
 0:05.33 checking for ar... C:/Users/sasch/.mozbuild/clang/bin/llvm-lib.exe
 0:05.36 checking for stdint.h... yes
 0:05.40 checking for inttypes.h... yes
 0:05.43 checking for malloc.h... yes
 0:05.46 checking for alloca.h... no
 0:05.49 checking for sys/byteorder.h... no
 0:05.51 checking for getopt.h... no
 0:05.54 checking for unistd.h... no
 0:05.57 checking for nl_types.h... no
 0:05.60 checking for cpuid.h... yes
 0:05.62 checking for fts.h... no
 0:05.65 checking for sys/statvfs.h... no
 0:05.68 checking for sys/statfs.h... no
 0:05.70 checking for sys/vfs.h... no
 0:05.73 checking for sys/mount.h... no
 0:05.76 checking for sys/quota.h... no
 0:05.79 checking for sys/queue.h... no
 0:05.82 checking for sys/types.h... yes
 0:05.85 checking for netinet/in.h... no
 0:05.87 checking for byteswap.h... no
 0:05.90 checking for memfd_create in sys/mman.h... no
 0:05.93 checking for perf_event_open system call... no
 0:05.96 checking whether the C compiler supports -Wbitfield-enum-conversion... yes
 0:05.98 checking whether the C++ compiler supports -Wbitfield-enum-conversion... yes
 0:06.01 checking whether the C++ compiler supports -Wdeprecated-this-capture... yes
 0:06.04 checking whether the C compiler supports -Wformat-type-confusion... yes
 0:06.05 checking whether the C++ compiler supports -Wformat-type-confusion... yes
 0:06.09 checking whether the C compiler supports -Wshadow-field-in-constructor-modified... yes
 0:06.12 checking whether the C++ compiler supports -Wshadow-field-in-constructor-modified... yes
 0:06.13 checking whether the C compiler supports -Wno-error=tautological-type-limit-compare... yes
 0:06.16 checking whether the C++ compiler supports -Wno-error=tautological-type-limit-compare... yes
 0:06.20 checking whether the C compiler supports -Wunreachable-code-return... yes
 0:06.23 checking whether the C++ compiler supports -Wunreachable-code-return... yes
 0:06.26 checking whether the C compiler supports -Wunused-but-set-parameter... yes
 0:06.31 checking whether the C++ compiler supports -Wunused-but-set-parameter... yes
 0:06.34 checking whether the C compiler supports -Wclass-varargs... yes
 0:06.37 checking whether the C++ compiler supports -Wclass-varargs... yes
 0:06.40 checking whether the C++ compiler supports -Wempty-init-stmt... yes
 0:06.43 checking whether the C compiler supports -Wfloat-overflow-conversion... yes
 0:06.46 checking whether the C++ compiler supports -Wfloat-overflow-conversion... yes
 0:06.48 checking whether the C compiler supports -Wfloat-zero-conversion... yes
 0:06.51 checking whether the C++ compiler supports -Wfloat-zero-conversion... yes
 0:06.54 checking whether the C compiler supports -Wloop-analysis... yes
 0:06.57 checking whether the C++ compiler supports -Wloop-analysis... yes
 0:06.60 checking whether the C compiler supports -Wno-range-loop-analysis... yes
 0:06.64 checking whether the C++ compiler supports -Wno-range-loop-analysis... yes
 0:06.65 checking whether the C++ compiler supports -Wc++2a-compat... yes
 0:06.68 checking whether the C++ compiler supports -Wcomma-subscript... no
 0:06.70 checking whether the C compiler supports -Wenum-compare-conditional... yes
 0:06.73 checking whether the C++ compiler supports -Wenum-compare-conditional... yes
 0:06.76 checking whether the C++ compiler supports -Wno-ambiguous-reversed-operator... yes
 0:06.79 checking whether the C++ compiler supports -Wno-error=deprecated... yes
 0:06.81 checking whether the C++ compiler supports -Wno-error=deprecated-anon-enum-enum-conversion... yes
 0:06.84 checking whether the C++ compiler supports -Wno-error=deprecated-enum-enum-conversion... yes
 0:06.87 checking whether the C++ compiler supports -Wno-error=deprecated-enum-float-conversion... yes
 0:06.90 checking whether the C++ compiler supports -Wno-error=deprecated-pragma... yes
 0:06.92 checking whether the C++ compiler supports -Wno-error=deprecated-this-capture... yes
 0:06.95 checking whether the C++ compiler supports -Wno-error=deprecated-volatile... yes
 0:06.96 checking whether the C++ compiler supports -Wno-error=volatile... no
 0:07.00 checking whether the C++ compiler supports -Wcomma... yes
 0:07.01 checking whether the C compiler supports -Wduplicated-cond... no
 0:07.03 checking whether the C++ compiler supports -Wduplicated-cond... no
 0:07.06 checking whether the C++ compiler supports -Wimplicit-fallthrough... yes
 0:07.07 checking whether the C compiler supports -Wlogical-op... no
 0:07.11 checking whether the C++ compiler supports -Wlogical-op... no
 0:07.12 checking whether the C compiler supports -Wstring-conversion... yes
 0:07.15 checking whether the C++ compiler supports -Wstring-conversion... yes
 0:07.18 checking whether the C++ compiler supports -Wno-inline-new-delete... yes
 0:07.21 checking whether the C compiler supports -Wno-error=maybe-uninitialized... no
 0:07.22 checking whether the C++ compiler supports -Wno-error=maybe-uninitialized... no
 0:07.25 checking whether the C compiler supports -Wno-error=deprecated-declarations... yes
 0:07.28 checking whether the C++ compiler supports -Wno-error=deprecated-declarations... yes
 0:07.31 checking whether the C compiler supports -Wno-error=array-bounds... yes
 0:07.32 checking whether the C++ compiler supports -Wno-error=array-bounds... yes
 0:07.36 checking whether the C compiler supports -Wno-error=free-nonheap-object... yes
 0:07.39 checking whether the C++ compiler supports -Wno-error=free-nonheap-object... yes
 0:07.41 checking whether the C compiler supports -Wno-multistatement-macros... no
 0:07.42 checking whether the C++ compiler supports -Wno-multistatement-macros... no
 0:07.43 checking whether the C compiler supports -Wno-error=class-memaccess... no
 0:07.47 checking whether the C++ compiler supports -Wno-error=class-memaccess... no
 0:07.48 checking whether the C compiler supports -Wno-error=atomic-alignment... yes
 0:07.51 checking whether the C++ compiler supports -Wno-error=atomic-alignment... yes
 0:07.53 checking whether the C compiler supports -Wno-error=deprecated-builtins... no
 0:07.54 checking whether the C++ compiler supports -Wno-error=deprecated-builtins... no
 0:07.58 checking whether the C compiler supports -Wno-unknown-pragmas... yes
 0:07.61 checking whether the C++ compiler supports -Wno-unknown-pragmas... yes
 0:07.64 checking whether the C compiler supports -Wno-ignored-pragmas... yes
 0:07.65 checking whether the C++ compiler supports -Wno-ignored-pragmas... yes
 0:07.69 checking whether the C compiler supports -Wno-deprecated-declarations... yes
 0:07.72 checking whether the C++ compiler supports -Wno-deprecated-declarations... yes
 0:07.75 checking whether the C++ compiler supports -Wno-microsoft-enum-value... yes
 0:07.76 checking whether the C++ compiler supports -Wno-microsoft-include... yes
 0:07.80 checking whether the C compiler supports -Wno-invalid-noreturn... yes
 0:07.83 checking whether the C++ compiler supports -Wno-invalid-noreturn... yes
 0:07.84 checking whether the C++ compiler supports -Wno-inconsistent-missing-override... yes
 0:07.87 checking whether the C++ compiler supports -Wno-implicit-exception-spec-mismatch... yes
 0:07.91 checking whether the C++ compiler supports -Wno-microsoft-exception-spec... yes
 0:07.92 checking whether the C++ compiler supports -Wno-unused-local-typedef... yes
 0:07.95 checking whether the C++ compiler supports -Wno-ignored-attributes... yes
 0:07.98 checking whether the C++ compiler supports -Wno-used-but-marked-unused... yes
 0:08.02 checking whether the C compiler supports -Werror=implicit-function-declaration... yes
 0:08.03 checking whether the C compiler supports -Wno-psabi... yes
 0:08.06 checking whether the C++ compiler supports -Wno-psabi... yes
 0:08.09 checking whether the C compiler supports -Wthread-safety... yes
 0:08.11 checking whether the C++ compiler supports -Wthread-safety... yes
 0:08.14 checking whether the C compiler supports -Wno-unknown-warning-option... yes
 0:08.17 checking whether the C++ compiler supports -Wno-unknown-warning-option... yes
 0:08.19 checking whether the C++ compiler supports -fno-sized-deallocation... no
 0:08.21 checking whether the C++ compiler supports -fno-aligned-new... no
 0:08.21 checking for llvm_profdata... C:/Users/sasch/.mozbuild/clang/bin/llvm-profdata.exe
 0:08.21 checking for rustc... C:/Users/sasch/.cargo/bin/rustc.exe
 0:08.22 checking for cargo... C:/Users/sasch/.cargo/bin/cargo.exe
 0:08.31 Actually using 'C:\Users\sasch\.rustup\toolchains\stable-x86_64-pc-windows-msvc\bin\rustc.exe'
 0:08.38 Actually using 'C:\Users\sasch\.rustup\toolchains\stable-x86_64-pc-windows-msvc\bin\cargo.exe'
 0:08.39 checking rustc version... 1.63.0
 0:08.41 checking cargo version... 1.63.0
 0:08.50 checking for rust host triplet... x86_64-pc-windows-msvc
 0:08.55 checking for rust target triplet... x86_64-pc-windows-msvc
 0:08.55 checking for rustdoc... C:/Users/sasch/.cargo/bin/rustdoc.exe
 0:08.58 checking for cbindgen... C:/Users/sasch/.mozbuild/cbindgen/cbindgen.exe
 0:08.58 checking for rustfmt... C:/Users/sasch/.cargo/bin/rustfmt.exe
 0:08.63 checking for clang for bindgen... C:/Users/sasch/.mozbuild/clang/bin/clang.exe
 0:08.64 checking for libclang for bindgen... C:/Users/sasch/.mozbuild/clang/bin/libclang.dll
 0:08.66 checking that libclang is new enough... yes
 0:08.66 checking bindgen cflags... -x c++ -fno-sized-deallocation -fno-aligned-new -DTRACING=1 -DIMPL_LIBXUL -DMOZILLA_INTERNAL_API -DRUST_BINDGEN -DOS_WIN=1 -DWIN32=1 -D_CRT_USE_BUILTIN_OFFSETOF -DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE=1 -std=gnu++17
 0:08.69 checking for tm_zone and tm_gmtoff in struct tm... no
 0:08.86 checking for _getc_nolock... yes
 0:08.97 checking for localeconv... yes
 0:08.99 checking for nodejs... C:\Users\sasch\.mozbuild\node\node.EXE (16.17.1)
 0:09.00 checking for tar... C:/Windows/system32/tar.exe
 0:09.01 checking for unzip... C:/mozilla-build/bin/unzip.exe
 0:09.01 checking for the Mozilla API key... no
 0:09.01 checking for the Google Location Service API key... no
 0:09.01 checking for the Google Safebrowsing API key... no
 0:09.01 checking for the Bing API key... no
 0:09.01 checking for the Adjust SDK key... no
 0:09.01 checking for the Leanplum SDK key... no
 0:09.01 checking for the Pocket API key... no
 0:09.01 checking for midl... C:/PROGRA~2/WI3CF2~1/10/bin/10.0.22000.0/x64/midl.exe
 0:09.02 checking for llvm-dlltool... C:/Users/sasch/.mozbuild/clang/bin/llvm-dlltool.exe
 0:09.02 checking for fxc... C:/PROGRA~2/WI3CF2~1/10/bin/10.0.22000.0/x64/fxc.exe
 0:09.02 checking for nasm... C:/Users/sasch/.mozbuild/nasm/nasm.exe
 0:09.02 checking nasm version... 2.15.05
 0:09.02 checking for D3D compiler DLL... C:/PROGRA~2/WI3CF2~1/10/Redist/D3D/x64/d3dcompiler_47.dll
 0:09.03 checking for the wasm C compiler... C:/Users/sasch/.mozbuild/clang/bin/clang.exe
 0:09.07 checking whether the wasm C compiler can be used... yes
 0:09.07 checking the wasm C compiler version... 14.0.5
 0:09.14 checking the wasm C compiler works... yes
 0:09.14 checking for the wasm C++ compiler... C:/Users/sasch/.mozbuild/clang/bin/clang++.exe
 0:09.28 checking whether the wasm C++ compiler can be used... yes
 0:09.28 checking the wasm C++ compiler version... 14.0.5
 0:09.32 checking the wasm C++ compiler works... yes
 0:09.32 checking for dump_syms... C:/Users/sasch/.mozbuild/dump_syms/dump_syms.exe
 0:09.33 checking for pdbstr...
 0:09.33 DEBUG: pdbstr: Looking for pdbstr.exe
 0:09.33 Traceback (most recent call last):
 0:09.33   File "C:\Users\sasch\Documents\GitHub\gecko-dev\configure.py", line 350, in <module>
 0:09.33     sys.exit(main(sys.argv))
 0:09.33   File "C:\Users\sasch\Documents\GitHub\gecko-dev\configure.py", line 132, in main
 0:09.33     sandbox.run(os.path.join(os.path.dirname(__file__), "moz.configure"))
 0:09.33   File "C:\Users\sasch\Documents\GitHub\gecko-dev\python\mozbuild\mozbuild\configure\__init__.py", line 567, in run
 0:09.33     func(*args)
 0:09.33   File "C:\Users\sasch\Documents\GitHub\gecko-dev\python\mozbuild\mozbuild\configure\__init__.py", line 618, in _value_for
 0:09.33     return self._value_for_depends(obj)
 0:09.33   File "C:\Users\sasch\Documents\GitHub\gecko-dev\python\mozbuild\mozbuild\util.py", line 1061, in method_call
 0:09.33     cache[args] = self.func(instance, *args)
 0:09.33   File "C:\Users\sasch\Documents\GitHub\gecko-dev\python\mozbuild\mozbuild\configure\__init__.py", line 627, in _value_for_depends
 0:09.33     value = obj.result()
 0:09.33   File "C:\Users\sasch\Documents\GitHub\gecko-dev\python\mozbuild\mozbuild\util.py", line 1061, in method_call
 0:09.33     cache[args] = self.func(instance, *args)
 0:09.33   File "C:\Users\sasch\Documents\GitHub\gecko-dev\python\mozbuild\mozbuild\configure\__init__.py", line 163, in result
 0:09.33     return self._func(*resolved_args)
 0:09.33   File "C:\Users\sasch\Documents\GitHub\gecko-dev\python\mozbuild\mozbuild\configure\__init__.py", line 1310, in wrapped
 0:09.33     return new_func(*args, **kwargs)
 0:09.33   File "C:\Users\sasch\Documents\GitHub\gecko-dev\python\mozbuild\mozbuild\configure\__init__.py", line 910, in wrapper
 0:09.33     ret = template(*args, **kwargs)
 0:09.33   File "C:/Users/sasch/Documents/GitHub/gecko-dev/build/moz.configure/checks.configure", line 59, in wrapped
 0:09.33     ret = func(*args, **kwargs)
 0:09.33   File "C:\Users\sasch\Documents\GitHub\gecko-dev\python\mozbuild\mozbuild\configure\__init__.py", line 1310, in wrapped
 0:09.33     return new_func(*args, **kwargs)
 0:09.33   File "C:/Users/sasch/Documents/GitHub/gecko-dev/build/moz.configure/checks.configure", line 194, in check
 0:09.33     result = find_program(prog, paths, allow_spaces)
 0:09.33   File "C:\Users\sasch\Documents\GitHub\gecko-dev\python\mozbuild\mozbuild\configure\__init__.py", line 1310, in wrapped
 0:09.33     return new_func(*args, **kwargs)
 0:09.33   File "C:/Users/sasch/Documents/GitHub/gecko-dev/build/moz.configure/util.configure", line 202, in find_program
 0:09.33     return normsep(path)
 0:09.33   File "C:\Users\sasch\Documents\GitHub\gecko-dev\python\mozbuild\mozbuild\configure\__init__.py", line 1310, in wrapped
 0:09.33     return new_func(*args, **kwargs)
 0:09.33   File "C:/Users/sasch/Documents/GitHub/gecko-dev/build/moz.configure/util.configure", line 81, in normsep
 0:09.33     return mozpath.normsep(path)
 0:09.33   File "C:\Users\sasch\Documents\GitHub\gecko-dev\python\mozbuild\mozpack\path.py", line 31, in normsep
 0:09.33     path = path.replace(os.sep, "/")
 0:09.33 AttributeError: 'NoneType' object has no attribute 'replace'
*** Fix above errors and then restart with "./mach build"

./mach bootstrap doesn't help.

The Debuggers folder doesn't exist with my VS Build Tools 2022 17.3.6 installation. Not sure why it fails even with allow_missing=True.

Assignee: nobody → krosylight
Status: NEW → ASSIGNED

Set release status flags based on info from the regressing bug 1796039

Pushed by krosylight@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e7a25bdf2fe8 Allow nonexistent path with allow_space=True r=glandium,firefox-build-system-reviewers
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: