Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 666578 - games-simulation/openttd-1.8.0[icu] with >=dev-libs/icu-62.1: src/gfx_layout.h:71:29: error: expected class-name before ‘{’ token class Font ICU_FONTINSTANCE {
Summary: games-simulation/openttd-1.8.0[icu] with >=dev-libs/icu-62.1: src/gfx_layout....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: icu-61
  Show dependency tree
 
Reported: 2018-09-19 18:53 UTC by Stefan Strogin
Modified: 2018-09-21 11:37 UTC (History)
0 users

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


Attachments
build.log (build.log,262.77 KB, text/plain)
2018-09-19 18:53 UTC, Stefan Strogin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Strogin gentoo-dev 2018-09-19 18:53:04 UTC
Created attachment 547346 [details]
build.log

Upgrade of icu caused rebuilding of openttd.

It failed with:

In file included from /var/tmp/portage/games-simulation/openttd-1.8.0/work/openttd-1.8.0/src/fontcache.cpp:20:
/var/tmp/portage/games-simulation/openttd-1.8.0/work/openttd-1.8.0/src/gfx_layout.h:71:29: error: expected class-name before ‘{’ token
 class Font ICU_FONTINSTANCE {
                             ^
make[1]: *** [Makefile:235: fontcache.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/var/tmp/portage/games-simulation/openttd-1.8.0/work/openttd-1.8.0/objs/release'
make: *** [Makefile:56: all] Error 1
Comment 1 Stefan Strogin gentoo-dev 2018-09-19 18:54:07 UTC
See also: https://github.com/OpenTTD/OpenTTD/issues/6854
Comment 2 Larry the Git Cow gentoo-dev 2018-09-21 11:37:12 UTC
The bug has been closed via the following commit(s):

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

commit d0c2fcd0affe96e988eefb31f7c561d6fc12a3af
Author:     Stefan Strogin <stefan.strogin@gmail.com>
AuthorDate: 2018-09-19 21:01:44 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2018-09-21 11:37:05 +0000

    games-simulation/openttd: fix compilation with icu-62.1
    
    Closes: https://bugs.gentoo.org/666578
    Package-Manager: Portage-2.3.49, Repoman-2.3.10
    Signed-off-by: Stefan Strogin <stefan.strogin@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/9922

 .../openttd/files/openttd-1.8.0-icu62.patch        | 99 ++++++++++++++++++++++
 games-simulation/openttd/openttd-1.8.0.ebuild      |  1 +
 2 files changed, 100 insertions(+)