Boost logo

Boost :

From: Ted Lyngmo (ted_at_[hidden])
Date: 2024-05-14 04:27:34


Andrey Semashev wrote:
>
> If you're building Boost from git, you should run `./b2 headers` before building Boost.
>
> The output you posted is missing the actual compilation errors for these files. Check the earlier compiler messages for these files. Or run `./b2 -j8 --with-filesystem` to build specifically Boost.Filesystem and see the output.

Ok, I added `./b2 headers` before `./b2 -j8 install` which didn't change
anything that I could see. `./b2 -j8 --with-filesystem` then gave me this:

...patience...
...found 3209 targets...
...updating 46 targets...
boost-install.generate-cmake-config-
bin.v2/libs/headers/build/stage/boost_headers-config.cmake
boost-install.generate-cmake-config-
bin.v2/libs/filesystem/build/stage/boost_filesystem-config.cmake
boost-install.generate-cmake-config-version-
bin.v2/libs/headers/build/stage/boost_headers-config-version.cmake
common.copy /home/ted/git/boost/stage/lib/libboost_atomic.so.1.85.0
ln-UNIX /home/ted/git/boost/stage/lib/libboost_atomic.so
boost-install.generate-cmake-config-
bin.v2/libs/atomic/build/stage/boost_atomic-config.cmake
boost-install.generate-cmake-config-version-
bin.v2/libs/atomic/build/stage/boost_atomic-config-version.cmake
common.copy /home/ted/git/boost/stage/lib/libboost_atomic.a
common.copy
/home/ted/git/boost/stage/lib/cmake/BoostDetectToolset-1.85.0.cmake
common.copy
/home/ted/git/boost/stage/lib/cmake/boost_filesystem-1.85.0/boost_filesystem-config.cmake
common.copy
/home/ted/git/boost/stage/lib/cmake/Boost-1.85.0/BoostConfig.cmake
common.copy
/home/ted/git/boost/stage/lib/cmake/Boost-1.85.0/BoostConfigVersion.cmake
common.copy
/home/ted/git/boost/stage/lib/cmake/boost_headers-1.85.0/boost_headers-config.cmake
common.copy
/home/ted/git/boost/stage/lib/cmake/boost_headers-1.85.0/boost_headers-config-version.cmake
common.copy
/home/ted/git/boost/stage/lib/cmake/boost_atomic-1.85.0/boost_atomic-config-version.cmake
common.copy
/home/ted/git/boost/stage/lib/cmake/boost_atomic-1.85.0/libboost_atomic-variant-shared.cmake
boost-install.generate-cmake-config-version-
bin.v2/libs/filesystem/build/stage/boost_filesystem-config-version.cmake
common.copy
/home/ted/git/boost/stage/lib/cmake/boost_atomic-1.85.0/boost_atomic-config.cmake
common.copy
/home/ted/git/boost/stage/lib/cmake/boost_atomic-1.85.0/libboost_atomic-variant-static.cmake
common.copy
/home/ted/git/boost/stage/lib/cmake/boost_filesystem-1.85.0/boost_filesystem-config-version.cmake
gcc.compile.c++
bin.v2/libs/filesystem/build/gcc-14/release/threading-multi/visibility-hidden/unique_path.o
libs/filesystem/src/unique_path.cpp:57:10: fatal error:
boost/scope/unique_fd.hpp: No such file or directory
    57 | #include <boost/scope/unique_fd.hpp>
       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

     "g++" -fvisibility-inlines-hidden -fPIC -m64 -pthread -O3
-finline-functions -Wno-inline -Wall -fvisibility=hidden
-DBOOST_ALL_NO_LIB=1 -DBOOST_ATOMIC_DYN_LINK=1
-DBOOST_COBALT_USE_STD_PMR=1 -DBOOST_FILESYSTEM_DYN_LINK=1
-DBOOST_FILESYSTEM_HAS_DIRENT_D_TYPE -DBOOST_FILESYSTEM_HAS_FALLOCATE
-DBOOST_FILESYSTEM_HAS_FDOPENDIR_NOFOLLOW
-DBOOST_FILESYSTEM_HAS_INIT_PRIORITY
-DBOOST_FILESYSTEM_HAS_POSIX_AT_APIS -DBOOST_FILESYSTEM_HAS_STATX
-DBOOST_FILESYSTEM_HAS_STAT_ST_BLKSIZE
-DBOOST_FILESYSTEM_HAS_STAT_ST_MTIM
-DBOOST_FILESYSTEM_NO_CXX20_ATOMIC_REF -DBOOST_FILESYSTEM_SOURCE
-DNDEBUG -I"." -I"libs/filesystem/src" -c -o
"bin.v2/libs/filesystem/build/gcc-14/release/threading-multi/visibility-hidden/unique_path.o"
"libs/filesystem/src/unique_path.cpp"

...failed gcc.compile.c++
bin.v2/libs/filesystem/build/gcc-14/release/threading-multi/visibility-hidden/unique_path.o...
gcc.compile.c++
bin.v2/libs/filesystem/build/gcc-14/release/link-static/threading-multi/visibility-hidden/unique_path.o
libs/filesystem/src/unique_path.cpp:57:10: fatal error:
boost/scope/unique_fd.hpp: No such file or directory
    57 | #include <boost/scope/unique_fd.hpp>
       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

     "g++" -fvisibility-inlines-hidden -m64 -pthread -O3
-finline-functions -Wno-inline -Wall -fvisibility=hidden
-DBOOST_ALL_NO_LIB=1 -DBOOST_ATOMIC_STATIC_LINK=1
-DBOOST_COBALT_USE_STD_PMR=1 -DBOOST_FILESYSTEM_HAS_DIRENT_D_TYPE
-DBOOST_FILESYSTEM_HAS_FALLOCATE
-DBOOST_FILESYSTEM_HAS_FDOPENDIR_NOFOLLOW
-DBOOST_FILESYSTEM_HAS_INIT_PRIORITY
-DBOOST_FILESYSTEM_HAS_POSIX_AT_APIS -DBOOST_FILESYSTEM_HAS_STATX
-DBOOST_FILESYSTEM_HAS_STAT_ST_BLKSIZE
-DBOOST_FILESYSTEM_HAS_STAT_ST_MTIM
-DBOOST_FILESYSTEM_NO_CXX20_ATOMIC_REF -DBOOST_FILESYSTEM_SOURCE
-DBOOST_FILESYSTEM_STATIC_LINK=1 -DNDEBUG -I"."
-I"libs/filesystem/src" -c -o
"bin.v2/libs/filesystem/build/gcc-14/release/link-static/threading-multi/visibility-hidden/unique_path.o"
"libs/filesystem/src/unique_path.cpp"

...failed gcc.compile.c++
bin.v2/libs/filesystem/build/gcc-14/release/link-static/threading-multi/visibility-hidden/unique_path.o...
gcc.compile.c++
bin.v2/libs/filesystem/build/gcc-14/release/threading-multi/visibility-hidden/directory.o
libs/filesystem/src/directory.cpp:42:10: fatal error:
boost/scope/unique_fd.hpp: No such file or directory
    42 | #include <boost/scope/unique_fd.hpp>
       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

     "g++" -fvisibility-inlines-hidden -fPIC -m64 -pthread -O3
-finline-functions -Wno-inline -Wall -fvisibility=hidden
-DBOOST_ALL_NO_LIB=1 -DBOOST_ATOMIC_DYN_LINK=1
-DBOOST_COBALT_USE_STD_PMR=1 -DBOOST_FILESYSTEM_DYN_LINK=1
-DBOOST_FILESYSTEM_HAS_DIRENT_D_TYPE -DBOOST_FILESYSTEM_HAS_FALLOCATE
-DBOOST_FILESYSTEM_HAS_FDOPENDIR_NOFOLLOW
-DBOOST_FILESYSTEM_HAS_INIT_PRIORITY
-DBOOST_FILESYSTEM_HAS_POSIX_AT_APIS -DBOOST_FILESYSTEM_HAS_STATX
-DBOOST_FILESYSTEM_HAS_STAT_ST_BLKSIZE
-DBOOST_FILESYSTEM_HAS_STAT_ST_MTIM
-DBOOST_FILESYSTEM_NO_CXX20_ATOMIC_REF -DBOOST_FILESYSTEM_SOURCE
-DNDEBUG -I"." -I"libs/filesystem/src" -c -o
"bin.v2/libs/filesystem/build/gcc-14/release/threading-multi/visibility-hidden/directory.o"
"libs/filesystem/src/directory.cpp"

...failed gcc.compile.c++
bin.v2/libs/filesystem/build/gcc-14/release/threading-multi/visibility-hidden/directory.o...
gcc.compile.c++
bin.v2/libs/filesystem/build/gcc-14/release/link-static/threading-multi/visibility-hidden/directory.o
libs/filesystem/src/directory.cpp:42:10: fatal error:
boost/scope/unique_fd.hpp: No such file or directory
    42 | #include <boost/scope/unique_fd.hpp>
       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

     "g++" -fvisibility-inlines-hidden -m64 -pthread -O3
-finline-functions -Wno-inline -Wall -fvisibility=hidden
-DBOOST_ALL_NO_LIB=1 -DBOOST_ATOMIC_STATIC_LINK=1
-DBOOST_COBALT_USE_STD_PMR=1 -DBOOST_FILESYSTEM_HAS_DIRENT_D_TYPE
-DBOOST_FILESYSTEM_HAS_FALLOCATE
-DBOOST_FILESYSTEM_HAS_FDOPENDIR_NOFOLLOW
-DBOOST_FILESYSTEM_HAS_INIT_PRIORITY
-DBOOST_FILESYSTEM_HAS_POSIX_AT_APIS -DBOOST_FILESYSTEM_HAS_STATX
-DBOOST_FILESYSTEM_HAS_STAT_ST_BLKSIZE
-DBOOST_FILESYSTEM_HAS_STAT_ST_MTIM
-DBOOST_FILESYSTEM_NO_CXX20_ATOMIC_REF -DBOOST_FILESYSTEM_SOURCE
-DBOOST_FILESYSTEM_STATIC_LINK=1 -DNDEBUG -I"."
-I"libs/filesystem/src" -c -o
"bin.v2/libs/filesystem/build/gcc-14/release/link-static/threading-multi/visibility-hidden/directory.o"
"libs/filesystem/src/directory.cpp"

...failed gcc.compile.c++
bin.v2/libs/filesystem/build/gcc-14/release/link-static/threading-multi/visibility-hidden/directory.o...
gcc.compile.c++
bin.v2/libs/filesystem/build/gcc-14/release/threading-multi/visibility-hidden/operations.o
libs/filesystem/src/operations.cpp:120:10: fatal error:
boost/scope/unique_fd.hpp: No such file or directory
   120 | #include <boost/scope/unique_fd.hpp>
       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

     "g++" -fvisibility-inlines-hidden -fPIC -m64 -pthread -O3
-finline-functions -Wno-inline -Wall -fvisibility=hidden
-DBOOST_ALL_NO_LIB=1 -DBOOST_ATOMIC_DYN_LINK=1
-DBOOST_COBALT_USE_STD_PMR=1 -DBOOST_FILESYSTEM_DYN_LINK=1
-DBOOST_FILESYSTEM_HAS_DIRENT_D_TYPE -DBOOST_FILESYSTEM_HAS_FALLOCATE
-DBOOST_FILESYSTEM_HAS_FDOPENDIR_NOFOLLOW
-DBOOST_FILESYSTEM_HAS_INIT_PRIORITY
-DBOOST_FILESYSTEM_HAS_POSIX_AT_APIS -DBOOST_FILESYSTEM_HAS_STATX
-DBOOST_FILESYSTEM_HAS_STAT_ST_BLKSIZE
-DBOOST_FILESYSTEM_HAS_STAT_ST_MTIM
-DBOOST_FILESYSTEM_NO_CXX20_ATOMIC_REF -DBOOST_FILESYSTEM_SOURCE
-DNDEBUG -I"." -I"libs/filesystem/src" -c -o
"bin.v2/libs/filesystem/build/gcc-14/release/threading-multi/visibility-hidden/operations.o"
"libs/filesystem/src/operations.cpp"

...failed gcc.compile.c++
bin.v2/libs/filesystem/build/gcc-14/release/threading-multi/visibility-hidden/operations.o...
...skipped
<pbin.v2/libs/filesystem/build/gcc-14/release/threading-multi/visibility-hidden>libboost_filesystem.so.1.85.0
for lack of
<pbin.v2/libs/filesystem/build/gcc-14/release/threading-multi/visibility-hidden>directory.o...
...skipped <p/home/ted/git/boost/stage/lib>libboost_filesystem.so.1.85.0
for lack of
<pbin.v2/libs/filesystem/build/gcc-14/release/threading-multi/visibility-hidden>libboost_filesystem.so.1.85.0...
...skipped <p/home/ted/git/boost/stage/lib>libboost_filesystem.so for
lack of <p/home/ted/git/boost/stage/lib>libboost_filesystem.so.1.85.0...
...skipped
<pbin.v2/libs/filesystem/build/gcc-14/release/threading-multi/visibility-hidden>libboost_filesystem-variant-shared.cmake
for lack of
<pbin.v2/libs/filesystem/build/gcc-14/release/threading-multi/visibility-hidden>libboost_filesystem.so.1.85.0...
...skipped
<p/home/ted/git/boost/stage/lib/cmake/boost_filesystem-1.85.0>libboost_filesystem-variant-shared.cmake
for lack of
<pbin.v2/libs/filesystem/build/gcc-14/release/threading-multi/visibility-hidden>libboost_filesystem-variant-shared.cmake...
gcc.compile.c++
bin.v2/libs/filesystem/build/gcc-14/release/link-static/threading-multi/visibility-hidden/operations.o
libs/filesystem/src/operations.cpp:120:10: fatal error:
boost/scope/unique_fd.hpp: No such file or directory
   120 | #include <boost/scope/unique_fd.hpp>
       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

     "g++" -fvisibility-inlines-hidden -m64 -pthread -O3
-finline-functions -Wno-inline -Wall -fvisibility=hidden
-DBOOST_ALL_NO_LIB=1 -DBOOST_ATOMIC_STATIC_LINK=1
-DBOOST_COBALT_USE_STD_PMR=1 -DBOOST_FILESYSTEM_HAS_DIRENT_D_TYPE
-DBOOST_FILESYSTEM_HAS_FALLOCATE
-DBOOST_FILESYSTEM_HAS_FDOPENDIR_NOFOLLOW
-DBOOST_FILESYSTEM_HAS_INIT_PRIORITY
-DBOOST_FILESYSTEM_HAS_POSIX_AT_APIS -DBOOST_FILESYSTEM_HAS_STATX
-DBOOST_FILESYSTEM_HAS_STAT_ST_BLKSIZE
-DBOOST_FILESYSTEM_HAS_STAT_ST_MTIM
-DBOOST_FILESYSTEM_NO_CXX20_ATOMIC_REF -DBOOST_FILESYSTEM_SOURCE
-DBOOST_FILESYSTEM_STATIC_LINK=1 -DNDEBUG -I"."
-I"libs/filesystem/src" -c -o
"bin.v2/libs/filesystem/build/gcc-14/release/link-static/threading-multi/visibility-hidden/operations.o"
"libs/filesystem/src/operations.cpp"

...failed gcc.compile.c++
bin.v2/libs/filesystem/build/gcc-14/release/link-static/threading-multi/visibility-hidden/operations.o...
...skipped
<pbin.v2/libs/filesystem/build/gcc-14/release/link-static/threading-multi/visibility-hidden>libboost_filesystem.a(clean)
for lack of
<pbin.v2/libs/filesystem/build/gcc-14/release/link-static/threading-multi/visibility-hidden>directory.o...
...skipped
<pbin.v2/libs/filesystem/build/gcc-14/release/link-static/threading-multi/visibility-hidden>libboost_filesystem.a
for lack of
<pbin.v2/libs/filesystem/build/gcc-14/release/link-static/threading-multi/visibility-hidden>directory.o...
...skipped <p/home/ted/git/boost/stage/lib>libboost_filesystem.a for
lack of
<pbin.v2/libs/filesystem/build/gcc-14/release/link-static/threading-multi/visibility-hidden>libboost_filesystem.a...
...skipped
<pbin.v2/libs/filesystem/build/gcc-14/release/link-static/threading-multi/visibility-hidden>libboost_filesystem-variant-static.cmake
for lack of
<pbin.v2/libs/filesystem/build/gcc-14/release/link-static/threading-multi/visibility-hidden>libboost_filesystem.a...
...skipped
<p/home/ted/git/boost/stage/lib/cmake/boost_filesystem-1.85.0>libboost_filesystem-variant-static.cmake
for lack of
<pbin.v2/libs/filesystem/build/gcc-14/release/link-static/threading-multi/visibility-hidden>libboost_filesystem-variant-static.cmake...

...updated 30 targets...

...skipped 10 targets...
 
<p/home/ted/git/boost/stage/lib/cmake/boost_filesystem-1.85.0>libboost_filesystem-variant-shared.cmake
 
<p/home/ted/git/boost/stage/lib/cmake/boost_filesystem-1.85.0>libboost_filesystem-variant-static.cmake
    <p/home/ted/git/boost/stage/lib>libboost_filesystem.a
    <p/home/ted/git/boost/stage/lib>libboost_filesystem.so
    <p/home/ted/git/boost/stage/lib>libboost_filesystem.so.1.85.0
 
<pbin.v2/libs/filesystem/build/gcc-14/release/link-static/threading-multi/visibility-hidden>libboost_filesystem-variant-static.cmake
 
<pbin.v2/libs/filesystem/build/gcc-14/release/link-static/threading-multi/visibility-hidden>libboost_filesystem.a
 
<pbin.v2/libs/filesystem/build/gcc-14/release/link-static/threading-multi/visibility-hidden>libboost_filesystem.a(clean)
 
<pbin.v2/libs/filesystem/build/gcc-14/release/threading-multi/visibility-hidden>libboost_filesystem-variant-shared.cmake
 
<pbin.v2/libs/filesystem/build/gcc-14/release/threading-multi/visibility-hidden>libboost_filesystem.so.1.85.0

...failed updating 6 targets...
    gcc.compile.c++
bin.v2/libs/filesystem/build/gcc-14/release/link-static/threading-multi/visibility-hidden/directory.o
    gcc.compile.c++
bin.v2/libs/filesystem/build/gcc-14/release/link-static/threading-multi/visibility-hidden/operations.o
    gcc.compile.c++
bin.v2/libs/filesystem/build/gcc-14/release/link-static/threading-multi/visibility-hidden/unique_path.o
    gcc.compile.c++
bin.v2/libs/filesystem/build/gcc-14/release/threading-multi/visibility-hidden/directory.o
    gcc.compile.c++
bin.v2/libs/filesystem/build/gcc-14/release/threading-multi/visibility-hidden/operations.o
    gcc.compile.c++
bin.v2/libs/filesystem/build/gcc-14/release/threading-multi/visibility-hidden/unique_path.o


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk