Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 957067 - dev-libs/protobuf-31.1[-libupb]: /var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1/upb/reflection/descriptor_bootstrap.h:14:10: fatal error: google/protobuf/descriptor.upb.h: No such file or directory
Summary: dev-libs/protobuf-31.1[-libupb]: /var/tmp/portage/dev-libs/protobuf-31.1/work...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Paul Zander
URL:
Whiteboard:
Keywords:
: 957068 (view as bug list)
Depends on:
Blocks:
 
Reported: 2025-06-03 00:59 UTC by Leo Douglas
Modified: 2025-06-03 01:32 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,216.36 KB, text/x-log)
2025-06-03 01:12 UTC, Leo Douglas
Details
info.txt (info.log,6.58 KB, text/x-log)
2025-06-03 01:13 UTC, Leo Douglas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leo Douglas 2025-06-03 00:59:48 UTC
[209/257] /usr/bin/x86_64-pc-linux-gnu-g++ -DLIBPROTOC_EXPORTS -DPROTOBUF_USE_DLLS -Dlibprotoc_EXPORTS -I/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1_build-abi_x86_64.amd64 -I/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1 -I/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1_build-abi_x86_64.amd64/src -I/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1/src -I/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1/third_party/utf8_range  -march=native -O2 -pipe -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT CMakeFiles/libprotoc.dir/upb_generator/common.cc.o -MF CMakeFiles/libprotoc.dir/upb_generator/common.cc.o.d -o CMakeFiles/libprotoc.dir/upb_generator/common.cc.o -c /var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1/upb_generator/common.cc
FAILED: CMakeFiles/libprotoc.dir/upb_generator/common.cc.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DLIBPROTOC_EXPORTS -DPROTOBUF_USE_DLLS -Dlibprotoc_EXPORTS -I/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1_build-abi_x86_64.amd64 -I/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1 -I/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1_build-abi_x86_64.amd64/src -I/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1/src -I/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1/third_party/utf8_range  -march=native -O2 -pipe -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT CMakeFiles/libprotoc.dir/upb_generator/common.cc.o -MF CMakeFiles/libprotoc.dir/upb_generator/common.cc.o.d -o CMakeFiles/libprotoc.dir/upb_generator/common.cc.o -c /var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1/upb_generator/common.cc
In file included from /var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1/upb/reflection/common.h:15,
                 from /var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1/upb/reflection/def_pool.h:15,
                 from /var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1/upb/reflection/def.h:12,
                 from /var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1/upb/reflection/def.hpp:26,
                 from /var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1/upb_generator/common.h:16,
                 from /var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1/upb_generator/common.cc:8:
/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1/upb/reflection/descriptor_bootstrap.h:14:10: fatal error: google/protobuf/descriptor.upb.h: No such file or directory
   14 | #include "google/protobuf/descriptor.upb.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[210/257] /usr/bin/x86_64-pc-linux-gnu-g++ -DLIBPROTOC_EXPORTS -DPROTOBUF_USE_DLLS -Dlibprotoc_EXPORTS -I/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1_build-abi_x86_64.amd64 -I/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1 -I/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1_build-abi_x86_64.amd64/src -I/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1/src -I/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1/third_party/utf8_range  -march=native -O2 -pipe -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT CMakeFiles/libprotoc.dir/upb_generator/file_layout.cc.o -MF CMakeFiles/libprotoc.dir/upb_generator/file_layout.cc.o.d -o CMakeFiles/libprotoc.dir/upb_generator/file_layout.cc.o -c /var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1/upb_generator/file_layout.cc
FAILED: CMakeFiles/libprotoc.dir/upb_generator/file_layout.cc.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DLIBPROTOC_EXPORTS -DPROTOBUF_USE_DLLS -Dlibprotoc_EXPORTS -I/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1_build-abi_x86_64.amd64 -I/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1 -I/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1_build-abi_x86_64.amd64/src -I/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1/src -I/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1/third_party/utf8_range  -march=native -O2 -pipe -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT CMakeFiles/libprotoc.dir/upb_generator/file_layout.cc.o -MF CMakeFiles/libprotoc.dir/upb_generator/file_layout.cc.o.d -o CMakeFiles/libprotoc.dir/upb_generator/file_layout.cc.o -c /var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1/upb_generator/file_layout.cc
In file included from /var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1/upb/reflection/common.h:15,
                 from /var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1/upb/reflection/def_pool.h:15,
                 from /var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1/upb/reflection/def.h:12,
                 from /var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1/upb_generator/file_layout.h:17,
                 from /var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1/upb_generator/file_layout.cc:8:
/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1/upb/reflection/descriptor_bootstrap.h:14:10: fatal error: google/protobuf/descriptor.upb.h: No such file or directory
   14 | #include "google/protobuf/descriptor.upb.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[211/257] /usr/bin/x86_64-pc-linux-gnu-g++ -DLIBPROTOC_EXPORTS -DPROTOBUF_USE_DLLS -Dlibprotoc_EXPORTS -I/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1_build-abi_x86_64.amd64 -I/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1 -I/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1_build-abi_x86_64.amd64/src -I/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1/src -I/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1/third_party/utf8_range  -march=native -O2 -pipe -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT CMakeFiles/libprotoc.dir/src/google/protobuf/compiler/rust/message.cc.o -MF CMakeFiles/libprotoc.dir/src/google/protobuf/compiler/rust/message.cc.o.d -o CMakeFiles/libprotoc.dir/src/google/protobuf/compiler/rust/message.cc.o -c /var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1/src/google/protobuf/compiler/rust/message.cc
[212/257] /usr/bin/x86_64-pc-linux-gnu-g++ -DLIBPROTOC_EXPORTS -DPROTOBUF_USE_DLLS -Dlibprotoc_EXPORTS -I/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1_build-abi_x86_64.amd64 -I/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1 -I/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1_build-abi_x86_64.amd64/src -I/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1/src -I/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1/third_party/utf8_range  -march=native -O2 -pipe -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT CMakeFiles/libprotoc.dir/upb_generator/common/names.cc.o -MF CMakeFiles/libprotoc.dir/upb_generator/common/names.cc.o.d -o CMakeFiles/libprotoc.dir/upb_generator/common/names.cc.o -c /var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1/upb_generator/common/names.cc
[213/257] /usr/bin/x86_64-pc-linux-gnu-g++ -DLIBPROTOC_EXPORTS -DPROTOBUF_USE_DLLS -Dlibprotoc_EXPORTS -I/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1_build-abi_x86_64.amd64 -I/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1 -I/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1_build-abi_x86_64.amd64/src -I/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1/src -I/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1/third_party/utf8_range  -march=native -O2 -pipe -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT CMakeFiles/libprotoc.dir/src/google/protobuf/compiler/subprocess.cc.o -MF CMakeFiles/libprotoc.dir/src/google/protobuf/compiler/subprocess.cc.o.d -o CMakeFiles/libprotoc.dir/src/google/protobuf/compiler/subprocess.cc.o -c /var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1/src/google/protobuf/compiler/subprocess.cc
[214/257] /usr/bin/x86_64-pc-linux-gnu-g++ -DLIBPROTOC_EXPORTS -DPROTOBUF_USE_DLLS -Dlibprotoc_EXPORTS -I/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1_build-abi_x86_64.amd64 -I/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1 -I/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1_build-abi_x86_64.amd64/src -I/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1/src -I/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1/third_party/utf8_range  -march=native -O2 -pipe -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT CMakeFiles/libprotoc.dir/src/google/protobuf/compiler/zip_writer.cc.o -MF CMakeFiles/libprotoc.dir/src/google/protobuf/compiler/zip_writer.cc.o.d -o CMakeFiles/libprotoc.dir/src/google/protobuf/compiler/zip_writer.cc.o -c /var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1/src/google/protobuf/compiler/zip_writer.cc
[215/257] /usr/bin/x86_64-pc-linux-gnu-g++ -DLIBPROTOC_EXPORTS -DPROTOBUF_USE_DLLS -Dlibprotoc_EXPORTS -I/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1_build-abi_x86_64.amd64 -I/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1 -I/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1_build-abi_x86_64.amd64/src -I/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1/src -I/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1/third_party/utf8_range  -march=native -O2 -pipe -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT CMakeFiles/libprotoc.dir/src/google/protobuf/compiler/rust/generator.cc.o -MF CMakeFiles/libprotoc.dir/src/google/protobuf/compiler/rust/generator.cc.o.d -o CMakeFiles/libprotoc.dir/src/google/protobuf/compiler/rust/generator.cc.o -c /var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1/src/google/protobuf/compiler/rust/generator.cc
[216/257] /usr/bin/x86_64-pc-linux-gnu-g++ -DLIBPROTOC_EXPORTS -DPROTOBUF_USE_DLLS -Dlibprotoc_EXPORTS -I/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1_build-abi_x86_64.amd64 -I/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1 -I/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1_build-abi_x86_64.amd64/src -I/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1/src -I/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1/third_party/utf8_range  -march=native -O2 -pipe -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT CMakeFiles/libprotoc.dir/src/google/protobuf/compiler/versions.cc.o -MF CMakeFiles/libprotoc.dir/src/google/protobuf/compiler/versions.cc.o.d -o CMakeFiles/libprotoc.dir/src/google/protobuf/compiler/versions.cc.o -c /var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1/src/google/protobuf/compiler/versions.cc
ninja: build stopped: subcommand failed.
 * ERROR: dev-libs/protobuf-31.1::gentoo failed (compile phase):
 *   ninja -v -j8 -l9 failed
 * 
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 2530:  Called cmake-multilib_src_compile
 *   environment, line  677:  Called multilib-minimal_src_compile
 *   environment, line 1835:  Called multilib_foreach_abi 'multilib-minimal_abi_src_compile'
 *   environment, line 2102:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 1795:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 1793:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile'
 *   environment, line  431:  Called multilib-minimal_abi_src_compile
 *   environment, line 1829:  Called multilib_src_compile
 *   environment, line 2322:  Called cmake_src_compile
 *   environment, line  795:  Called cmake_build
 *   environment, line  762:  Called eninja
 *   environment, line 1384:  Called die
 * The specific snippet of code:
 *       "$@" || die -n "${*} failed"
 * 
 * If you need support, post the output of `emerge --info '=dev-libs/protobuf-31.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-libs/protobuf-31.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-libs/protobuf-31.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/protobuf-31.1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1_build-abi_x86_64.amd64'
 * S: '/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1'

>>> Failed to emerge dev-libs/protobuf-31.1, Log file:

>>>  '/var/tmp/portage/dev-libs/protobuf-31.1/temp/build.log'

 * Messages for package dev-libs/protobuf-31.1:

 * ERROR: dev-libs/protobuf-31.1::gentoo failed (compile phase):
 *   ninja -v -j8 -l9 failed
 * 
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 2530:  Called cmake-multilib_src_compile
 *   environment, line  677:  Called multilib-minimal_src_compile
 *   environment, line 1835:  Called multilib_foreach_abi 'multilib-minimal_abi_src_compile'
 *   environment, line 2102:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 1795:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 1793:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile'
 *   environment, line  431:  Called multilib-minimal_abi_src_compile
 *   environment, line 1829:  Called multilib_src_compile
 *   environment, line 2322:  Called cmake_src_compile
 *   environment, line  795:  Called cmake_build
 *   environment, line  762:  Called eninja
 *   environment, line 1384:  Called die
 * The specific snippet of code:
 *       "$@" || die -n "${*} failed"
 * 
 * If you need support, post the output of `emerge --info '=dev-libs/protobuf-31.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-libs/protobuf-31.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-libs/protobuf-31.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/protobuf-31.1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1_build-abi_x86_64.amd64'
 * S: '/var/tmp/portage/dev-libs/protobuf-31.1/work/protobuf-31.1'
❯
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-06-03 01:05:50 UTC
Please always include the full build.log and emerge --info.
Comment 2 Leo Douglas 2025-06-03 01:12:12 UTC
Created attachment 930315 [details]
build.log
Comment 3 Leo Douglas 2025-06-03 01:13:27 UTC
Created attachment 930316 [details]
info.txt
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-06-03 01:27:44 UTC
*** Bug 957068 has been marked as a duplicate of this bug. ***
Comment 5 Larry the Git Cow gentoo-dev 2025-06-03 01:32:25 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fb372b3e6d2f176b1d2647667803aa297b57a51

commit 1fb372b3e6d2f176b1d2647667803aa297b57a51
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-06-03 01:14:01 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-06-03 01:31:40 +0000

    profiles/base: force >=dev-libs/protobuf-31.1[libupb]
    
    -libupb fails to build.
    
    Bug: https://github.com/protocolbuffers/protobuf/issues/20538
    Closes: https://bugs.gentoo.org/957067
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/base/package.use.force | 5 +++++
 1 file changed, 5 insertions(+)