Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 526694 - app-text/sword-1.7.3 - In file included from ../src/mgr/swmgr.cpp:102: /usr/include/unicode/umachine.h:306:13: error: 'char16_t' does not name a type
Summary: app-text/sword-1.7.3 - In file included from ../src/mgr/swmgr.cpp:102: /usr/i...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL: https://bugs.funtoo.org/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-25 03:03 UTC by Patrick McMunn
Modified: 2014-10-27 21:17 UTC (History)
0 users

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


Attachments
sword-1.7.3.build.log (sword-1.7.3.build.log,85.25 KB, text/plain)
2014-10-26 23:35 UTC, Patrick McMunn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick McMunn 2014-10-25 03:03:23 UTC
If dev-libs/icu is built with the c++11 USE flag enabled, compilation of app-txt/sword-1.7.3 or app-text/sword-1.7.2 will fail with numerous errors about unicode. Compilation of sword will complete successfully if --with-cxx11regex is passed to sword's configure script. So perhaps app-text/sword should have a c++11 USE flag added which must be in sync with dev-libs/icu's c++11 USE flag.



Reproducible: Always

Steps to Reproduce:
1. USE="c++11" emerge dev-libs/icu
2. emerge app-text/sword
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-25 07:03:51 UTC
1) Please post your `emerge --info' output in a comment.
2) Please attach the entire build log to this bug report.
Comment 2 Patrick McMunn 2014-10-26 23:33:02 UTC
Portage 2.3.6-r9 (default/linux/x86/2008.0/desktop, gcc-4.9.0-alpha20141015, glibc-2.18-r1, 3.17.1-gentoo-r1 i686)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.17.1-gentoo-r1-i686-AMD_Athlon-TM-_XP_2200+-with-gentoo-2.2.0
KiB Mem:     1542128 total,    454620 free
KiB Swap:    2353516 total,   1971952 free
Timestamp of tree: Unknown
ld GNU ld (GNU Binutils) 2.23.2
distcc 3.2rc1 i686-pc-linux-gnu [disabled]
ccache version 3.1.10 [disabled]
app-shells/bash:          4.2_p53
dev-java/java-config:     2.2.0-r1000
dev-lang/perl:            5.20.1-r1
dev-lang/python:          2.7.8-r1000, 3.3.5-r1000
dev-util/ccache:          3.1.10
dev-util/cmake:           3.0.2
sys-apps/baselayout:      2.2.0-r6
sys-apps/openrc:          0.12.3-r3
sys-apps/sandbox:         2.6-r2
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.13.4, 1.14
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.9.0_alpha20140430::toolchain, 4.9.0_alpha20141015::toolchain
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.18-r1
Repositories: gentoo bibletime gamerlay gentoo-guis gentoo-haskell java lisp lua moonrise multimedia mysql paddymac perl-experimental Loux-s-Portage proaudio ruby sugar sunrise x11 steam-overlay toolchain vdr-devel hasufell crossdev local gentoo-ogre3d-tools
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/fax /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/var/src/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n"
FEATURES="assume-digests binpkg-logs candy collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync mini-manifest multilib-strict news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv xattr"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US UTF-8"
MAKEOPTS="-j1"
PKGDIR="/var/cache/portage/packages"
PORTAGE_COMPRESS="bzip2"
PORTAGE_COMPRESS_FLAGS="-9"
PORTAGE_CONFIGROOT="/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/cache/portage"
PORTDIR_OVERLAY="/var/lib/layman/bibletime /var/lib/layman/gamerlay /var/lib/layman/gentoo-guis /var/lib/layman/haskell /var/lib/layman/java /var/lib/layman/lisp /var/lib/layman/lua /var/lib/layman/moonrise /var/lib/layman/multimedia /var/lib/layman/mysql /var/lib/layman/paddymac /var/lib/layman/perl-experimental /var/lib/layman/planeshift /var/lib/layman/pro-audio /var/lib/layman/ruby /var/lib/layman/sugar /var/lib/layman/sunrise /var/lib/layman/x11 /var/lib/layman/steam /var/lib/layman/toolchain /var/lib/layman/vdr-devel /var/lib/layman/hasufell /var/lib/layman/crossdev /var/lib/layman/local /var/lib/layman/gentoo-ogre3d-tools"
SYNC="git://github.com/funtoo/ports-2012.git"
SYNC_USER="root"
USE="3dnow 3dnowext X a52 aac aalib acl alsa ao apng avahi bash-completion berkdb bluray bs2b bzip2 c++11 cairo caps cdda cddb cdr cjk colord consolekit cracklib crypt cups curl cxx dbus dga dirac dri dts dv dvb dvd dvdr dvdread egl fbcon fdk ffmpeg flac fluidsynth fontconfig ftp gd gdbm ggi gif gmp gpg gphoto2 gpm graphviz gsm gstreamer gtk gtk3 highlight http iconv icu idn imagemagick introspection ios ipv6 jack java javascript jbig jemalloc joystick jpeg jpeg2k kate kde kipi ladspa lame lcms libass libcaca libnotify libproxy libsamplerate lm_sensors logrotate lua lzma lzo mad midi mms mmx mmxext mng modplug modules mp3 mpeg mpi mtp mudflap musepack mysql ncurses networkmanager nls nptl nsplugin ogg openal opengl openmp osmesa pam pcre pdf png policykit postproc pppd pulseaudio pvr python qt4 quicktime rar readline resolvconf schroedinger sdl semantic-desktop sftp sid sndfile speex spell sse ssl startup-notification svg svga taglib tcpd telepathy tga theora tiff timidity truetype twolame udev udisks unicode upnp usb v4l vaapi vcd vdpau video vim-syntax vlc vnc vorbis vpx wavpack wayland webkit webp win32codecs wxwidgets x264 x86 xattr xft xinerama xml xscreensaver xv xvid zeroconf zip zlib" ABI_X86="32" ALSA_CARDS="cmipci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias authn_core authz_core socache_shmcb unixd" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev joystick keyboard mouse wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US UTF-8" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_ABIS="2.7 3.3 pypy" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="i386" QEMU_USER_TARGETS="i386" RUBY_TARGETS="ruby20 ruby21" SANE_BACKENDS="pixma" USERLAND="GNU" VIDEO_CARDS="fbdev radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, SYNC_UMASK
Comment 3 Patrick McMunn 2014-10-26 23:35:12 UTC
Created attachment 387480 [details]
sword-1.7.3.build.log
Comment 4 Patrick McMunn 2014-10-26 23:43:52 UTC
Just a little additional info. I have been updating my system using -flto in my compiler flags. When I hit this error, I recompiled dev-libs/icu without -flto to ensure that this wasn't a factor in the issue. Nothing changed. In fact, I think I hit this same issue a few months ago with an earlier version and just ended up recompiling dev-libs/icu without c++11 to work around the issue. I'll be happy to recompile dev-libs/icu without c++11 again to verify that indeed resolves the issue.
Comment 5 Patrick McMunn 2014-10-27 01:31:23 UTC
Just to follow up, I did recompile dev-libs/icu without c++11 support, and then I compiled app-text/sword-1.7.3 and dev-qt/qtcore-4.8.5-r2 (which was also failing with the same errors) successfully.
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-27 13:08:20 UTC
Portage 2.3.6-r9

Wrong distro. Also, USE=c++11 does not exist.
Comment 7 Patrick McMunn 2014-10-27 21:17:48 UTC
Ah. I apologize. I thought the dev-libs/icu ebuild was from Gentoo Portage. It looks like it was from Progress overlay.