Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #859416

Bug#879972: firebird3.0: FTBFS with icu59, simple workaround/patch attached

From Adam Conrad <adconrad@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#879972: firebird3.0: FTBFS with icu59, simple workaround/patch attached
Date 2017-10-27 21:10 +0200
Message-ID <uFib0-7VT-17@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Package: firebird3.0
Version: 3.0.2.32703.ds4-11
Severity: important
Tags: patch
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu bionic ubuntu-patch



In Ubuntu, the attached patch was applied to achieve the following:

  * Define UCHAR_TYPE=uint16_t to avoid C++11 and fix FTBFS with icu59.

So, here's what's happening.  In icu59, UChar is defined as char16_t if
you're compiling a C++ project (ie: ifdef __cplusplus), but char16_t is
a C++11 type.  One could argue this is an ICU bug for forcing rdeps to
conform to a newer C++ standard (and one could even win that argument,
I imagine), but I figured working around it in firebird was the path of
least resistance.

My first attempt was to change the firebird build from std=gnu++98 to
std=gnu++11.  Don't do that.  I mean, try if you want, but it does not
end well.

This patch just tells icu to use the same type for UChar that it used to
and it seems to do the trick here.  So, enjoy.

... Adam


-- System Information:
Debian Release: buster/sid
  APT prefers bionic
  APT policy: (500, 'bionic')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.13.0-16-lowlatency (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_CA:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#879972: firebird3.0: FTBFS with icu59, simple workaround/patch attached Adam Conrad <adconrad@debian.org> - 2017-10-27 21:10 +0200

csiph-web