[Bug 278377] devel/ninja: tuple_element.h' file not found
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Sep 13 20:45:08 BST 2024
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278377
Dan Mack <mack at macktronics.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mack at macktronics.com
--- Comment #12 from Dan Mack <mack at macktronics.com> ---
just adding a data point here, I experienced a similar problem resulting from a
bad freebsd-update from somewhere around the time of 12.x -> 13.3 I think. My
fix was to manually repopulate the partially broken headers on my system like
so:
# Assuming you are using /bin/sh as your FreeBSD root shell and
# you are now on 14.1
# I think this was a bad update because a file changed to a directory or
vice-versa in clang at some point
root# mkdir /usr/include/c++/v1/__tuple # if it doesn't exist
root# cd /usr/include/c++/v1/__tuple
root# for i in make_tuple_types.h pair_like.h tuple_element.h tuple_indices.h
tuple_like.h tuple_like_ext.h tuple_size.h tuple_types.h sfinae_helpers.h; do
fetch
https://raw.githubusercontent.com/freebsd/freebsd-src/release/14.1.0/contrib/llvm-project/libcxx/include/__tuple/${i}
; done
and my __string/ include directory was similarly broken:
root# mkdir /usr/include/c++/v1/__string
root# cd /usr/include/c++/v1/__string
root# for i in char_traits.h constexpr_c_functions.h extern_template_lists.h;
do fetch
https://raw.githubusercontent.com/freebsd/freebsd-src/release/14.1.0/contrib/llvm-project/libcxx/include/__string/${i}
; done
I was then able to build a new release of FreeBSD from source and the
re-install of the OS during a buildworld worked again for me.
Worked for me, your mileage may vary, make a backup etc ...
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the kde-freebsd
mailing list