Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 618674 - sci-geosciences/mapnik-3.0.9 with ICU >=59: src/unicode.cpp:47:91: error: return type ‘using value_unicode_string = struct icu::UnicodeString {aka struct icu::UnicodeString}’ is incomplete
Summary: sci-geosciences/mapnik-3.0.9 with ICU >=59: src/unicode.cpp:47:91: error: ret...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: icu-59
  Show dependency tree
 
Reported: 2017-05-16 17:00 UTC by Toralf Förster
Modified: 2017-11-02 19:09 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,6.05 KB, text/plain)
2017-05-16 17:00 UTC, Toralf Förster
Details
config.log.tbz2 (config.log.tbz2,2.46 KB, application/x-bzip)
2017-05-16 17:00 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,159.66 KB, text/plain)
2017-05-16 17:00 UTC, Toralf Förster
Details
environment (environment,86.56 KB, text/plain)
2017-05-16 17:00 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,23.32 KB, application/x-bzip)
2017-05-16 17:00 UTC, Toralf Förster
Details
sci-geosciences:mapnik-3.0.9:20170516-100528.log (sci-geosciences:mapnik-3.0.9:20170516-100528.log,275.60 KB, text/plain)
2017-05-16 17:00 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,30.55 KB, application/x-bzip)
2017-05-16 17:00 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-16 17:00:33 UTC
x86_64-pc-linux-gnu-g++ -o src/unicode.os -c -std=c++11 -Wall -pthread -ftemplate-depth-300 -Wsign-compare -Wshadow -Werror=terminate -O2 -pipe -march=native -fPIC -DMAPNIK_MEMORY_MAPPED_FILE -DMAPNIK_HAS_DLCFN -DBIGINT -DHAVE_JPEG -DMAPNIK_USE_PROJ4 -DHAVE_PNG -DHAVE_WEBP -DHAVE_TIFF -DLINUX -DMAPNIK_THREADSAFE -DBOOST_SPIRIT_NO_PREDEFINED_TERMINALS=1 -DBOOST_PHOENIX_NO_PREDEFINED_TERMINALS=1 -DBOOST_SPIRIT_USE_PHOENIX_V3=1 -DNDEBUG -DHAVE_CAIRO -DGRID_RENDERER -DHAVE_LIBXML2 -Ideps -Ideps/agg/include -Iinclude -I/usr/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/libpng16 src/unicode.cpp
src/unicode.cpp: In member function ‘mapnik::value_unicode_string mapnik::transcoder::transcode(const char*, int32_t) const’:
src/unicode.cpp:47:91: error: return type ‘using value_unicode_string = struct icu::UnicodeString {aka struct icu::UnicodeString}’ is incomplete
 icode_string transcoder::transcode(const char* data, std::int32_t length) const
                                                                           ^~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: gnome_20170512-200701

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-6.3.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) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.3.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
Comment 1 Toralf Förster gentoo-dev 2017-05-16 17:00:36 UTC
Created attachment 472826 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-05-16 17:00:39 UTC
Created attachment 472828 [details]
config.log.tbz2
Comment 3 Toralf Förster gentoo-dev 2017-05-16 17:00:42 UTC
Created attachment 472830 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-05-16 17:00:45 UTC
Created attachment 472832 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-05-16 17:00:48 UTC
Created attachment 472834 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-05-16 17:00:51 UTC
Created attachment 472836 [details]
sci-geosciences:mapnik-3.0.9:20170516-100528.log
Comment 7 Toralf Förster gentoo-dev 2017-05-16 17:00:55 UTC
Created attachment 472838 [details]
temp.tbz2
Comment 8 Arfrever Frehtes Taifersar Arahesis 2017-05-16 18:58:39 UTC
unicode/unistr.h header needs to be included for icu::UnicodeString.
Comment 9 calimeroteknik 2017-10-25 19:23:23 UTC
Upstream bug and patch proposal:
https://github.com/mapnik/mapnik/issues/3729#issuecomment-316189052
Comment 10 Arfrever Frehtes Taifersar Arahesis 2017-10-26 00:52:48 UTC
Fix actually applied by upstream:
https://github.com/mapnik/mapnik/commit/9e58c890430db6f0b6f1f7a1690877c9d913d92a
Comment 11 Larry the Git Cow gentoo-dev 2017-11-02 19:09:14 UTC
The bug has been closed via the following commit(s):

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

commit aa58770021c587f3a16b4bb9dbb6621dc9da4be6
Author:     Amy Liffey <amynka@gentoo.org>
AuthorDate: 2017-11-02 19:04:06 +0000
Commit:     Amy Liffey <amynka@gentoo.org>
CommitDate: 2017-11-02 19:06:54 +0000

    sci-geosciences/mapnik: fix icu and libs
    
    Submitted-by: calimeroteknik@free.fr
    
    Closes:https://bugs.gentoo.org/618674
    Closes:https://bugs.gentoo.org/630948
    
    Package-Manager: Portage-2.3.8, Repoman-2.3.1

 .../mapnik-3.0.9-harbuzz_sharper-upstream.patch    |  25 +++++
 .../files/mapnik-3.0.9-unicode-upstream.patch      |  11 +++
 sci-geosciences/mapnik/mapnik-3.0.9-r1.ebuild      | 107 +++++++++++++++++++++
 3 files changed, 143 insertions(+)