Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 925601 - dev-libs/protobuf-22.5 fails to compile: text_format_decode_data.h:59:18: error: int32_t has not been declared
Summary: dev-libs/protobuf-22.5 fails to compile: text_format_decode_data.h:59:18: err...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Paul Zander
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2024-02-27 09:10 UTC by Agostino Sarubbo
Modified: 2024-08-29 19:42 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,216.49 KB, text/plain)
2024-02-27 09:10 UTC, Agostino Sarubbo
Details
add header (01_int32_t.patch,509 bytes, patch)
2024-06-14 11:43 UTC, Christoph Feikes
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-02-27 09:10:16 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-libs/protobuf-22.5 fails to compile.
Discovered on: amd64 (internal ref: tinderbox_musl)
System: MUSL-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#MUSL)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-02-27 09:10:18 UTC
Created attachment 886108 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-02-27 09:10:18 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED: CMakeFiles/libprotoc.dir/src/google/protobuf/compiler/objectivec/text_format_decode_data.cc.o 
/var/tmp/portage/dev-libs/protobuf-22.5/work/protobuf-22.5/src/google/protobuf/compiler/objectivec/text_format_decode_data.h:59:18: error: 'int32_t' has not been declared
Comment 3 Christoph Feikes 2024-06-14 11:43:05 UTC
Created attachment 895816 [details, diff]
add header

Today, I got a "int32_t error" on a musl system. Made protobuf-22.5 build with copying the attached patch into /etc/portage/patches/dev-libs/protobuf-22.5/.