pkg/60341: www/chromium from pkgsrc-2026Q1 requires clang20, but pkgsrc has clang19
| Newsgroups | gmane.os.netbsd.devel.pkgsrc.bugs |
|---|---|
| Message-ID | <[email protected]> |
>Number: 60341 >Category: pkg >Synopsis: www/chromium from pkgsrc-2026Q1 requires clang20, but pkgsrc has clang19 >Confidential: no >Severity: serious >Priority: medium >Responsible: pkg-manager >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Thu Jun 18 22:50:00 +0000 2026 >Originator: Alexander Schreiber >Release: NetBSD 10.1 pkgsrc-2026Q1 >Organization: not much >Environment: NetBSD faramir.domain 10.1 NetBSD 10.1 (GENERIC) #0: Mon Dec 16 13:08:11 UTC 2024 [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC amd64 >Description: building www/chromium from pkgsrc-2026Q1 on NetBSD 10.1 amd64 (fresh install) fails due to available clang being too old: [43/53283] CXX obj/third_party/abseil-cpp/absl/base/strerror/strerror.o In file included from ../../third_party/abseil-cpp/absl/base/internal/strerror.cc:15: In file included from ../../third_party/abseil-cpp/absl/base/internal/strerror.h:18: In file included from ../../third_party/libc++/src/include/string:594: In file included from ../../third_party/libc++/src/include/__algorithm/max.h:12: In file included from ../../third_party/libc++/src/include/__algorithm/comp.h:12: In file included from ../../third_party/libc++/src/include/__config:14: In file included from ../../third_party/libc++/src/include/__configuration/abi.h:14: ../../third_party/libc++/src/include/__configuration/compiler.h:37:8: warning: "Libc++ only supports Clang 20 and later" [-W#warnings] 37 | # warning "Libc++ only supports Clang 20 and later" | ^ 1 warning generated. [44/53283] CXX obj/third_party/abseil-cpp/absl/base/throw_delegate/throw_delegate.o In file included from ../../third_party/abseil-cpp/absl/base/internal/throw_delegate.cc:15: In file included from ../../third_party/abseil-cpp/absl/base/internal/throw_delegate.h:20: In file included from ../../third_party/libc++/src/include/string:594: In file included from ../../third_party/libc++/src/include/__algorithm/max.h:12: In file included from ../../third_party/libc++/src/include/__algorithm/comp.h:12: In file included from ../../third_party/libc++/src/include/__config:14: In file included from ../../third_party/libc++/src/include/__configuration/abi.h:14: ../../third_party/libc++/src/include/__configuration/compiler.h:37:8: warning: "Libc++ only supports Clang 20 and later" [-W#warnings] 37 | # warning "Libc++ only supports Clang 20 and later" | ^ 1 warning generated. ninja: build stopped: subcommand failed. *** Error code 1 Stop. make[1]: stopped in /usr/pkgsrc/www/chromium *** Error code 1 Stop. make: stopped in /usr/pkgsrc/www/chromium And indeed, we only have clang 19: pkg_info |grep clang clang-19.1.7nb2 C language family frontend for LLVM head -3 /usr/pkgsrc/lang/clang/distinfo $NetBSD: distinfo,v 1.88 2025/05/09 05:51:24 adam Exp $ BLAKE2s (clang-19.1.7.src.tar.xz) = 36f273c5c29f396c74f69fc71bd3be3c9da789323f1a66e170752bf0a804006d >How-To-Repeat: Try to build www/chromium on NetBSD from pkgsrc-2026Q1, it will fail due to clang being not new enough. >Fix: Update lang/clang to clang-20, I guess? Seems it was released about 1y ago.