View previous topic :: View next topic |
Author |
Message |
guerro Guru
Joined: 21 Jun 2004 Posts: 417 Location: Brescia
|
Posted: Sun Jun 16, 2024 6:24 am Post subject: [solved] dev-libs/protobuf-25.1 build fail |
|
|
Hello all, I'll hope someone can help me....
After I updated @world, it ask me to rebuild dev-libs/protobuf-25.1, but build process fails due it's not be able to find some files of this package:
Code: | [IP-] [ ] dev-cpp/abseil-cpp-20230125.3-r3:0/20230125.0 |
correctly installed with all files (issued files too)
Let me start by saying that the protobuf package is an overlay (HomeAssistantRepository) and this is the output on console:
Code: |
>>> Emerging (1 of 1) dev-libs/protobuf-25.1::HomeAssistantRepository
* protobuf-25.1.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking protobuf-25.1.tar.gz to /var/tmp/portage/dev-libs/protobuf-25.1/work
>>> Source unpacked in /var/tmp/portage/dev-libs/protobuf-25.1/work
>>> Preparing source in /var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1 ...
* Source directory (CMAKE_USE_DIR): "/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1"
* Build directory (BUILD_DIR): "/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1_build"
* Applying protobuf-23.3-static_assert-failure.patch ... [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1 ...
* abi_x86_32.x86: running multilib-minimal_abi_src_configure
* Source directory (CMAKE_USE_DIR): "/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1"
* Build directory (BUILD_DIR): "/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1_build-abi_x86_32.x86"
cmake -C /var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1_build-abi_x86_32.x86/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -Dprotobuf_DISABLE_RTTI=ON -Dprotobuf_BUILD_EXAMPLES=no -Dprotobuf_WITH_ZLIB=yes -Dprotobuf_BUILD_TESTS=no -Dprotobuf_ABSL_PROVIDER=package -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1_build-abi_x86_32.x86/gentoo_toolchain.cmake /var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1
loading initial cache file /var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1_build-abi_x86_32.x86/gentoo_common_config.cmake
-- The C compiler identification is GNU 13.2.1
-- The CXX compiler identification is GNU 13.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
--
-- 25.1.0
-- Performing Test protobuf_HAVE_LD_VERSION_SCRIPT
-- Performing Test protobuf_HAVE_LD_VERSION_SCRIPT - Success
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found ZLIB: /usr/lib/libz.so (found version "1.3.1")
-- Performing Test protobuf_HAVE_BUILTIN_ATOMICS
-- Performing Test protobuf_HAVE_BUILTIN_ATOMICS - Success
-- <<< Gentoo configuration >>>
Build type RelWithDebInfo
Install path /usr
Compiler flags:
C -march=skylake -O2 -pipe
C++ -march=skylake -O2 -pipe
Linker flags:
Executable -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs
Module -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs
Shared -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs
-- Configuring done (0.5s)
-- Generating done (0.0s)
-- Build files have been written to: /var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1_build-abi_x86_32.x86
* abi_x86_64.amd64: running multilib-minimal_abi_src_configure
* Source directory (CMAKE_USE_DIR): "/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1"
* Build directory (BUILD_DIR): "/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1_build-abi_x86_64.amd64"
cmake -C /var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1_build-abi_x86_64.amd64/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -Dprotobuf_DISABLE_RTTI=ON -Dprotobuf_BUILD_EXAMPLES=no -Dprotobuf_WITH_ZLIB=yes -Dprotobuf_BUILD_TESTS=no -Dprotobuf_ABSL_PROVIDER=package -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1_build-abi_x86_64.amd64/gentoo_toolchain.cmake /var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1
loading initial cache file /var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1_build-abi_x86_64.amd64/gentoo_common_config.cmake
-- The C compiler identification is GNU 13.2.1
-- The CXX compiler identification is GNU 13.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
--
-- 25.1.0
-- Performing Test protobuf_HAVE_LD_VERSION_SCRIPT
-- Performing Test protobuf_HAVE_LD_VERSION_SCRIPT - Success
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found ZLIB: /usr/lib64/libz.so (found version "1.3.1")
-- Performing Test protobuf_HAVE_BUILTIN_ATOMICS
-- Performing Test protobuf_HAVE_BUILTIN_ATOMICS - Success
-- <<< Gentoo configuration >>>
Build type RelWithDebInfo
Install path /usr
Compiler flags:
C -march=skylake -O2 -pipe
C++ -march=skylake -O2 -pipe
Linker flags:
Executable -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs
Module -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs
Shared -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs
-- Configuring done (0.5s)
-- Generating done (0.0s)
-- Build files have been written to: /var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1_build-abi_x86_64.amd64
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1 ...
* abi_x86_32.x86: running multilib-minimal_abi_src_compile
* Source directory (CMAKE_USE_DIR): "/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1"
* Build directory (BUILD_DIR): "/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1_build-abi_x86_32.x86"
ninja -v -j8 -l0
[1/228] /usr/bin/x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse -DGOOGLE_PROTOBUF_CMAKE_BUILD -DGOOGLE_PROTOBUF_NO_RTTI=1 -DHAVE_ZLIB -DLIBPROTOBUF_EXPORTS -DPROTOBUF_USE_DLLS -Dlibprotobuf_lite_EXPORTS -I/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1_build-abi_x86_32.x86 -I/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src -I/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/third_party/utf8_range -march=skylake -O2 -pipe -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT CMakeFiles/libprotobuf-lite.dir/src/google/protobuf/arenastring.cc.o -MF CMakeFiles/libprotobuf-lite.dir/src/google/protobuf/arenastring.cc.o.d -o CMakeFiles/libprotobuf-lite.dir/src/google/protobuf/arenastring.cc.o -c /var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src/google/protobuf/arenastring.cc
FAILED: CMakeFiles/libprotobuf-lite.dir/src/google/protobuf/arenastring.cc.o
/usr/bin/x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse -DGOOGLE_PROTOBUF_CMAKE_BUILD -DGOOGLE_PROTOBUF_NO_RTTI=1 -DHAVE_ZLIB -DLIBPROTOBUF_EXPORTS -DPROTOBUF_USE_DLLS -Dlibprotobuf_lite_EXPORTS -I/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1_build-abi_x86_32.x86 -I/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src -I/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/third_party/utf8_range -march=skylake -O2 -pipe -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT CMakeFiles/libprotobuf-lite.dir/src/google/protobuf/arenastring.cc.o -MF CMakeFiles/libprotobuf-lite.dir/src/google/protobuf/arenastring.cc.o.d -o CMakeFiles/libprotobuf-lite.dir/src/google/protobuf/arenastring.cc.o -c /var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src/google/protobuf/arenastring.cc
In file included from /var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src/google/protobuf/arena.h:32,
from /var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src/google/protobuf/arenastring.h:19,
from /var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src/google/protobuf/arenastring.cc:8:
/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src/google/protobuf/serial_arena.h:26:10: fatal error: absl/base/prefetch.h: No such file or directory
26 | #include "absl/base/prefetch.h"
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[2/228] /usr/bin/x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse -DGOOGLE_PROTOBUF_CMAKE_BUILD -DGOOGLE_PROTOBUF_NO_RTTI=1 -DHAVE_ZLIB -DLIBPROTOBUF_EXPORTS -DPROTOBUF_USE_DLLS -Dlibprotobuf_lite_EXPORTS -I/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1_build-abi_x86_32.x86 -I/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src -I/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/third_party/utf8_range -march=skylake -O2 -pipe -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT CMakeFiles/libprotobuf-lite.dir/src/google/protobuf/arena.cc.o -MF CMakeFiles/libprotobuf-lite.dir/src/google/protobuf/arena.cc.o.d -o CMakeFiles/libprotobuf-lite.dir/src/google/protobuf/arena.cc.o -c /var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src/google/protobuf/arena.cc
FAILED: CMakeFiles/libprotobuf-lite.dir/src/google/protobuf/arena.cc.o
/usr/bin/x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse -DGOOGLE_PROTOBUF_CMAKE_BUILD -DGOOGLE_PROTOBUF_NO_RTTI=1 -DHAVE_ZLIB -DLIBPROTOBUF_EXPORTS -DPROTOBUF_USE_DLLS -Dlibprotobuf_lite_EXPORTS -I/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1_build-abi_x86_32.x86 -I/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src -I/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/third_party/utf8_range -march=skylake -O2 -pipe -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT CMakeFiles/libprotobuf-lite.dir/src/google/protobuf/arena.cc.o -MF CMakeFiles/libprotobuf-lite.dir/src/google/protobuf/arena.cc.o.d -o CMakeFiles/libprotobuf-lite.dir/src/google/protobuf/arena.cc.o -c /var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src/google/protobuf/arena.cc
In file included from /var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src/google/protobuf/arena.h:32,
from /var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src/google/protobuf/arena.cc:8:
/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src/google/protobuf/serial_arena.h:26:10: fatal error: absl/base/prefetch.h: No such file or directory
26 | #include "absl/base/prefetch.h"
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[3/228] /usr/bin/x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse -DGOOGLE_PROTOBUF_CMAKE_BUILD -DGOOGLE_PROTOBUF_NO_RTTI=1 -DHAVE_ZLIB -DLIBPROTOBUF_EXPORTS -DPROTOBUF_USE_DLLS -Dlibprotobuf_lite_EXPORTS -I/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1_build-abi_x86_32.x86 -I/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src -I/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/third_party/utf8_range -march=skylake -O2 -pipe -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT CMakeFiles/libprotobuf-lite.dir/src/google/protobuf/arenaz_sampler.cc.o -MF CMakeFiles/libprotobuf-lite.dir/src/google/protobuf/arenaz_sampler.cc.o.d -o CMakeFiles/libprotobuf-lite.dir/src/google/protobuf/arenaz_sampler.cc.o -c /var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src/google/protobuf/arenaz_sampler.cc
[4/228] /usr/bin/x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse -DGOOGLE_PROTOBUF_CMAKE_BUILD -DGOOGLE_PROTOBUF_NO_RTTI=1 -DHAVE_ZLIB -DLIBPROTOBUF_EXPORTS -DPROTOBUF_USE_DLLS -Dlibprotobuf_lite_EXPORTS -I/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1_build-abi_x86_32.x86 -I/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src -I/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/third_party/utf8_range -march=skylake -O2 -pipe -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT CMakeFiles/libprotobuf-lite.dir/src/google/protobuf/generated_message_tctable_lite.cc.o -MF CMakeFiles/libprotobuf-lite.dir/src/google/protobuf/generated_message_tctable_lite.cc.o.d -o CMakeFiles/libprotobuf-lite.dir/src/google/protobuf/generated_message_tctable_lite.cc.o -c /var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src/google/protobuf/generated_message_tctable_lite.cc
FAILED: CMakeFiles/libprotobuf-lite.dir/src/google/protobuf/generated_message_tctable_lite.cc.o
/usr/bin/x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse -DGOOGLE_PROTOBUF_CMAKE_BUILD -DGOOGLE_PROTOBUF_NO_RTTI=1 -DHAVE_ZLIB -DLIBPROTOBUF_EXPORTS -DPROTOBUF_USE_DLLS -Dlibprotobuf_lite_EXPORTS -I/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1_build-abi_x86_32.x86 -I/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src -I/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/third_party/utf8_range -march=skylake -O2 -pipe -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT CMakeFiles/libprotobuf-lite.dir/src/google/protobuf/generated_message_tctable_lite.cc.o -MF CMakeFiles/libprotobuf-lite.dir/src/google/protobuf/generated_message_tctable_lite.cc.o.d -o CMakeFiles/libprotobuf-lite.dir/src/google/protobuf/generated_message_tctable_lite.cc.o -c /var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src/google/protobuf/generated_message_tctable_lite.cc
In file included from /var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src/google/protobuf/arena.h:32,
from /var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src/google/protobuf/message_lite.h:29,
from /var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src/google/protobuf/generated_message_tctable_decl.h:21,
from /var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src/google/protobuf/generated_message_tctable_lite.cc:22:
/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src/google/protobuf/serial_arena.h:26:10: fatal error: absl/base/prefetch.h: No such file or directory
26 | #include "absl/base/prefetch.h"
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[5/228] /usr/bin/x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse -DGOOGLE_PROTOBUF_CMAKE_BUILD -DGOOGLE_PROTOBUF_NO_RTTI=1 -DHAVE_ZLIB -DLIBPROTOBUF_EXPORTS -DPROTOBUF_USE_DLLS -Dlibprotobuf_lite_EXPORTS -I/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1_build-abi_x86_32.x86 -I/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src -I/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/third_party/utf8_range -march=skylake -O2 -pipe -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT CMakeFiles/libprotobuf-lite.dir/src/google/protobuf/any_lite.cc.o -MF CMakeFiles/libprotobuf-lite.dir/src/google/protobuf/any_lite.cc.o.d -o CMakeFiles/libprotobuf-lite.dir/src/google/protobuf/any_lite.cc.o -c /var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src/google/protobuf/any_lite.cc
FAILED: CMakeFiles/libprotobuf-lite.dir/src/google/protobuf/any_lite.cc.o
/usr/bin/x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse -DGOOGLE_PROTOBUF_CMAKE_BUILD -DGOOGLE_PROTOBUF_NO_RTTI=1 -DHAVE_ZLIB -DLIBPROTOBUF_EXPORTS -DPROTOBUF_USE_DLLS -Dlibprotobuf_lite_EXPORTS -I/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1_build-abi_x86_32.x86 -I/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src -I/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/third_party/utf8_range -march=skylake -O2 -pipe -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT CMakeFiles/libprotobuf-lite.dir/src/google/protobuf/any_lite.cc.o -MF CMakeFiles/libprotobuf-lite.dir/src/google/protobuf/any_lite.cc.o.d -o CMakeFiles/libprotobuf-lite.dir/src/google/protobuf/any_lite.cc.o -c /var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src/google/protobuf/any_lite.cc
In file included from /var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src/google/protobuf/arena.h:32,
from /var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src/google/protobuf/arenastring.h:19,
from /var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src/google/protobuf/any.h:14,
from /var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src/google/protobuf/any_lite.cc:10:
/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src/google/protobuf/serial_arena.h:26:10: fatal error: absl/base/prefetch.h: No such file or directory
26 | #include "absl/base/prefetch.h"
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[6/228] /usr/bin/x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse -DGOOGLE_PROTOBUF_CMAKE_BUILD -DGOOGLE_PROTOBUF_NO_RTTI=1 -DHAVE_ZLIB -DLIBPROTOBUF_EXPORTS -DPROTOBUF_USE_DLLS -Dlibprotobuf_lite_EXPORTS -I/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1_build-abi_x86_32.x86 -I/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src -I/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/third_party/utf8_range -march=skylake -O2 -pipe -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT CMakeFiles/libprotobuf-lite.dir/src/google/protobuf/extension_set.cc.o -MF CMakeFiles/libprotobuf-lite.dir/src/google/protobuf/extension_set.cc.o.d -o CMakeFiles/libprotobuf-lite.dir/src/google/protobuf/extension_set.cc.o -c /var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src/google/protobuf/extension_set.cc
FAILED: CMakeFiles/libprotobuf-lite.dir/src/google/protobuf/extension_set.cc.o
/usr/bin/x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse -DGOOGLE_PROTOBUF_CMAKE_BUILD -DGOOGLE_PROTOBUF_NO_RTTI=1 -DHAVE_ZLIB -DLIBPROTOBUF_EXPORTS -DPROTOBUF_USE_DLLS -Dlibprotobuf_lite_EXPORTS -I/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1_build-abi_x86_32.x86 -I/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src -I/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/third_party/utf8_range -march=skylake -O2 -pipe -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT CMakeFiles/libprotobuf-lite.dir/src/google/protobuf/extension_set.cc.o -MF CMakeFiles/libprotobuf-lite.dir/src/google/protobuf/extension_set.cc.o.d -o CMakeFiles/libprotobuf-lite.dir/src/google/protobuf/extension_set.cc.o -c /var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src/google/protobuf/extension_set.cc
In file included from /var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src/google/protobuf/arena.h:32,
from /var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src/google/protobuf/parse_context.h:24,
from /var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src/google/protobuf/extension_set.h:32,
from /var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src/google/protobuf/extension_set.cc:12:
/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src/google/protobuf/serial_arena.h:26:10: fatal error: absl/base/prefetch.h: No such file or directory
26 | #include "absl/base/prefetch.h"
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[7/228] /usr/bin/x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse -DGOOGLE_PROTOBUF_CMAKE_BUILD -DGOOGLE_PROTOBUF_NO_RTTI=1 -DHAVE_ZLIB -DLIBPROTOBUF_EXPORTS -DPROTOBUF_USE_DLLS -Dlibprotobuf_lite_EXPORTS -I/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1_build-abi_x86_32.x86 -I/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src -I/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/third_party/utf8_range -march=skylake -O2 -pipe -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT CMakeFiles/libprotobuf-lite.dir/src/google/protobuf/generated_enum_util.cc.o -MF CMakeFiles/libprotobuf-lite.dir/src/google/protobuf/generated_enum_util.cc.o.d -o CMakeFiles/libprotobuf-lite.dir/src/google/protobuf/generated_enum_util.cc.o -c /var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src/google/protobuf/generated_enum_util.cc
FAILED: CMakeFiles/libprotobuf-lite.dir/src/google/protobuf/generated_enum_util.cc.o
/usr/bin/x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse -DGOOGLE_PROTOBUF_CMAKE_BUILD -DGOOGLE_PROTOBUF_NO_RTTI=1 -DHAVE_ZLIB -DLIBPROTOBUF_EXPORTS -DPROTOBUF_USE_DLLS -Dlibprotobuf_lite_EXPORTS -I/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1_build-abi_x86_32.x86 -I/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src -I/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/third_party/utf8_range -march=skylake -O2 -pipe -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT CMakeFiles/libprotobuf-lite.dir/src/google/protobuf/generated_enum_util.cc.o -MF CMakeFiles/libprotobuf-lite.dir/src/google/protobuf/generated_enum_util.cc.o.d -o CMakeFiles/libprotobuf-lite.dir/src/google/protobuf/generated_enum_util.cc.o -c /var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src/google/protobuf/generated_enum_util.cc
In file included from /var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src/google/protobuf/arena.h:32,
from /var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src/google/protobuf/message_lite.h:29,
from /var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src/google/protobuf/generated_enum_util.h:20,
from /var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src/google/protobuf/generated_enum_util.cc:8:
/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src/google/protobuf/serial_arena.h:26:10: fatal error: absl/base/prefetch.h: No such file or directory
26 | #include "absl/base/prefetch.h"
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[8/228] /usr/bin/x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse -DGOOGLE_PROTOBUF_CMAKE_BUILD -DGOOGLE_PROTOBUF_NO_RTTI=1 -DHAVE_ZLIB -DLIBPROTOBUF_EXPORTS -DPROTOBUF_USE_DLLS -Dlibprotobuf_lite_EXPORTS -I/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1_build-abi_x86_32.x86 -I/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src -I/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/third_party/utf8_range -march=skylake -O2 -pipe -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT CMakeFiles/libprotobuf-lite.dir/src/google/protobuf/arena_align.cc.o -MF CMakeFiles/libprotobuf-lite.dir/src/google/protobuf/arena_align.cc.o.d -o CMakeFiles/libprotobuf-lite.dir/src/google/protobuf/arena_align.cc.o -c /var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1/src/google/protobuf/arena_align.cc
ninja: build stopped: subcommand failed.
* ERROR: dev-libs/protobuf-25.1::HomeAssistantRepository failed (compile phase):
* ninja -v -j8 -l0 failed
*
* Call stack:
* ebuild.sh, line 136: Called src_compile
* environment, line 2917: Called cmake-multilib_src_compile
* environment, line 797: Called multilib-minimal_src_compile
* environment, line 2226: Called multilib_foreach_abi 'multilib-minimal_abi_src_compile'
* environment, line 2493: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
* environment, line 2186: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
* environment, line 2184: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile'
* environment, line 552: Called multilib-minimal_abi_src_compile
* environment, line 2220: Called multilib_src_compile
* environment, line 2713: Called cmake_src_compile
* environment, line 915: Called cmake_build
* environment, line 882: Called eninja
* environment, line 1654: Called die
* The specific snippet of code:
* "$@" || die -n "${*} failed"
*
* If you need support, post the output of `emerge --info '=dev-libs/protobuf-25.1::HomeAssistantRepository'`,
* the complete build log and the output of `emerge -pqv '=dev-libs/protobuf-25.1::HomeAssistantRepository'`.
* The complete build log is located at '/var/log/portage/dev-libs:protobuf-25.1:20240615-074450.log'.
* For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-libs/protobuf-25.1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/protobuf-25.1/temp/environment'.
* Working directory: '/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1_build-abi_x86_32.x86'
* S: '/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1'
>>> Failed to emerge dev-libs/protobuf-25.1, Log file:
>>> '/var/log/portage/dev-libs:protobuf-25.1:20240615-074450.log'
* Messages for package dev-libs/protobuf-25.1:
* Log file: /var/log/portage/dev-libs:protobuf-25.1:20240615-074450.log
* ERROR: dev-libs/protobuf-25.1::HomeAssistantRepository failed (compile phase):
* ninja -v -j8 -l0 failed
*
* Call stack:
* ebuild.sh, line 136: Called src_compile
* environment, line 2917: Called cmake-multilib_src_compile
* environment, line 797: Called multilib-minimal_src_compile
* environment, line 2226: Called multilib_foreach_abi 'multilib-minimal_abi_src_compile'
* environment, line 2493: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
* environment, line 2186: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
* environment, line 2184: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile'
* environment, line 552: Called multilib-minimal_abi_src_compile
* environment, line 2220: Called multilib_src_compile
* environment, line 2713: Called cmake_src_compile
* environment, line 915: Called cmake_build
* environment, line 882: Called eninja
* environment, line 1654: Called die
* The specific snippet of code:
* "$@" || die -n "${*} failed"
*
* If you need support, post the output of `emerge --info '=dev-libs/protobuf-25.1::HomeAssistantRepository'`,
* the complete build log and the output of `emerge -pqv '=dev-libs/protobuf-25.1::HomeAssistantRepository'`.
* The complete build log is located at '/var/log/portage/dev-libs:protobuf-25.1:20240615-074450.log'.
* For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-libs/protobuf-25.1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/protobuf-25.1/temp/environment'.
* Working directory: '/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1_build-abi_x86_32.x86'
* S: '/var/tmp/portage/dev-libs/protobuf-25.1/work/protobuf-25.1'
|
Does anyone have any ideas on how I could solve the problem?
THX _________________ (.(*. .*).)
.. G u e r r o ..
(.(.* *.).)
Last edited by guerro on Tue Jun 18, 2024 11:44 am; edited 1 time in total |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22915
|
Posted: Sun Jun 16, 2024 2:51 pm Post subject: Re: dev-libs/protobuf-25.1 build fail |
|
|
guerro wrote: | Hello all, I'll hope someone can help me....
After I updated @world, it ask me to rebuild dev-libs/protobuf-25.1, but build process fails due it's not be able to find some files of this package: Code: | [IP-] [ ] dev-cpp/abseil-cpp-20230125.3-r3:0/20230125.0 | correctly installed with all files (issued files too) | To be clear, you mean that you inspected the list of files installed by =dev-cpp/abseil-cpp-20230125.3-r3 and confirmed it installs files whose names and paths match the error message you showed below? If yes, that says protobuf is not searching the proper directory for the abseil files. That would be a bug, which probably should be reported to the overlay's maintainer. |
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3685
|
Posted: Mon Jun 17, 2024 11:39 am Post subject: |
|
|
It needs.a newer version of abseil-cpp. Compare with deps in protobuf-java. |
|
Back to top |
|
|
guerro Guru
Joined: 21 Jun 2004 Posts: 417 Location: Brescia
|
Posted: Tue Jun 18, 2024 11:43 am Post subject: |
|
|
charles17 wrote: | It needs.a newer version of abseil-cpp. Compare with deps in protobuf-java. |
Thank you, emerged
Code: | dev-cpp/abseil-cpp-20230802.0-r2::gentoo |
(keyworded)
and problem fixed _________________ (.(*. .*).)
.. G u e r r o ..
(.(.* *.).) |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|