Your message dated Wed, 15 Apr 2020 08:22:43 +0000
with message-id <e1jodjj-000fcc...@fasolo.debian.org>
and subject line Bug#956115: fixed in libcmis 0.5.2-2
has caused the Debian Bug report #956115,
regarding FTBFS against icu in experimental: 
/usr/include/unicode/localpointer.h:371:1: error: template with C linkage
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.)


-- 
956115: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=956115
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libcmis
Version: 0.5.2-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu focal ubuntu-patch

Hi,

When built against icu in experimental:

/usr/include/unicode/localpointer.h:371:1: error: template with C linkage
  371 | template<typename T>
      | ^~~~~~~~
In file included from repository.cxx:29:
../../inc/libcmis-c/repository.h:32:1: note: ‘extern "C"’ linkage started here
   32 | extern "C" {
      | ^~~~~~~~~~
In file included from /usr/include/unicode/uenum.h:23,
                 from /usr/include/unicode/ucnv.h:53,
                 from /usr/include/libxml2/libxml/encoding.h:31,
                 from /usr/include/libxml2/libxml/parser.h:810,
                 from /usr/include/libxml2/libxml/globals.h:18,
                 from /usr/include/libxml2/libxml/threads.h:35,
                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
                 from /usr/include/libxml2/libxml/tree.h:1307,
                 from ../../inc/libcmis-c/repository.h:35,
                 from repository.cxx:29:
/usr/include/unicode/ucnv.h:585:1: error: conflicting declaration of C function 
‘void icu_66::swap(icu_66::LocalUConverterPointer&, 
icu_66::LocalUConverterPointer&)’
  585 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUConverterPointer, UConverter, 
ucnv_close);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/unicode/uenum.h:68:1: note: previous declaration ‘void 
icu_66::swap(icu_66::LocalUEnumerationPointer&, 
icu_66::LocalUEnumerationPointer&)’
   68 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUEnumerationPointer, UEnumeration, 
uenum_close);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
make[4]: *** [Makefile:619: libcmis_c_0.5_la-repository.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/libcmis-c'
make[3]: *** [Makefile:523: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[2]: *** [Makefile:538: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:43: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:23: build] Error 2

Fixed with the attached patch. I'll poke upstream to re-consider it.

Cheers,

-- 
Iain Lane                                  [ i...@orangesquash.org.uk ]
Debian Developer                                   [ la...@debian.org ]
Ubuntu Developer                                   [ la...@ubuntu.com ]
diff -Nru libcmis-0.5.2/debian/control libcmis-0.5.2/debian/control
--- libcmis-0.5.2/debian/control        2020-02-03 20:42:17.000000000 +0000
+++ libcmis-0.5.2/debian/control        2020-04-07 15:16:03.000000000 +0100
@@ -1,7 +1,6 @@
 Source: libcmis
 Priority: optional
-Maintainer: Ubuntu Developers <ubuntu-devel-disc...@lists.ubuntu.com>
-XSBC-Original-Maintainer: Debian LibreOffice Maintainers 
<debian-openoffice@lists.debian.org>
+Maintainer: Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
 Uploaders: Rene Engelhard <r...@debian.org>
 Build-Depends: debhelper (>= 9), autotools-dev, libxml2-dev, libboost-dev, 
libboost-program-options-dev, libcurl4-gnutls-dev, libcppunit-dev (>= 1.12), 
docbook2x, libboost-date-time-dev, dpkg-dev (>= 1.16.1), pkg-config, 
dh-autoreconf, docbook-xml, dh-exec (>= 0.3)
 Standards-Version: 3.9.6
diff -Nru 
libcmis-0.5.2/debian/patches/include-libxml-headers-outside-of-extern-c 
libcmis-0.5.2/debian/patches/include-libxml-headers-outside-of-extern-c
--- libcmis-0.5.2/debian/patches/include-libxml-headers-outside-of-extern-c     
1970-01-01 01:00:00.000000000 +0100
+++ libcmis-0.5.2/debian/patches/include-libxml-headers-outside-of-extern-c     
2020-04-07 15:16:01.000000000 +0100
@@ -0,0 +1,22 @@
+Description: Move include outside of "extern C" block
+Author: Iain Lane <la...@ubuntu.com>
+Bug-Upstream: https://unicode-org.atlassian.net/browse/ICU-20530
+Forwarded: https://github.com/tdf/libcmis/issues/35
+
+--- libcmis-0.5.2.orig/inc/libcmis-c/repository.h
++++ libcmis-0.5.2/inc/libcmis-c/repository.h
+@@ -28,12 +28,12 @@
+ #ifndef _REPOSITORY_H_
+ #define _REPOSITORY_H_
+ 
++#include <libxml/tree.h>
++
+ #ifdef __cplusplus
+ extern "C" {
+ #endif
+ 
+-#include <libxml/tree.h>
+-
+ #include "libcmis-c/libcmis-c-api.h"
+ #include "libcmis-c/types.h"
+ 
diff -Nru libcmis-0.5.2/debian/patches/series 
libcmis-0.5.2/debian/patches/series
--- libcmis-0.5.2/debian/patches/series 2018-12-28 19:02:55.000000000 +0000
+++ libcmis-0.5.2/debian/patches/series 2020-04-07 15:09:40.000000000 +0100
@@ -1 +1,2 @@
 fix-docbook-to-man-call.diff
+include-libxml-headers-outside-of-extern-c

--- End Message ---
--- Begin Message ---
Source: libcmis
Source-Version: 0.5.2-2
Done: Rene Engelhard <r...@debian.org>

We believe that the bug you reported is fixed in the latest version of
libcmis, 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 956...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Rene Engelhard <r...@debian.org> (supplier of updated libcmis 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: Mon, 13 Apr 2020 18:11:03 +0200
Source: libcmis
Architecture: source
Version: 0.5.2-2
Distribution: unstable
Urgency: medium
Maintainer: Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Changed-By: Rene Engelhard <r...@debian.org>
Closes: 956115
Changes:
 libcmis (0.5.2-2) unstable; urgency=medium
 .
   * add patch to move include outside of "extern C" block to fix build
     with ICU 64.1, thanks Iain Lane (closes: #956115)
Checksums-Sha1:
 db1be4db4d367e1eabcf5568491d3d814787c633 2157 libcmis_0.5.2-2.dsc
 83bd9bfebd24372f098837b41ad58da156aa8e8e 4652 libcmis_0.5.2-2.debian.tar.xz
 fe3b5710c4955dc6f789894385263a7dd92ddfd8 8122 libcmis_0.5.2-2_source.buildinfo
Checksums-Sha256:
 90bff6a67d46b0e4f4a88bd1653123fcd2bc1e655dd1c2afaf9f473b217cbd3a 2157 
libcmis_0.5.2-2.dsc
 394b2072a5b5b858ea7e025b04bc5ea416a1ffb50878a56ef510242842319b51 4652 
libcmis_0.5.2-2.debian.tar.xz
 c3045f76c5ea0dc1f0cf6b4b5d4bb941a5d54f58ee9d318d282275bc6932f5ce 8122 
libcmis_0.5.2-2_source.buildinfo
Files:
 27ea1a3bc87ef74f60c0b736e08ee2ae 2157 libs optional libcmis_0.5.2-2.dsc
 4c17cfc3d0f7fbbb6551958251cd6959 4652 libs optional 
libcmis_0.5.2-2.debian.tar.xz
 6991a22cfccb7ef0f9131fb9d87e9773 8122 libs optional 
libcmis_0.5.2-2_source.buildinfo

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

iQJEBAEBCgAuFiEE4S3qRnUGcM+pYIAdCqBFcdA+PnAFAl6WwQsQHHJlbmVAZGVi
aWFuLm9yZwAKCRAKoEVx0D4+cLvtEACv92on5YfCc5FWRiP+6z7xv2J1VK6j1up7
TvKi+sSncaAlvsVsxN1m9Y4kcNczpYg7NIra1OwI1AJj49vcTczjUMtayb+7Ha64
cXov6S6VdDD34pkw04QodwvqWojOQohI2gl+Eb4sHk7QWk3h0c95nkEhA1s3MR2Z
YAgg4yfK5pyWobJQQgQLAdya0p5eSzfCVyZsYuyOXobWrAuRIZxWnCIuJY3h0TEs
/2225++YgyzVmXWxJGAeMM7pm2xWT84OCNm2DH2ByHMsCVBTGzq/Zawlk+R5yK76
KXoO+de+RgaQxU/I2+z3K7CO/ZYkhhu2zT5Kdw2VaNCpA/9cSnYGkFj2THMjk0Wz
9zynjuzPKw87lQlnZuNRLcYz44UDjdhfddq7XxhgK5lPDnaenK+Gs6Ge9ix0/iva
eN0gamw+nxB5Bezy5auTQKH55GYmlIyqpu6CJnvP6QEzUiA7+y3dYk8HRClQ5NsJ
SvTxRa2YJe64cp7PmFt4JxXNPKxWxjKaft9UqCo7rZwUCXGKuZ+jyF4gN17ddUWN
S59fuIoTrN/tMQHbYIAvFzNqb6Vwmbfkh+E/K0ZCLk6jafWkZVBWZAd54LOERofO
hpjiYzvpc33jQJj+dJ/elNqPE3T8+eFBkTzWmOMQHpCF1CAYEF9zwazlp1Q/YRgt
5ax3i8qnMg==
=KPk7
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to