[Bug 273661] freebsd-update install: ///usr/include/c++/v1/__string exists but is not a directory

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 13 Sep 2023 07:57:46 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273661

--- Comment #5 from Vedran Miletic <vedran@miletic.net> ---
(In reply to Michael Osipov from comment #4)
Sensible approach, I assume that's the way to fix it properly.

For those who are hit by this bug and don't want to search for install media,
extract tarballs etc., here's a another, simpler approach that seems to work
just as well. I can confirm that Clang is usable as I compiled GROMACS (C++)
with several different CMake configurations just to verify that.

Assuming machine can access the internet, as root do the following:

# cd /usr/include/c++/v1
# mkdir __string
# cd __string
# fetch
https://raw.githubusercontent.com/freebsd/freebsd-src/releng/14.0/contrib/llvm-project/libcxx/include/__string/char_traits.h
# fetch
https://raw.githubusercontent.com/freebsd/freebsd-src/releng/14.0/contrib/llvm-project/libcxx/include/__string/extern_template_lists.h

-- 
You are receiving this mail because:
You are the assignee for the bug.