Hi,

On 1/20/21 9:25 PM, Lucas Nussbaum wrote:
Source: chatty
Version: 0.2.0-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20210120 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


thanks for your report!

Relevant part (hopefully):
c++ -Isrc/libchatty.so.p -Isrc -I../src -I/usr/include/libmount -I/usr/include/blkid 
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gtk-3.0 
-I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gio-unix-2.0 
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/fribidi 
-I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/pixman-1 -I/usr/include/uuid 
-I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 
-I/usr/include/libpurple -I/usr/include/libhandy-1 -I/usr/include/evolution-data-server 
-I/usr/include/nss -I/usr/include/nspr -I/usr/include/libsecret-1 
-I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/gsettings-desktop-schemas 
-I/usr/include/libfeedback-0.0 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 
-Wall -Winvalid-pch -Wnon-virtual-dtor -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ 
src/libchatty.so.p/chatty-phone-utils.cpp.o -MF 
src/libchatty.so.p/chatty-phone-utils.cpp.o.d -o 
src/libchatty.so.p/chatty-phone-utils.cpp.o -c ../src/chatty-phone-utils.cpp
In file included from /usr/include/phonenumbers/phonenumberutil.h:34,
                  from ../src/chatty-phone-utils.cpp:18:
/usr/include/phonenumbers/phonenumber.pb.h:47:51: error: 
‘AuxiliaryParseTableField’ in namespace ‘google::protobuf::internal’ does not 
name a type; did you mean ‘AuxillaryParseTableField’?
    47 |   static const 
::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
       |                                                   
^~~~~~~~~~~~~~~~~~~~~~~~
       |                                                   
AuxillaryParseTableField
In file included from /usr/include/phonenumbers/phonenumberutil.h:34,
                  from ../src/chatty-phone-utils.cpp:18:
/usr/include/phonenumbers/phonenumber.pb.h:88:30: error: ‘ConstStringParam’ is 
not a member of ‘google::protobuf’
    88 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, 
PhoneNumber_CountryCodeSource* value);
       |                              ^~~~~~~~~~~~~~~~
/usr/include/phonenumbers/phonenumber.pb.h:88:82: error: expected 
primary-expression before ‘*’ token
    88 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, 
PhoneNumber_CountryCodeSource* value);
       |                                                                        
          ^
/usr/include/phonenumbers/phonenumber.pb.h:88:84: error: ‘value’ was not 
declared in this scope
    88 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, 
PhoneNumber_CountryCodeSource* value);
       |                                                                        
            ^~~~~
/usr/include/phonenumbers/phonenumber.pb.h:88:89: error: expression list 
treated as compound expression in initializer [-fpermissive]
    88 |     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, 
PhoneNumber_CountryCodeSource* value);
       |                                                                        
                 ^
/usr/include/phonenumbers/phonenumber.pb.h:218:71: error: 
‘google::protobuf::ConstStringParam’ has not been declared
   218 |   static inline bool 
CountryCodeSource_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
       |                                                                       
^~~~~~~~~~~~~~~~
/usr/include/phonenumbers/phonenumber.pb.h: In static member function ‘static 
bool i18n::phonenumbers::PhoneNumber::CountryCodeSource_Parse(int, 
i18n::phonenumbers::PhoneNumber::CountryCodeSource*)’:
/usr/include/phonenumbers/phonenumber.pb.h:220:59: error: 
‘i18n::phonenumbers::PhoneNumber_CountryCodeSource_Parse’ cannot be used as a 
function
   220 |     return PhoneNumber_CountryCodeSource_Parse(name, value);
       |                                                           ^
[36/65] cc -Isrc/chatty.p -Isrc -I../src -I../src/xeps/prpl/jabber -I/usr/include/libmount 
-I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
-I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/cairo 
-I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/atk-1.0 
-I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpurple -I/usr/include/libhandy-1 
-I/usr/include/evolution-data-server -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libsecret-1 
-I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/gsettings-desktop-schemas 
-I/usr/include/libfeedback-0.0 -I/<<PKGBUILDDIR>>/_build -fdiagnostics-color=always -pipe 
-D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DGLIB_DISABLE_DEPRECATION_WARNINGS -Wcast-align -Wdate-time 
-Wdeclaration-after-statement -Wendif-labels -Werror=incompatible-pointer-types 
-Werror=missing-declarations -Werror=overflow -Werror=return-type -Werror=shift-count-overflow 
-Werror=shift-overflow=1 -Werror=implicit-fallthrough=3 -Wfloat-equal -Wformat-nonliteral 
-Wformat-security -Winit-self -Wmaybe-uninitialized -Wmissing-field-initializers -Wmissing-include-dirs 
-Wmissing-noreturn -Wnested-externs -Wno-missing-field-initializers -Wno-sign-compare 
-Wno-strict-aliasing -Wno-unused-parameter -Wold-style-definition -Wpointer-arith -Wredundant-decls 
-Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wtype-limits -Wundef -Wunused-function -g 
-O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -MD -MQ src/chatty.p/main.c.o -MF 
src/chatty.p/main.c.o.d -o src/chatty.p/main.c.o -c ../src/main.c
[37/65] cc -Isrc/chatty.p -Isrc -I../src -I../src/xeps/prpl/jabber -I/usr/include/libmount 
-I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
-I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/cairo 
-I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/atk-1.0 
-I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpurple -I/usr/include/libhandy-1 
-I/usr/include/evolution-data-server -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libsecret-1 
-I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/gsettings-desktop-schemas 
-I/usr/include/libfeedback-0.0 -I/<<PKGBUILDDIR>>/_build -fdiagnostics-color=always -pipe 
-D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DGLIB_DISABLE_DEPRECATION_WARNINGS -Wcast-align -Wdate-time 
-Wdeclaration-after-statement -Wendif-labels -Werror=incompatible-pointer-types 
-Werror=missing-declarations -Werror=overflow -Werror=return-type -Werror=shift-count-overflow 
-Werror=shift-overflow=1 -Werror=implicit-fallthrough=3 -Wfloat-equal -Wformat-nonliteral 
-Wformat-security -Winit-self -Wmaybe-uninitialized -Wmissing-field-initializers -Wmissing-include-dirs 
-Wmissing-noreturn -Wnested-externs -Wno-missing-field-initializers -Wno-sign-compare 
-Wno-strict-aliasing -Wno-unused-parameter -Wold-style-definition -Wpointer-arith -Wredundant-decls 
-Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wtype-limits -Wundef -Wunused-function -g 
-O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -MD -MQ 
src/chatty.p/chatty-application.c.o -MF src/chatty.p/chatty-application.c.o.d -o 
src/chatty.p/chatty-application.c.o -c ../src/chatty-application.c
[38/65] cc -Isrc/chatty.p -Isrc -I../src -I../src/xeps/prpl/jabber -I/usr/include/libmount 
-I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
-I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/cairo 
-I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/atk-1.0 
-I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpurple -I/usr/include/libhandy-1 
-I/usr/include/evolution-data-server -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libsecret-1 
-I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/gsettings-desktop-schemas 
-I/usr/include/libfeedback-0.0 -I/<<PKGBUILDDIR>>/_build -fdiagnostics-color=always -pipe 
-D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -DGLIB_DISABLE_DEPRECATION_WARNINGS -Wcast-align -Wdate-time 
-Wdeclaration-after-statement -Wendif-labels -Werror=incompatible-pointer-types 
-Werror=missing-declarations -Werror=overflow -Werror=return-type -Werror=shift-count-overflow 
-Werror=shift-overflow=1 -Werror=implicit-fallthrough=3 -Wfloat-equal -Wformat-nonliteral 
-Wformat-security -Winit-self -Wmaybe-uninitialized -Wmissing-field-initializers -Wmissing-include-dirs 
-Wmissing-noreturn -Wnested-externs -Wno-missing-field-initializers -Wno-sign-compare 
-Wno-strict-aliasing -Wno-unused-parameter -Wold-style-definition -Wpointer-arith -Wredundant-decls 
-Wshadow -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wtype-limits -Wundef -Wunused-function -g 
-O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -MD -MQ 
src/chatty.p/chatty-manager.c.o -MF src/chatty.p/chatty-manager.c.o.d -o 
src/chatty.p/chatty-manager.c.o -c ../src/chatty-manager.c
ninja: build stopped: subcommand failed.
dh_auto_build: error: cd _build && LC_ALL=C.UTF-8 ninja -j4 -v returned exit 
code 1
make: *** [debian/rules:6: binary] Error 25


I'm not running into this issue when building with
$ sbuild -d sid chatty

The full build log is available from:
    http://qa-logs.debian.net/2021/01/20/chatty_0.2.0-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!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with me
so that we can identify if something relevant changed in the meantime.

My build log can be found here:
https://fortysixandtwo.eu/upload/chatty_amd64.build

diff produced a lot of noise. A few things I noticed, they don't appear relevant (to me), but I'm mentioning it for completeness sake. - I install way more packages than you (f.e. both libphonenumber7 and libphonenumber8)
- libphonenumber-dev is the same for us both
- the warning and error flags to cc, FORTIFY_SOURCES etc seem to be the same
- the compilation command differs significantly (not only for the failed step)

>c++ -Isrc/libchatty.so.p -Isrc -I../src -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpurple -I/usr/include/libhandy-1 -I/usr/include/evolution-data-server -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libsecret-1 -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/gsettings-desktop-schemas -I/usr/include/libfeedback-0.0 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ src/libchatty.so.p/chatty-phone-utils.cpp.o -MF src/libchatty.so.p/chatty-phone-utils.cpp.o.d -o src/libchatty.so.p/chatty-phone-utils.cpp.o -c ../src/chatty-phone-utils.cpp

vs

>c++ -Isrc/libchatty.so.p -Isrc -I../src -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpurple -I/usr/include/libhandy-1 -I/usr/include/evolution-data-server -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libsecret-1 -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/gsettings-desktop-schemas -I/usr/include/libfeedback-0.0 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ src/libchatty.so.p/chatty-phone-utils.cpp.o -MF src/libchatty.so.p/chatty-phone-utils.cpp.o.d -o src/libchatty.so.p/chatty-phone-utils.cpp.o -c ../src/chatty-phone-utils.cpp

I don't understand why the compilation looks so different, but I hope we can figure it out and resolve the issue!

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.


I've set up a fresh chroot as well.

PS: This is my first FTBFS (yay?)

Reply via email to