[Pkg-sogo-maintainers] Bug#957826: sogo: ftbfs with GCC-10

Matthias Klose doko at debian.org
Fri Apr 17 12:11:16 BST 2020


Package: src:sogo
Version: 4.3.0-1
Severity: normal
Tags: sid bullseye
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-10

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-10/g++-10, but succeeds to build with gcc-9/g++-9. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc10-20200225/sogo_4.3.0-1_unstable_gcc10.log
The last lines of the build log are at the end of this report.

To build with GCC 10, either set CC=gcc-10 CXX=g++-10 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-10/porting_to.html

[...]
      -MMD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -DSAML2_CONFIG=1 -DHAVE_GNUTLS=1 -Wall -DCOMPILE_FOR_GSTEP_MAKE=1 -DUIX_MAILER_MAJOR_VERSION="@\"4\"" -DUIX_MAILER_MINOR_VERSION="@\"3\"" -DUIX_MAILER_SUBMINOR_VERSION="@\"0\"" -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -DDEBUG -fno-omit-frame-pointer -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fgnu-runtime -O0 -g -frecord-gcc-switches -fconstant-string-class=NSConstantString -I.. -I../.. -I../../SOPE -I../../SOPE/ -I/usr/include/libxml2 -I. -I/usr/local/include/GNUstep -I/usr/include/GNUstep \
       -o obj/Mailer.obj/SOGoCalendarMailBodyPart.m.o
gcc SOGoVCardMailBodyPart.m -c \
      -MMD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -DSAML2_CONFIG=1 -DHAVE_GNUTLS=1 -Wall -DCOMPILE_FOR_GSTEP_MAKE=1 -DUIX_MAILER_MAJOR_VERSION="@\"4\"" -DUIX_MAILER_MINOR_VERSION="@\"3\"" -DUIX_MAILER_SUBMINOR_VERSION="@\"0\"" -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -DDEBUG -fno-omit-frame-pointer -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fgnu-runtime -O0 -g -frecord-gcc-switches -fconstant-string-class=NSConstantString -I.. -I../.. -I../../SOPE -I../../SOPE/ -I/usr/include/libxml2 -I. -I/usr/local/include/GNUstep -I/usr/include/GNUstep \
       -o obj/Mailer.obj/SOGoVCardMailBodyPart.m.o
gcc SOGoMailForward.m -c \
      -MMD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -DSAML2_CONFIG=1 -DHAVE_GNUTLS=1 -Wall -DCOMPILE_FOR_GSTEP_MAKE=1 -DUIX_MAILER_MAJOR_VERSION="@\"4\"" -DUIX_MAILER_MINOR_VERSION="@\"3\"" -DUIX_MAILER_SUBMINOR_VERSION="@\"0\"" -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -DDEBUG -fno-omit-frame-pointer -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fgnu-runtime -O0 -g -frecord-gcc-switches -fconstant-string-class=NSConstantString -I.. -I../.. -I../../SOPE -I../../SOPE/ -I/usr/include/libxml2 -I. -I/usr/local/include/GNUstep -I/usr/include/GNUstep \
       -o obj/Mailer.obj/SOGoMailForward.m.o
gcc SOGoMailReply.m -c \
      -MMD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -DSAML2_CONFIG=1 -DHAVE_GNUTLS=1 -Wall -DCOMPILE_FOR_GSTEP_MAKE=1 -DUIX_MAILER_MAJOR_VERSION="@\"4\"" -DUIX_MAILER_MINOR_VERSION="@\"3\"" -DUIX_MAILER_SUBMINOR_VERSION="@\"0\"" -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -DDEBUG -fno-omit-frame-pointer -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fgnu-runtime -O0 -g -frecord-gcc-switches -fconstant-string-class=NSConstantString -I.. -I../.. -I../../SOPE -I../../SOPE/ -I/usr/include/libxml2 -I. -I/usr/local/include/GNUstep -I/usr/include/GNUstep \
       -o obj/Mailer.obj/SOGoMailReply.m.o
gcc EOQualifier+MailDAV.m -c \
      -MMD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -DSAML2_CONFIG=1 -DHAVE_GNUTLS=1 -Wall -DCOMPILE_FOR_GSTEP_MAKE=1 -DUIX_MAILER_MAJOR_VERSION="@\"4\"" -DUIX_MAILER_MINOR_VERSION="@\"3\"" -DUIX_MAILER_SUBMINOR_VERSION="@\"0\"" -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -DDEBUG -fno-omit-frame-pointer -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fgnu-runtime -O0 -g -frecord-gcc-switches -fconstant-string-class=NSConstantString -I.. -I../.. -I../../SOPE -I../../SOPE/ -I/usr/include/libxml2 -I. -I/usr/local/include/GNUstep -I/usr/include/GNUstep \
       -o obj/Mailer.obj/EOQualifier+MailDAV.m.o
gcc NSData+Mail.m -c \
      -MMD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -DSAML2_CONFIG=1 -DHAVE_GNUTLS=1 -Wall -DCOMPILE_FOR_GSTEP_MAKE=1 -DUIX_MAILER_MAJOR_VERSION="@\"4\"" -DUIX_MAILER_MINOR_VERSION="@\"3\"" -DUIX_MAILER_SUBMINOR_VERSION="@\"0\"" -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -DDEBUG -fno-omit-frame-pointer -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fgnu-runtime -O0 -g -frecord-gcc-switches -fconstant-string-class=NSConstantString -I.. -I../.. -I../../SOPE -I../../SOPE/ -I/usr/include/libxml2 -I. -I/usr/local/include/GNUstep -I/usr/include/GNUstep \
       -o obj/Mailer.obj/NSData+Mail.m.o
gcc NSData+SMIME.m -c \
      -MMD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -DSAML2_CONFIG=1 -DHAVE_GNUTLS=1 -Wall -DCOMPILE_FOR_GSTEP_MAKE=1 -DUIX_MAILER_MAJOR_VERSION="@\"4\"" -DUIX_MAILER_MINOR_VERSION="@\"3\"" -DUIX_MAILER_SUBMINOR_VERSION="@\"0\"" -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -DDEBUG -fno-omit-frame-pointer -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fgnu-runtime -O0 -g -frecord-gcc-switches -fconstant-string-class=NSConstantString -I.. -I../.. -I../../SOPE -I../../SOPE/ -I/usr/include/libxml2 -I. -I/usr/local/include/GNUstep -I/usr/include/GNUstep \
       -o obj/Mailer.obj/NSData+SMIME.m.o
NSData+SMIME.m: In function ‘-[NSData(SOGoMailSMIME) signUsingCertificateAndKey:]’:
NSData+SMIME.m:82:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   82 |   while (link = PEM_read_bio_X509_AUX(tbio, NULL, 0, NULL))
      |          ^~~~
NSData+SMIME.m: In function ‘-[NSData(SOGoMailSMIME) messageFromEncryptedDataAndCertificate:]’:
NSData+SMIME.m:308:3: warning: ‘@interface’ of class ‘NGMimeType’ not found
  308 |   type = [[contentType type] lowercaseString];
      |   ^~~~
NSData+SMIME.m:308:3: warning: no ‘-type’ method found
NSData+SMIME.m:308:3: warning: (messages without a matching method signature will be assumed to return ‘id’ and accept ‘...’ as arguments)
NSData+SMIME.m:309:3: warning: ‘@interface’ of class ‘NGMimeType’ not found
  309 |   subtype = [[contentType subType] lowercaseString];
      |   ^~~~~~~
NSData+SMIME.m:309:3: warning: no ‘-subType’ method found
NSData+SMIME.m:315:4: warning: ‘@interface’ of class ‘NGMimeType’ not found
  315 |    smimetype = [[contentType valueOfParameter: @"smime-type"] lowercaseString];
      |    ^~~~~~~~~
NSData+SMIME.m:315:4: warning: no ‘-valueOfParameter:’ method found
gcc NSDictionary+Mail.m -c \
      -MMD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -DSAML2_CONFIG=1 -DHAVE_GNUTLS=1 -Wall -DCOMPILE_FOR_GSTEP_MAKE=1 -DUIX_MAILER_MAJOR_VERSION="@\"4\"" -DUIX_MAILER_MINOR_VERSION="@\"3\"" -DUIX_MAILER_SUBMINOR_VERSION="@\"0\"" -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -DDEBUG -fno-omit-frame-pointer -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fgnu-runtime -O0 -g -frecord-gcc-switches -fconstant-string-class=NSConstantString -I.. -I../.. -I../../SOPE -I../../SOPE/ -I/usr/include/libxml2 -I. -I/usr/local/include/GNUstep -I/usr/include/GNUstep \
       -o obj/Mailer.obj/NSDictionary+Mail.m.o
gcc NSString+Mail.m -c \
      -MMD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -DSAML2_CONFIG=1 -DHAVE_GNUTLS=1 -Wall -DCOMPILE_FOR_GSTEP_MAKE=1 -DUIX_MAILER_MAJOR_VERSION="@\"4\"" -DUIX_MAILER_MINOR_VERSION="@\"3\"" -DUIX_MAILER_SUBMINOR_VERSION="@\"0\"" -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -DDEBUG -fno-omit-frame-pointer -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fgnu-runtime -O0 -g -frecord-gcc-switches -fconstant-string-class=NSConstantString -I.. -I../.. -I../../SOPE -I../../SOPE/ -I/usr/include/libxml2 -I. -I/usr/local/include/GNUstep -I/usr/include/GNUstep \
       -o obj/Mailer.obj/NSString+Mail.m.o
gcc SOGoUser+Mailer.m -c \
      -MMD -MP -Wdate-time -D_FORTIFY_SOURCE=2 -DSAML2_CONFIG=1 -DHAVE_GNUTLS=1 -Wall -DCOMPILE_FOR_GSTEP_MAKE=1 -DUIX_MAILER_MAJOR_VERSION="@\"4\"" -DUIX_MAILER_MINOR_VERSION="@\"3\"" -DUIX_MAILER_SUBMINOR_VERSION="@\"0\"" -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -DDEBUG -fno-omit-frame-pointer -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fgnu-runtime -O0 -g -frecord-gcc-switches -fconstant-string-class=NSConstantString -I.. -I../.. -I../../SOPE -I../../SOPE/ -I/usr/include/libxml2 -I. -I/usr/local/include/GNUstep -I/usr/include/GNUstep \
       -o obj/Mailer.obj/SOGoUser+Mailer.m.o
gcc -shared \
                 -rdynamic     -Wl,-z,relro -Wl,-z,now -pthread  -fexceptions -o Mailer.SOGo/./Mailer \
		./obj/Mailer.obj/Product.m.o ./obj/Mailer.obj/SOGoMailManager.m.o ./obj/Mailer.obj/SOGoDraftObject.m.o ./obj/Mailer.obj/SOGoMailBaseObject.m.o ./obj/Mailer.obj/SOGoMailAccounts.m.o ./obj/Mailer.obj/SOGoMailAccount.m.o ./obj/Mailer.obj/SOGoMailFolder.m.o ./obj/Mailer.obj/SOGoMailLabel.m.o ./obj/Mailer.obj/SOGoMailNamespace.m.o ./obj/Mailer.obj/SOGoMailObject.m.o ./obj/Mailer.obj/SOGoMailObject+Draft.m.o ./obj/Mailer.obj/SOGoSentFolder.m.o ./obj/Mailer.obj/SOGoDraftsFolder.m.o ./obj/Mailer.obj/SOGoTrashFolder.m.o ./obj/Mailer.obj/SOGoJunkFolder.m.o ./obj/Mailer.obj/SOGoMailBodyPart.m.o ./obj/Mailer.obj/SOGoHTMLMailBodyPart.m.o ./obj/Mailer.obj/SOGoImageMailBodyPart.m.o ./obj/Mailer.obj/SOGoMessageMailBodyPart.m.o ./obj/Mailer.obj/SOGoCalendarMailBodyPart.m.o ./obj/Mailer.obj/SOGoVCardMailBodyPart.m.o ./obj/Mailer.obj/SOGoMailForward.m.o ./obj/Mailer.obj/SOGoMailReply.m.o ./obj/Mailer.obj/EOQualifier+MailDAV.m.o ./obj/Mailer.obj/NSData+Mail.m.o ./obj/Mailer.obj/NSData+SMIME.m.o ./obj/Mailer.obj/NSDictionary+Mail.m.o ./obj/Mailer.obj/NSString+Mail.m.o ./obj/Mailer.obj/SOGoUser+Mailer.m.o \
                  -L../SOGo/SOGo.framework/Versions/Current/sogo/ -lSOGo -L../../SOGo/./obj/ -L../../SOPE/NGCards/./obj/ -lNGCards -L../../SOPE/GDLContentStore/./obj/ -lGDLContentStore -L/usr/local/lib -Wl,-rpath,/usr/lib/sogo    -L/usr/local/lib -L/usr/lib     -lNGObjWeb -lNGMime -lNGStreams -lNGExtensions         -lGDLAccess -lNGObjWeb -lNGMime -lNGLdap -lNGStreams -lNGExtensions -lEOControl -lDOM -lSaxObjC -lSBJson   -lgnustep-base    -lobjc   -lm
/usr/bin/ld: ./obj/Mailer.obj/SOGoMailFolder.m.o:./SoObjects/Mailer/SOGoMailObject.h:54: multiple definition of `SOGoMailCoreInfoKeys'; ./obj/Mailer.obj/SOGoDraftObject.m.o:./SoObjects/Mailer/SOGoMailObject.h:54: first defined here
/usr/bin/ld: ./obj/Mailer.obj/SOGoMailObject.m.o:./SoObjects/Mailer/SOGoMailObject.h:54: multiple definition of `SOGoMailCoreInfoKeys'; ./obj/Mailer.obj/SOGoDraftObject.m.o:./SoObjects/Mailer/SOGoMailObject.h:54: first defined here
/usr/bin/ld: ./obj/Mailer.obj/SOGoMailObject+Draft.m.o:./SoObjects/Mailer/SOGoMailObject.h:54: multiple definition of `SOGoMailCoreInfoKeys'; ./obj/Mailer.obj/SOGoDraftObject.m.o:./SoObjects/Mailer/SOGoMailObject.h:54: first defined here
/usr/bin/ld: ./obj/Mailer.obj/SOGoMailBodyPart.m.o:./SoObjects/Mailer/SOGoMailObject.h:54: multiple definition of `SOGoMailCoreInfoKeys'; ./obj/Mailer.obj/SOGoDraftObject.m.o:./SoObjects/Mailer/SOGoMailObject.h:54: first defined here
/usr/bin/ld: ./obj/Mailer.obj/SOGoMailForward.m.o:./SoObjects/Mailer/SOGoMailObject.h:54: multiple definition of `SOGoMailCoreInfoKeys'; ./obj/Mailer.obj/SOGoDraftObject.m.o:./SoObjects/Mailer/SOGoMailObject.h:54: first defined here
/usr/bin/ld: ./obj/Mailer.obj/SOGoMailReply.m.o:./SoObjects/Mailer/SOGoMailObject.h:54: multiple definition of `SOGoMailCoreInfoKeys'; ./obj/Mailer.obj/SOGoDraftObject.m.o:./SoObjects/Mailer/SOGoMailObject.h:54: first defined here
collect2: error: ld returned 1 exit status
make[5]: *** [/usr/share/GNUstep/Makefiles/wobundle.make:173: Mailer.SOGo/./Mailer] Error 1
make[4]: *** [/usr/share/GNUstep/Makefiles/Master/rules.make:297: Mailer.all.wobundle.variables] Error 2
make[4]: Leaving directory '/<<PKGBUILDDIR>>/SoObjects/Mailer'
make[3]: *** [/usr/share/GNUstep/Makefiles/Master/serial-subdirectories.make:53: internal-all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/SoObjects'
make[2]: *** [/usr/share/GNUstep/Makefiles/Master/serial-subdirectories.make:53: internal-all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 "OBJCFLAGS=-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security" "CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2" "LDFLAGS=-Wl,-z,relro -Wl,-z,now" messages=yes returned exit code 2
make[1]: *** [debian/rules:15: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:8: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Pkg-sogo-maintainers mailing list