Your message dated Thu, 28 Feb 2019 00:50:15 +0000
with message-id <e1gz9tv-000hzk...@fasolo.debian.org>
and subject line Bug#919961: fixed in sope 4.0.7-1
has caused the Debian Bug report #919961,
regarding sope: FTBFS on sh4: PrintfFormatScanner.m:43:9: error: wrong type 
argument to unary exclamation mark
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
919961: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=919961
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: sope
Version: 4.0.5-2
Severity: important
Tags: sid buster ftbfs patch
User: debian-sup...@lists.debian.org
Usertags: sh4

Your package fails to build on sh4:

| Making all for subproject FoundationExt...
| cd .; \
| /usr/share/GNUstep/Makefiles/mkinstalldirs ./obj/FoundationExt.obj/
| [...]
| gcc PrintfFormatScanner.m -c \
|       -MMD -MP -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-core/NGExtensions -I. -I/usr/local/include/GNUstep 
-I/usr/include/GNUstep \
|        -o obj/FoundationExt.obj/PrintfFormatScanner.m.o
| PrintfFormatScanner.m: In function '-[PrintfFormatScanner 
stringWithFormat:arguments:]':
| PrintfFormatScanner.m:43:9: error: wrong type argument to unary exclamation 
mark
|      if (!args)
|          ^
| make[8]: *** [/usr/share/GNUstep/Makefiles/rules.make:479: 
obj/FoundationExt.obj/PrintfFormatScanner.m.o] Error 1

On sh4, va_list is implemented as a struct, just like on arm* and
alpha.  I'd appreciate if you apply the attached trivial patch; it
would allow sogo to be built on sh4 and will help us achieve the goal
of having all GNUstep packages available on all architectures.

FWIW, I have tested it in a QEMU-based sh4 chroot on amd64; it
compiles fine but the build fails with:

|    dh_shlibdeps -a
| dh_shlibdeps: file -e apptype -e ascii -e encoding -e cdf -e compress -e tar 
debian/libsope1/usr/lib/libNGMime.so.4.9.3 returned exit code 1

However, other GNUstep library packages fail with exactly the same
error so it's probably something wrong with my setup or a bug
somewhere that might be fixed (the host is running stretch).
Description: Fix FTBFS on sh4.
Author: Yavor Doganov <ya...@gnu.org>
Forwarded: no
Last-Update: 2019-01-21
---

--- sope.orig/sope-gdl1/GDLAccess/EOSQLQualifier.m
+++ sope/sope-gdl1/GDLAccess/EOSQLQualifier.m
@@ -321,7 +321,7 @@
           back to an array (the EOQualifierEnumScannerHandler does that).
           Works on ix86, but *NOT* on iSeries or zServer !!
   */
-#if defined(__s390__) || defined(__arm__)  || defined(__aarch64__) || 
defined(__alpha__)
+#if defined(__s390__) || defined(__arm__)  || defined(__aarch64__) || 
defined(__alpha__) || defined(__sh__)
   qualifierString =
     [formatScanner performSelector:@selector(stringWithFormat:arguments:)
                    withObject:_qualifierFormat
--- sope.orig/sope-gdl1/GDLAccess/FoundationExt/PrintfFormatScanner.m
+++ sope/sope-gdl1/GDLAccess/FoundationExt/PrintfFormatScanner.m
@@ -36,10 +36,10 @@
     // possible to be NULL at all, but we're called with an array as
     // argument instead of a va_list in EOSQLQualifier and are thus
     // calling __va_copy on an array, which is something that really
-    // shouldn't be done. Checking whether args is NULL breaks on arm
-    // and alpha however, because a va_list isn't a pointer, so we
-    // don't do the check on arm and alpha.
-#if !defined(__arm__) && !defined(__aarch64__) && !defined(__alpha__)
+    // shouldn't be done. Checking whether args is NULL breaks on arm,
+    // alpha and sh4 however, because a va_list isn't a pointer, so we
+    // don't do the check on arm, alpha and sh4.
+#if !defined(__arm__) && !defined(__aarch64__) && !defined(__alpha__) && 
!defined(__sh__)
     if (!args)
       return format;
 #endif

--- End Message ---
--- Begin Message ---
Source: sope
Source-Version: 4.0.7-1

We believe that the bug you reported is fixed in the latest version of
sope, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 919...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jordi Mallach <jo...@debian.org> (supplier of updated sope package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 28 Feb 2019 01:12:42 +0100
Source: sope
Architecture: source
Version: 4.0.7-1
Distribution: unstable
Urgency: medium
Maintainer: Debian SOGo Maintainers 
<pkg-sogo-maintain...@lists.alioth.debian.org>
Changed-By: Jordi Mallach <jo...@debian.org>
Closes: 919961
Changes:
 sope (4.0.7-1) unstable; urgency=medium
 .
   * New upstream release.
   * Fix compilation on sh4 (thanks Yavor Doganov; closes: #919961).
   * Mark libsope-dev as M-A: same.
Checksums-Sha1:
 b4089ec799a48a402c2dfe65f5294ce97f101c93 2101 sope_4.0.7-1.dsc
 7ff8f76e58bc2d224712b2c22102986cb056eca7 2279894 sope_4.0.7.orig.tar.gz
 83bbd670973cd5e31198225bf2230902eaab4fe2 6584 sope_4.0.7-1.debian.tar.xz
 fbd7a1b7a56a54f047d630234031ce3f178568bd 6946 sope_4.0.7-1_source.buildinfo
Checksums-Sha256:
 d7f963c031cd57528d5841f118303ff0fc73f3eef05547816d63371df6337681 2101 
sope_4.0.7-1.dsc
 6fa177591c08e921bf1823299f7bf587f4a12d277e56e504268102d433cbdafb 2279894 
sope_4.0.7.orig.tar.gz
 d23401676d0bddff6af6c3e3b265f140f3dfdcb72bba947a69b573ae29b600a3 6584 
sope_4.0.7-1.debian.tar.xz
 e9ccabb76d660ff52244bd00999e1a9566cca5c04168e82b81e8d1c76f8e77ea 6946 
sope_4.0.7-1_source.buildinfo
Files:
 964afa60d2f56fb805d8c61df8ec42f1 2101 libs optional sope_4.0.7-1.dsc
 73ae308ee047172ad64556295659a123 2279894 libs optional sope_4.0.7.orig.tar.gz
 b7bb6d2280397c4e18dde286acbee625 6584 libs optional sope_4.0.7-1.debian.tar.xz
 9e321813c61338de972d8b187e76c85d 6946 libs optional 
sope_4.0.7-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEE6BdUhsApKYN8KGoWJVAvb8vjywQFAlx3KocRHGpvcmRpQGRl
Ymlhbi5vcmcACgkQJVAvb8vjywR9qw//RnCk55/1DqywW4PuodQOqa8vtt66GCey
ndBOYeZ1x1jp01IXU6/AivwhhlacpZVGEHAVE0RaW4h18Q3Jjib9cQF31Kk0mAfm
jtbrslMctVih6Ef/qGj1j13e7aaQ0z0/5PZ5PQHlV4mg27y8ym55fBOPU+GN/eFQ
HNJjmg/wd5wyDgEsAlP2rcxiLhAByRwKxygJdRlQJeDdZCpn8EnQ2lzlgsXvFNm/
iWR04cLWdZEKL85EuJNFewVdQMvUy3jb2iX56vVDZr6QSC0oOU5UAn2fZymPTxKR
+HV1+VZbZtPC2ee9J4IY9fwry1RL05z1OFR2d3alH9ufzbiwk05SuEIzbv5CeNJc
bXzAo1ynEONtOCoc6ZQ6Mp6Imrepe2k7ybMKNRp9bPLLWSLe6sMhZtiAA6PHaIwO
kDnfJ3LLOhX7NpWY1w5ZXrBnltVkGP58gC4GDnqzmBC+BQGvOh8zH9Dnz47mpn0I
TKelgcCoWGfw0B9+INvAeqnoc0Uivn6O0AAjQxdOG/KBQcLJ3EeuSOMCmClUJCrl
MiWLRiYsPRv0L0fXx8lwFXiGUAx4lM/lIipptHioB5RIZfqNCO/IsxLp0ubdzuAq
Idk0aZafZUlYUNqjipo6X8EZ7DqWh+mOJUk5Nd8xkuk3DPuerBxzelUrZzZE28wM
QZsb9nyO6t4=
=1LLr
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to