Public bug reported: sentencepiece 0.2.0-1build3 FTBFS in Questing
https://people.canonical.com/~ginggs/ftbfs-report/test- rebuild-20250910-questing-questing.html [ 59%] Building CXX object src/CMakeFiles/sentencepiece.dir/unigram_model.cc.o cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -D_USE_INTERNAL_STRING_VIEW -Dsentencepiece_EXPORTS -I/<<PKGBUILDDIR>> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -I/<<PKGBUILDDIR>>/third_party/absl -I/<<PKGBUILDDIR>>/src/../third_party/protobuf-lite -I/<<PKGBUILDDIR>>/src/builtin_pb -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -I/<<PKGBUILDDIR>>/src/../third_party -O3 -Wall -fPIC -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/sentencepiece-0.2.0-1build3 -Wdate-time -D_FORTIFY_SOURCE=3 -fmacro-prefix-map=/<<PKGBUILDDIR>>/='' -std=gnu++17 -fPIC -pthread -DHAVE_PTHREAD=1 -Wno-sign-compare -Wno-deprecated-declarations -DPIC -MD -MT src/CMakeFiles/sentencepiece.dir/unigram_model.cc.o -MF CMakeFiles/sentencepiece.dir/unigram_model.cc.o.d -o CMakeFiles/sentencepiece.dir/unigram_model.cc.o -c /<<PKGBUILDDIR>>/src/unigram_model.cc In file included from /<<PKGBUILDDIR>>/src/sentencepiece_processor.cc:15: /<<PKGBUILDDIR>>/src/sentencepiece_processor.h:168:3: error: ‘uint32_t’ does not name a type 168 | uint32_t id() const; | ^~~~~~~~ /<<PKGBUILDDIR>>/src/sentencepiece_processor.h:24:1: note: ‘uint32_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’ 23 | #include <vector> +++ |+#include <cstdint> 24 | /<<PKGBUILDDIR>>/src/sentencepiece_processor.h:169:3: error: ‘uint32_t’ does not name a type 169 | uint32_t begin() const; | ^~~~~~~~ /<<PKGBUILDDIR>>/src/sentencepiece_processor.h:169:3: note: ‘uint32_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’ /<<PKGBUILDDIR>>/src/sentencepiece_processor.h:170:3: error: ‘uint32_t’ does not name a type 170 | uint32_t end() const; | ^~~~~~~~ /<<PKGBUILDDIR>>/src/sentencepiece_processor.h:170:3: note: ‘uint32_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’ /<<PKGBUILDDIR>>/src/sentencepiece_processor.cc:121:10: error: no declaration matches ‘uint32_t sentencepiece::ImmutableSentencePieceText_ImmutableSentencePiece::id() const’ 121 | uint32_t ImmutableSentencePieceText_ImmutableSentencePiece::id() const { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<<PKGBUILDDIR>>/src/sentencepiece_processor.cc:121:10: note: no functions named ‘uint32_t sentencepiece::ImmutableSentencePieceText_ImmutableSentencePiece::id() const’ /<<PKGBUILDDIR>>/src/sentencepiece_processor.h:161:7: note: ‘class sentencepiece::ImmutableSentencePieceText_ImmutableSentencePiece’ defined here 161 | class ImmutableSentencePieceText_ImmutableSentencePiece { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<<PKGBUILDDIR>>/src/sentencepiece_processor.cc:125:10: error: no declaration matches ‘uint32_t sentencepiece::ImmutableSentencePieceText_ImmutableSentencePiece::begin() const’ 125 | uint32_t ImmutableSentencePieceText_ImmutableSentencePiece::begin() const { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<<PKGBUILDDIR>>/src/sentencepiece_processor.cc:125:10: note: no functions named ‘uint32_t sentencepiece::ImmutableSentencePieceText_ImmutableSentencePiece::begin() const’ /<<PKGBUILDDIR>>/src/sentencepiece_processor.h:161:7: note: ‘class sentencepiece::ImmutableSentencePieceText_ImmutableSentencePiece’ defined here 161 | class ImmutableSentencePieceText_ImmutableSentencePiece { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<<PKGBUILDDIR>>/src/sentencepiece_processor.cc:129:10: error: no declaration matches ‘uint32_t sentencepiece::ImmutableSentencePieceText_ImmutableSentencePiece::end() const’ 129 | uint32_t ImmutableSentencePieceText_ImmutableSentencePiece::end() const { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<<PKGBUILDDIR>>/src/sentencepiece_processor.cc:129:10: note: no functions named ‘uint32_t sentencepiece::ImmutableSentencePieceText_ImmutableSentencePiece::end() const’ /<<PKGBUILDDIR>>/src/sentencepiece_processor.h:161:7: note: ‘class sentencepiece::ImmutableSentencePieceText_ImmutableSentencePiece’ defined here 161 | class ImmutableSentencePieceText_ImmutableSentencePiece { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ** Affects: sentencepiece (Ubuntu) Importance: Undecided Status: New ** Tags: ftbfs ** Tags added: ftbfs -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2127793 Title: sentencepiece: FTBFS in questing To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sentencepiece/+bug/2127793/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
