Closed Bug 1797233 Opened 3 years ago Closed 3 years ago

Perma toolchain /builds/worker/fetches/MacOSX11.3.sdk/usr/include/c++/v1/type_traits:1672:66: error: 'type' is unavailable: introduced in macOS 10.15

Categories

(Firefox Build System :: Toolchains, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: intermittent-bug-filer, Assigned: glandium)

Details

(Keywords: intermittent-failure)

Attachments

(1 obsolete file)

Filed by: nfay [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=394206069&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Q_v3do0jS_SFqWIjyHV3Tg/runs/0/artifacts/public/logs/live_backing.log


[task 2022-10-25T02:55:41.638Z] [875/907] : && /usr/bin/cmake -E rm -f lib/darwin/libclang_rt.fuzzer_interceptors_osx.a && /builds/worker/fetches/clang/bin/llvm-ar qc lib/darwin/libclang_rt.fuzzer_interceptors_osx.a  lib/fuzzer/CMakeFiles/RTfuzzer_interceptors.osx.dir/FuzzerInterceptors.cpp.o && /builds/worker/fetches/clang/bin/llvm-ranlib lib/darwin/libclang_rt.fuzzer_interceptors_osx.a && :
[task 2022-10-25T02:55:41.718Z] [876/907] /builds/worker/clang++ --target=aarch64-apple-darwin  -I/builds/worker/fetches/llvm-project/compiler-rt/lib/fuzzer/../../include -Wall -Wno-unused-parameter -O3 -DNDEBUG -arch arm64 -isysroot /builds/worker/fetches/MacOSX11.3.sdk -stdlib=libc++ -mmacosx-version-min=10.10 -isysroot /builds/worker/fetches/MacOSX11.3.sdk -fPIC -fno-builtin -fno-exceptions -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -g -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -fno-omit-frame-pointer -std=c++17 -MD -MT lib/fuzzer/CMakeFiles/RTfuzzer.osx.dir/FuzzerExtFunctionsDlsym.cpp.o -MF lib/fuzzer/CMakeFiles/RTfuzzer.osx.dir/FuzzerExtFunctionsDlsym.cpp.o.d -o lib/fuzzer/CMakeFiles/RTfuzzer.osx.dir/FuzzerExtFunctionsDlsym.cpp.o -c /builds/worker/fetches/llvm-project/compiler-rt/lib/fuzzer/FuzzerExtFunctionsDlsym.cpp
[task 2022-10-25T02:55:41.812Z] [877/907] /builds/worker/clang++ --target=aarch64-apple-darwin  -I/builds/worker/fetches/llvm-project/compiler-rt/lib/orc/.. -I/builds/worker/fetches/llvm-project/compiler-rt/lib/orc/../../include -Wall -Wno-unused-parameter -O3 -DNDEBUG -arch arm64 -isysroot /builds/worker/fetches/MacOSX11.3.sdk -stdlib=libc++ -mmacosx-version-min=10.10 -isysroot /builds/worker/fetches/MacOSX11.3.sdk -fPIC -fno-builtin -fno-exceptions -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -g -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -I/builds/worker/fetches/clang/include -std=c++17 -MD -MT lib/orc/CMakeFiles/RTOrc.osx.dir/extensible_rtti.cpp.o -MF lib/orc/CMakeFiles/RTOrc.osx.dir/extensible_rtti.cpp.o.d -o lib/orc/CMakeFiles/RTOrc.osx.dir/extensible_rtti.cpp.o -c /builds/worker/fetches/llvm-project/compiler-rt/lib/orc/extensible_rtti.cpp
[task 2022-10-25T02:55:41.925Z] [878/907] /builds/worker/clang++ --target=aarch64-apple-darwin  -I/builds/worker/fetches/llvm-project/compiler-rt/lib/orc/.. -I/builds/worker/fetches/llvm-project/compiler-rt/lib/orc/../../include -Wall -Wno-unused-parameter -O3 -DNDEBUG -arch arm64 -isysroot /builds/worker/fetches/MacOSX11.3.sdk -stdlib=libc++ -mmacosx-version-min=10.10 -isysroot /builds/worker/fetches/MacOSX11.3.sdk -fPIC -fno-builtin -fno-exceptions -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -g -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -I/builds/worker/fetches/clang/include -std=c++17 -MD -MT lib/orc/CMakeFiles/RTOrc.osx.dir/log_error_to_stderr.cpp.o -MF lib/orc/CMakeFiles/RTOrc.osx.dir/log_error_to_stderr.cpp.o.d -o lib/orc/CMakeFiles/RTOrc.osx.dir/log_error_to_stderr.cpp.o -c /builds/worker/fetches/llvm-project/compiler-rt/lib/orc/log_error_to_stderr.cpp
[task 2022-10-25T02:55:42.049Z] [879/907] /builds/worker/clang++ --target=aarch64-apple-darwin  -I/builds/worker/fetches/llvm-project/compiler-rt/lib/fuzzer/../../include -Wall -Wno-unused-parameter -O3 -DNDEBUG -arch arm64 -isysroot /builds/worker/fetches/MacOSX11.3.sdk -stdlib=libc++ -mmacosx-version-min=10.10 -isysroot /builds/worker/fetches/MacOSX11.3.sdk -fPIC -fno-builtin -fno-exceptions -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -g -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -fno-omit-frame-pointer -std=c++17 -MD -MT lib/fuzzer/CMakeFiles/RTfuzzer.osx.dir/FuzzerIOPosix.cpp.o -MF lib/fuzzer/CMakeFiles/RTfuzzer.osx.dir/FuzzerIOPosix.cpp.o.d -o lib/fuzzer/CMakeFiles/RTfuzzer.osx.dir/FuzzerIOPosix.cpp.o -c /builds/worker/fetches/llvm-project/compiler-rt/lib/fuzzer/FuzzerIOPosix.cpp
[task 2022-10-25T02:55:42.051Z] FAILED: lib/fuzzer/CMakeFiles/RTfuzzer.osx.dir/FuzzerIOPosix.cpp.o 
[task 2022-10-25T02:55:42.052Z] /builds/worker/clang++ --target=aarch64-apple-darwin  -I/builds/worker/fetches/llvm-project/compiler-rt/lib/fuzzer/../../include -Wall -Wno-unused-parameter -O3 -DNDEBUG -arch arm64 -isysroot /builds/worker/fetches/MacOSX11.3.sdk -stdlib=libc++ -mmacosx-version-min=10.10 -isysroot /builds/worker/fetches/MacOSX11.3.sdk -fPIC -fno-builtin -fno-exceptions -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -O3 -g -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -fno-omit-frame-pointer -std=c++17 -MD -MT lib/fuzzer/CMakeFiles/RTfuzzer.osx.dir/FuzzerIOPosix.cpp.o -MF lib/fuzzer/CMakeFiles/RTfuzzer.osx.dir/FuzzerIOPosix.cpp.o.d -o lib/fuzzer/CMakeFiles/RTfuzzer.osx.dir/FuzzerIOPosix.cpp.o -c /builds/worker/fetches/llvm-project/compiler-rt/lib/fuzzer/FuzzerIOPosix.cpp
[task 2022-10-25T02:55:42.052Z] In file included from /builds/worker/fetches/llvm-project/compiler-rt/lib/fuzzer/FuzzerIOPosix.cpp:14:
[task 2022-10-25T02:55:42.053Z] In file included from /builds/worker/fetches/llvm-project/compiler-rt/lib/fuzzer/FuzzerIO.h:14:
[task 2022-10-25T02:55:42.054Z] In file included from /builds/worker/fetches/llvm-project/compiler-rt/lib/fuzzer/FuzzerDefs.h:18:
[task 2022-10-25T02:55:42.055Z] In file included from /builds/worker/fetches/MacOSX11.3.sdk/usr/include/c++/v1/memory:667:
[task 2022-10-25T02:55:42.055Z] /builds/worker/fetches/MacOSX11.3.sdk/usr/include/c++/v1/type_traits:1672:66: error: 'type' is unavailable: introduced in macOS 10.15
[task 2022-10-25T02:55:42.056Z]     typedef _LIBCPP_NODEBUG_TYPE typename remove_reference<_Tp>::type _Up;
[task 2022-10-25T02:55:42.057Z]                                                                  ^
[task 2022-10-25T02:55:42.057Z] /builds/worker/fetches/MacOSX11.3.sdk/usr/include/c++/v1/filesystem:603:47: note: in instantiation of template class 'std::decay<std::filesystem::path>' requested here
[task 2022-10-25T02:55:42.058Z] template <class _Source, class _DS = typename decay<_Source>::type,
[task 2022-10-25T02:55:42.059Z]                                               ^
[task 2022-10-25T02:55:42.059Z] /builds/worker/fetches/MacOSX11.3.sdk/usr/include/c++/v1/filesystem:648:31: note: in instantiation of default argument for '__is_pathable_char_array<std::filesystem::path>' required here
[task 2022-10-25T02:55:42.060Z]           bool _IsCharIterT = __is_pathable_char_array<_Tp>::value,
[task 2022-10-25T02:55:42.061Z]                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[task 2022-10-25T02:55:42.062Z] /builds/worker/fetches/MacOSX11.3.sdk/usr/include/c++/v1/filesystem:741:26: note: in instantiation of default argument for '__is_pathable<std::filesystem::path, false>' required here
[task 2022-10-25T02:55:42.062Z]       typename enable_if<__is_pathable<_SourceOrIter>::value, _Tp>::type;
[task 2022-10-25T02:55:42.063Z]                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
[task 2022-10-25T02:55:42.063Z] /builds/worker/fetches/MacOSX11.3.sdk/usr/include/c++/v1/filesystem:861:29: note: in instantiation of template type alias '_EnableIfPathable' requested here
[task 2022-10-25T02:55:42.064Z]   _LIBCPP_INLINE_VISIBILITY _EnableIfPathable<_Source>
[task 2022-10-25T02:55:42.065Z]                             ^
[task 2022-10-25T02:55:42.065Z] /builds/worker/fetches/MacOSX11.3.sdk/usr/include/c++/v1/filesystem:965:19: note: while substituting deduced template arguments into function template 'operator/=' [with _Source = path]
[task 2022-10-25T02:55:42.066Z]     return (*this /= __replacement);
[task 2022-10-25T02:55:42.067Z]                   ^
[task 2022-10-25T02:55:42.070Z] /builds/worker/fetches/MacOSX11.3.sdk/usr/include/c++/v1/filesystem:738:24: note: 'path' has been explicitly marked unavailable here
[task 2022-10-25T02:55:42.070Z] class _LIBCPP_TYPE_VIS path {
Flags: needinfo?(mh+mozilla)
Assignee: nobody → mh+mozilla
Status: NEW → ASSIGNED
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/ecf1b742df6c Revert clang upstream change that breaks building for macOS. r=firefox-build-system-reviewers,andi

Backed out changeset ecf1b742df6c as per glandium's request.

Backout link

Flags: needinfo?(mh+mozilla)

The upstream change was backed out upstream.

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Flags: needinfo?(mh+mozilla)
Resolution: --- → FIXED
Attachment #9300050 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: