Source: zypper Version: 1.14.11-2 Severity: serious Tags: experimental User: [email protected] Usertags: origin-ubuntu groovy
Hi Mike,
The zypper package fails to build from source with icu 66 and newer, such as
the icu 67 currently in Debian experimental:
[...]
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 /usr/include/augeas.h:24,
from /tmp/zypper-1.14.11/src/utils/Augeas.h:13,
from /tmp/zypper-1.14.11/src/Config.cc:20:
/usr/include/unicode/localpointer.h:67:1: error: template with C linkage
67 | template<typename T>
| ^~~~~~~~
In file included from /tmp/zypper-1.14.11/src/Config.cc:20:
/tmp/zypper-1.14.11/src/utils/Augeas.h:11:1: note: 'extern "C"' linkage started
here
11 | 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 /usr/include/augeas.h:24,
from /tmp/zypper-1.14.11/src/utils/Augeas.h:13,
from /tmp/zypper-1.14.11/src/Config.cc:20:
/usr/include/unicode/localpointer.h:190:1: error: template with C linkage
190 | template<typename T>
| ^~~~~~~~
In file included from /tmp/zypper-1.14.11/src/Config.cc:20:
/tmp/zypper-1.14.11/src/utils/Augeas.h:11:1: note: 'extern "C"' linkage started
here
11 | 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 /usr/include/augeas.h:24,
from /tmp/zypper-1.14.11/src/utils/Augeas.h:13,
from /tmp/zypper-1.14.11/src/Config.cc:20:
/usr/include/unicode/localpointer.h:365:1: error: template with C linkage
365 | template<typename T>
| ^~~~~~~~
In file included from /tmp/zypper-1.14.11/src/Config.cc:20:
/tmp/zypper-1.14.11/src/utils/Augeas.h:11:1: note: 'extern "C"' linkage started
here
11 | 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 /usr/include/augeas.h:24,
from /tmp/zypper-1.14.11/src/utils/Augeas.h:13,
from /tmp/zypper-1.14.11/src/Config.cc:20:
/usr/include/unicode/ucnv.h:585:1: error: conflicting declaration of C function
'void icu_67::swap(icu_67::LocalUConverterPointer&,
icu_67::LocalUConverterPointer&)'
585 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUConverterPointer, UConverter,
ucnv_close);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/unicode/uenum.h:68:1: note: previous declaration 'void
icu_67::swap(icu_67::LocalUEnumerationPointer&,
icu_67::LocalUEnumerationPointer&)'
68 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUEnumerationPointer, UEnumeration,
uenum_close);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
[...]
This build failure was identified in Ubuntu, where icu has moved to 66 by
default as of the Ubuntu 20.04 LTS release.
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer https://www.debian.org/
[email protected] [email protected]
signature.asc
Description: PGP signature

