Bug#954505: kitinerary: FTBFS: phonenumber.pb.h:17:2: error: #error This file was generated by an older version of protoc which is
Source: kitinerary
Version: 19.08.3-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200321 ftbfs-bullseye
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DKCalCore=KCalendarCore -DKPimItinerary_EXPORTS -DQT_CORE_LIB -DQT_DISABLE_DEPRECATED_BEFORE=0x060000 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_URL_CAST_FROM_STRING -DQT_QML_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kitinerary\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/KPimItinerary_autogen/include -I/usr/include/libxml2 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/KF5/KMime -isystem /usr/include/KF5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtQml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5/KContacts -isystem /usr/include/KPim -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/poppler -isystem /usr/include/KF5/KCalendarCore -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++14 -o CMakeFiles/KPimItinerary.dir/extractorpostprocessor.cpp.o -c /<<PKGBUILDDIR>>/src/extractorpostprocessor.cpp
> In file included from /usr/include/phonenumbers/phonenumberutil.h:34,
> from /<<PKGBUILDDIR>>/src/extractorpostprocessor.cpp:56:
> /usr/include/phonenumbers/phonenumber.pb.h:17:2: error: #error This file was generated by an older version of protoc which is
> 17 | #error This file was generated by an older version of protoc which is
> | ^~~~~
> /usr/include/phonenumbers/phonenumber.pb.h:18:2: error: #error incompatible with your Protocol Buffer headers. Please
> 18 | #error incompatible with your Protocol Buffer headers. Please
> | ^~~~~
> /usr/include/phonenumbers/phonenumber.pb.h:19:2: error: #error regenerate this file with a newer version of protoc.
> 19 | #error regenerate this file with a newer version of protoc.
> | ^~~~~
> [ 31%] Building CXX object src/CMakeFiles/KPimItinerary.dir/extractorrepository.cpp.o
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DKCalCore=KCalendarCore -DKPimItinerary_EXPORTS -DQT_CORE_LIB -DQT_DISABLE_DEPRECATED_BEFORE=0x060000 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_URL_CAST_FROM_STRING -DQT_QML_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kitinerary\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/KPimItinerary_autogen/include -I/usr/include/libxml2 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/KF5/KMime -isystem /usr/include/KF5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtQml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5/KContacts -isystem /usr/include/KPim -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/poppler -isystem /usr/include/KF5/KCalendarCore -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++14 -o CMakeFiles/KPimItinerary.dir/extractorrepository.cpp.o -c /<<PKGBUILDDIR>>/src/extractorrepository.cpp
> In file included from /usr/include/phonenumbers/phonenumberutil.h:34,
> from /<<PKGBUILDDIR>>/src/extractorpostprocessor.cpp:56:
> /usr/include/phonenumbers/phonenumber.pb.h:140:8: error: ‘bool i18n::phonenumbers::PhoneNumber::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream*)’ marked ‘final’, but is not virtual
> 140 | bool MergePartialFromCodedStream(
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/phonenumbers/phonenumber.pb.h:142:8: error: ‘void i18n::phonenumbers::PhoneNumber::SerializeWithCachedSizes(google::protobuf::io::CodedOutputStream*) const’ marked ‘final’, but is not virtual
> 142 | void SerializeWithCachedSizes(
> | ^~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/phonenumbers/phonenumber.pb.h: In member function ‘void i18n::phonenumbers::PhoneNumber::clear_national_number()’:
> /usr/include/phonenumbers/phonenumber.pb.h:347:22: error: ‘GOOGLE_ULONGLONG’ was not declared in this scope; did you mean ‘GOOGLE_LOG’?
> 347 | national_number_ = GOOGLE_ULONGLONG(0);
> | ^~~~~~~~~~~~~~~~
> | GOOGLE_LOG
> /<<PKGBUILDDIR>>/src/extractorpostprocessor.cpp: In static member function ‘static KItinerary::PostalAddress KItinerary::ExtractorPostprocessorPrivate::processAddress(KItinerary::PostalAddress, const QString&)’:
> /<<PKGBUILDDIR>>/src/extractorpostprocessor.cpp:399:41: error: cannot declare variable ‘number’ to be of abstract type ‘i18n::phonenumbers::PhoneNumber’
> 399 | i18n::phonenumbers::PhoneNumber number;
> | ^~~~~~
> In file included from /usr/include/phonenumbers/phonenumberutil.h:34,
> from /<<PKGBUILDDIR>>/src/extractorpostprocessor.cpp:56:
> /usr/include/phonenumbers/phonenumber.pb.h:75:7: note: because the following virtual functions are pure within ‘i18n::phonenumbers::PhoneNumber’:
> 75 | class PhoneNumber : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:i18n.phonenumbers.PhoneNumber) */ {
> | ^~~~~~~~~~~
> In file included from /usr/include/google/protobuf/generated_enum_util.h:36,
> from /usr/include/google/protobuf/map.h:48,
> from /usr/include/google/protobuf/generated_message_table_driven.h:34,
> from /usr/include/phonenumbers/phonenumber.pb.h:25,
> from /usr/include/phonenumbers/phonenumberutil.h:34,
> from /<<PKGBUILDDIR>>/src/extractorpostprocessor.cpp:56:
> /usr/include/google/protobuf/message_lite.h:464:18: note: ‘virtual google::protobuf::uint8* google::protobuf::MessageLite::_InternalSerialize(google::protobuf::uint8*, google::protobuf::io::EpsCopyOutputStream*) const’
> 464 | virtual uint8* _InternalSerialize(uint8* ptr,
> | ^~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/extractorpostprocessor.cpp: In static member function ‘static QString KItinerary::ExtractorPostprocessorPrivate::processPhoneNumber(const QString&, const KItinerary::PostalAddress&)’:
> /<<PKGBUILDDIR>>/src/extractorpostprocessor.cpp:422:41: error: cannot declare variable ‘number’ to be of abstract type ‘i18n::phonenumbers::PhoneNumber’
> 422 | i18n::phonenumbers::PhoneNumber number;
> | ^~~~~~
> [ 31%] Building CXX object src/CMakeFiles/KPimItinerary.dir/extractorutil.cpp.o
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ -DKCalCore=KCalendarCore -DKPimItinerary_EXPORTS -DQT_CORE_LIB -DQT_DISABLE_DEPRECATED_BEFORE=0x060000 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_URL_CAST_FROM_STRING -DQT_QML_LIB -DQT_STRICT_ITERATORS -DQT_USE_QSTRINGBUILDER -DTRANSLATION_DOMAIN=\"kitinerary\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/KPimItinerary_autogen/include -I/usr/include/libxml2 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/KF5/KMime -isystem /usr/include/KF5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtQml -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5/KContacts -isystem /usr/include/KPim -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/poppler -isystem /usr/include/KF5/KCalendarCore -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++0x -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++14 -o CMakeFiles/KPimItinerary.dir/extractorutil.cpp.o -c /<<PKGBUILDDIR>>/src/extractorutil.cpp
> make[4]: *** [src/CMakeFiles/KPimItinerary.dir/build.make:592: src/CMakeFiles/KPimItinerary.dir/extractorpostprocessor.cpp.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2020/03/21/kitinerary_19.08.3-1_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
Reply to: