pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: 'state_not_recoverable' is not a member of 'std::errc' on clang build (was: clang-13.0.1nb1 build from pkgsrc 2022Q2 fails on NetBSD-9.2_STABLE (2022-07-01))



Hello Hauke,

On 21.07.22 13:45, Hauke Fath wrote:
On 7/16/22 11:49 AM, nia wrote:
The problem is that your NetBSD 9 sandbox identifies as NetBSD 9.99 in
uname, so the check to enable the fix for this problem fails. If you
have a different NetBSD version in a chroot, you need to use
pkgtools/libkver to fix the kernel version.

I guess this also applies for a -9 system running a -current kernel?



I would assume... This can be checked in the Makefile.common of lang/clang:

```
# NetBSD < 10 did not provide ENOTRECOVERABLE # https://bugs.llvm.org/show_bug.cgi?id=52587 .if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 099949 CXXFLAGS+= -D_GLIBCXX_HAVE_ENOTRECOVERABLE=1 CXXFLAGS+= -DENOTRECOVERABLE=98
.endif
```

Kind regards
Matthias

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature



Home | Main Index | Thread Index | Old Index