Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 618774 - dev-db/firebird-3.0.2.32703.0: with GCC <6 fails to build with ICU >=59
Summary: dev-db/firebird-3.0.2.32703.0: with GCC <6 fails to build with ICU >=59
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: icu-59-gcc-5
  Show dependency tree
 
Reported: 2017-05-17 16:36 UTC by Toralf Förster
Modified: 2018-02-19 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,5.44 KB, text/plain)
2017-05-17 16:36 UTC, Toralf Förster
Details
config.log.tbz2 (config.log.tbz2,18.83 KB, application/x-bzip)
2017-05-17 16:36 UTC, Toralf Förster
Details
dev-db:firebird-2.5.7.27050.0:20170517-111418.log (dev-db:firebird-2.5.7.27050.0:20170517-111418.log,122.51 KB, text/plain)
2017-05-17 16:36 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,29.02 KB, text/plain)
2017-05-17 16:36 UTC, Toralf Förster
Details
environment (environment,137.74 KB, text/plain)
2017-05-17 16:36 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,21.16 KB, application/x-bzip)
2017-05-17 16:36 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,45.43 KB, application/x-bzip)
2017-05-17 16:36 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-05-17 16:36:12 UTC
 typedef UChar (U_CALLCONV *UNESCAPE_CHAR_AT)(int32_t offset, void *context);
               ^
/usr/include/unicode/ustring.h:1025:28: error: ‘UNESCAPE_CHAR_AT’ was not declared in this scope
 typedef UChar (U_CALLCONV *UNESCAPE_CHAR_AT)(int32_t offset, void *context);
                            ^

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: desktop-gcc5_20170516-214204

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-5.4.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby21 (with Rubygems)
  [2]   ruby22 (with Rubygems) *
Comment 1 Toralf Förster gentoo-dev 2017-05-17 16:36:15 UTC
Created attachment 472988 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-05-17 16:36:19 UTC
Created attachment 472990 [details]
config.log.tbz2
Comment 3 Toralf Förster gentoo-dev 2017-05-17 16:36:23 UTC
Created attachment 472992 [details]
dev-db:firebird-2.5.7.27050.0:20170517-111418.log
Comment 4 Toralf Förster gentoo-dev 2017-05-17 16:36:27 UTC
Created attachment 472994 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2017-05-17 16:36:30 UTC
Created attachment 472996 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2017-05-17 16:36:34 UTC
Created attachment 472998 [details]
etc.portage.tbz2
Comment 7 Toralf Förster gentoo-dev 2017-05-17 16:36:37 UTC
Created attachment 473000 [details]
temp.tbz2
Comment 8 Arfrever Frehtes Taifersar Arahesis 2017-05-17 20:56:22 UTC
Usage of C++ API of ICU >=59 requires usage of C++ >=2011.
C++ 1998 is default in GCC <6.
C++ 2014 is default in GCC 6 and 7.
Ideally build system would add e.g. -std=c++11 or -std=c++14 to CXXFLAGS, but alternatively ebuild should add it.
Comment 9 Arfrever Frehtes Taifersar Arahesis 2017-05-17 20:59:17 UTC
x86_64-pc-linux-gnu-g++  -DBOOT_BUILD -I../src/include/gen -I../src/include -I../src/vulcan -DNAMESPACE=Vulcan -DFB_SEND_FLAGS=MSG_NOSIGNAL -DLINUX -DAMD64 -MMD -fPIC -fmessage-length=0 -pthread -O2 -pipe -march=native -fno-rtti -fno-rtti -fno-rtti  -c ../src/jrd/unicode_util.cpp -o ../temp/boot/jrd/unicode_util.o
In file included from /usr/include/unicode/utypes.h:38:0,
                 from /usr/include/unicode/ustring.h:21,
                 from ../src/jrd/unicode_util.cpp:40:
/usr/include/unicode/umachine.h:347:13: error: ‘char16_t’ does not name a type
     typedef char16_t UChar;
             ^
...
Comment 10 Larry the Git Cow gentoo-dev 2018-02-19 19:42:07 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6da7054dd7262e18d233537790d6b00669e3efc2

commit 6da7054dd7262e18d233537790d6b00669e3efc2
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2018-02-19 18:17:20 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2018-02-19 19:40:14 +0000

    dev-db/firebird: Always build in C++11 mode
    
    Closes: https://bugs.gentoo.org/618774
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-db/firebird/firebird-3.0.2.32703.0-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)