Colleagues, after the binary upgrade 13.2-13.3 (
During the upgrade process, after rebooting and restarting freebsd-update, the following messages appear on the console:
I believe that this means some kind of disorder in the operation of the scripts. Obviously, the developers of the binary upgrade system should adjust something in them.
Subsequently, after the completion of the binary upgrade, during compilation, an abnormal termination occurs:
This happened on two computers. How can I solve this problem?
Thanks in advance for your advice,
Ogogon.
freebsd-update -r 13.3-RELEASE upgrade
), I have a problem that causes the C++ compiler to refuse to start.During the upgrade process, after rebooting and restarting freebsd-update, the following messages appear on the console:
Code:
root@smarthome:/home/ogogon # /usr/sbin/freebsd-update install
Creating snapshot of existing boot environment... done.
Installing updates...install: ///usr/include/c++/v1/__string exists but is not a directory
install: ///usr/include/c++/v1/__tuple exists but is not a directory
install: ///usr/src/contrib/llvm-project/libcxx/include/__string exists but is not a directory
install: ///usr/src/contrib/llvm-project/libcxx/include/__tuple exists but is not a directory
install: ///usr/include/c++/v1/__string/char_traits.h: Not a directory
install: ///usr/include/c++/v1/__string/constexpr_c_functions.h: Not a directory
install: ///usr/include/c++/v1/__string/extern_template_lists.h: Not a directory
install: ///usr/include/c++/v1/__tuple/make_tuple_types.h: Not a directory
install: ///usr/include/c++/v1/__tuple/pair_like.h: Not a directory
install: ///usr/include/c++/v1/__tuple/sfinae_helpers.h: Not a directory
install: ///usr/include/c++/v1/__tuple/tuple_element.h: Not a directory
install: ///usr/include/c++/v1/__tuple/tuple_indices.h: Not a directory
install: ///usr/include/c++/v1/__tuple/tuple_like.h: Not a directory
install: ///usr/include/c++/v1/__tuple/tuple_like_ext.h: Not a directory
install: ///usr/include/c++/v1/__tuple/tuple_size.h: Not a directory
install: ///usr/include/c++/v1/__tuple/tuple_types.h: Not a directory
install: ///usr/src/contrib/llvm-project/libcxx/include/__string/char_traits.h: Not a directory
install: ///usr/src/contrib/llvm-project/libcxx/include/__string/constexpr_c_functions.h: Not a directory
install: ///usr/src/contrib/llvm-project/libcxx/include/__string/extern_template_lists.h: Not a directory
install: ///usr/src/contrib/llvm-project/libcxx/include/__tuple/make_tuple_types.h: Not a directory
install: ///usr/src/contrib/llvm-project/libcxx/include/__tuple/pair_like.h: Not a directory
install: ///usr/src/contrib/llvm-project/libcxx/include/__tuple/sfinae_helpers.h: Not a directory
install: ///usr/src/contrib/llvm-project/libcxx/include/__tuple/tuple_element.h: Not a directory
install: ///usr/src/contrib/llvm-project/libcxx/include/__tuple/tuple_indices.h: Not a directory
install: ///usr/src/contrib/llvm-project/libcxx/include/__tuple/tuple_like.h: Not a directory
install: ///usr/src/contrib/llvm-project/libcxx/include/__tuple/tuple_like_ext.h: Not a directory
install: ///usr/src/contrib/llvm-project/libcxx/include/__tuple/tuple_size.h: Not a directory
install: ///usr/src/contrib/llvm-project/libcxx/include/__tuple/tuple_types.h: Not a directory
I believe that this means some kind of disorder in the operation of the scripts. Obviously, the developers of the binary upgrade system should adjust something in them.
Subsequently, after the completion of the binary upgrade, during compilation, an abnormal termination occurs:
Code:
===> Building for ninja-1.11.1,4
/usr/ports/devel/ninja/work/ninja-1.11.1/configure.py:26: DeprecationWarning: 'pipes' is deprecated and slated for removal in Python 3.13
import pipes
bootstrapping ninja...
"./src/inline.sh" kBrowsePy < ./src/browse.py > build/browse_py.h
c++ -MMD -MT build/browse.o -MF build/browse.o.d -Wall -Wextra -Wno-deprecated -Wno-missing-field-initializers -Wno-unused-parameter -fno-rtti -fno-exceptions -fvisibility=hidden -pipe '-DNINJA_PYTHON="python3.11"' -O2 -DNDEBUG -fdiagnostics-color -I/usr/local/include -DUSE_PPOLL -DNINJA_HAVE_BROWSE -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c ./src/browse.cc -o build/browse.o
In file included from ./src/browse.cc:21:
In file included from /usr/include/c++/v1/vector:304:
In file included from /usr/include/c++/v1/__algorithm/copy.h:12:
In file included from /usr/include/c++/v1/__algorithm/copy_move_common.h:14:
In file included from /usr/include/c++/v1/__algorithm/unwrap_range.h:19:
In file included from /usr/include/c++/v1/__utility/pair.h:17:
/usr/include/c++/v1/__fwd/get.h:18:10: fatal error: '__tuple/tuple_element.h' file not found
18 | #include <__tuple/tuple_element.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
when running: c++ -MMD -MT build/browse.o -MF build/browse.o.d -Wall -Wextra -Wno-deprecated -Wno-missing-field-initializers -Wno-unused-parameter -fno-rtti -fno-exceptions -fvisibility=hidden -pipe '-DNINJA_PYTHON="python3.11"' -O2 -DNDEBUG -fdiagnostics-color -I/usr/local/include -DUSE_PPOLL -DNINJA_HAVE_BROWSE -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c ./src/browse.cc -o build/browse.o
Traceback (most recent call last):
File "/usr/ports/devel/ninja/work/ninja-1.11.1/configure.py", line 470, in <module>
objs += cxx('browse', order_only=built('browse_py.h'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/ports/devel/ninja/work/ninja-1.11.1/configure.py", line 287, in cxx
return n.build(built(name + objext), 'cxx', src(name + '.cc'), **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/ports/devel/ninja/work/ninja-1.11.1/configure.py", line 169, in build
self._run_command(self._expand(cmd, local_vars))
File "/usr/ports/devel/ninja/work/ninja-1.11.1/configure.py", line 194, in _run_command
subprocess.check_call(cmdline, shell=True)
File "/usr/local/lib/python3.11/subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'c++ -MMD -MT build/browse.o -MF build/browse.o.d -Wall -Wextra -Wno-deprecated -Wno-missing-field-initializers -Wno-unused-parameter -fno-rtti -fno-exceptions -fvisibility=hidden -pipe '-DNINJA_PYTHON="python3.11"' -O2 -DNDEBUG -fdiagnostics-color -I/usr/local/include -DUSE_PPOLL -DNINJA_HAVE_BROWSE -I. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c ./src/browse.cc -o build/browse.o' returned non-zero exit status 1.
*** Error code 1
Stop.
make[14]: stopped in /usr/ports/devel/ninja
*** Error code 1
This happened on two computers. How can I solve this problem?
Thanks in advance for your advice,
Ogogon.
Last edited by a moderator: