Summary: | app-text/sword-1.7.4 with GCC <6 fails to build with ICU >=59 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Theology Herd (disbanded) <theology+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 620046 | ||
Attachments: |
emerge-info.txt
app-text:sword-1.7.4:20170517-125005.log config.log.tbz2 emerge-history.txt environment etc.portage.tbz2 temp.tbz2 |
Description
Toralf Förster
![]() Created attachment 473002 [details]
emerge-info.txt
Created attachment 473004 [details]
app-text:sword-1.7.4:20170517-125005.log
Created attachment 473006 [details]
config.log.tbz2
Created attachment 473008 [details]
emerge-history.txt
Created attachment 473010 [details]
environment
Created attachment 473012 [details]
etc.portage.tbz2
Created attachment 473014 [details]
temp.tbz2
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. /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/include -DUSE_AUTOTOOLS -DUNIX -Dunix -D__unix__ -DSWICU_DATA=\"/usr/lib64/sword/1.7.4_icu_\" -D_FTPLIB_NO_COMPAT -fPIC -D_ICU_ -O2 -pipe -march=native -c -o swmgr.lo `test -f '../src/mgr/swmgr.cpp' || echo './'`../src/mgr/swmgr.cpp libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/include -DUSE_AUTOTOOLS -DUNIX -Dunix -D__unix__ -DSWICU_DATA=\"/usr/lib64/sword/1.7.4_icu_\" -D_FTPLIB_NO_COMPAT -fPIC -D_ICU_ -O2 -pipe -march=native -c ../src/mgr/swmgr.cpp -fPIC -DPIC -o .libs/swmgr.o In file included from /usr/include/unicode/utypes.h:38:0, from /usr/include/unicode/unistr.h:32, from ../include/utf8transliterator.h:41, from ../src/mgr/swmgr.cpp:102: /usr/include/unicode/umachine.h:347:13: error: 'char16_t' does not name a type typedef char16_t UChar; ^ ... The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=543adb508b78e2abcb84ff47cb8f7f8bb927e10b commit 543adb508b78e2abcb84ff47cb8f7f8bb927e10b 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:08 +0000 app-text/sword: Always build in C++14 mode Closes: https://bugs.gentoo.org/618776 Package-Manager: Portage-2.3.24, Repoman-2.3.6 app-text/sword/sword-1.7.4-r1.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) |