Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 833891 - media-libs/harfbuzz-3.4.0[icu] fails to build: <command-line>: error: token "=" is not valid in preprocessor expressions
Summary: media-libs/harfbuzz-3.4.0[icu] fails to build: <command-line>: error: token "...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-22 13:48 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2022-02-22 14:08 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis 2022-02-22 13:48:42 UTC
> [68/86] x86_64-pc-linux-gnu-g++ -Isrc/libharfbuzz-icu.so.0.30400.0.p -Isrc -I../harfbuzz-3.4.0/src -I. -I../harfbuzz-3.4.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -fno-rtti -fno-exceptions -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden '-DU_DISABLE_RENAMING=1 -DUCONFIG_ENABLE_PLUGINS=1' -DHAVE_CONFIG_H -march=native -O2 -fno-ident -frecord-gcc-switches -fstack-clash-protection -fstack-protector-all -mfunction-return=thunk -mindirect-branch=thunk -mindirect-branch-register -pipe -Wall -Werror=terminate -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_CONCEPT_CHECKS -std=c++14 -DHB_NDEBUG -fPIC -Wno-non-virtual-dtor -MD -MQ src/libharfbuzz-icu.so.0.30400.0.p/hb-icu.cc.o -MF src/libharfbuzz-icu.so.0.30400.0.p/hb-icu.cc.o.d -o src/libharfbuzz-icu.so.0.30400.0.p/hb-icu.cc.o -c ../harfbuzz-3.4.0/src/hb-icu.cc
> FAILED: src/libharfbuzz-icu.so.0.30400.0.p/hb-icu.cc.o 
> x86_64-pc-linux-gnu-g++ -Isrc/libharfbuzz-icu.so.0.30400.0.p -Isrc -I../harfbuzz-3.4.0/src -I. -I../harfbuzz-3.4.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++11 -fno-rtti -fno-exceptions -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden '-DU_DISABLE_RENAMING=1 -DUCONFIG_ENABLE_PLUGINS=1' -DHAVE_CONFIG_H -march=native -O2 -fno-ident -frecord-gcc-switches -fstack-clash-protection -fstack-protector-all -mfunction-return=thunk -mindirect-branch=thunk -mindirect-branch-register -pipe -Wall -Werror=terminate -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_CONCEPT_CHECKS -std=c++14 -DHB_NDEBUG -fPIC -Wno-non-virtual-dtor -MD -MQ src/libharfbuzz-icu.so.0.30400.0.p/hb-icu.cc.o -MF src/libharfbuzz-icu.so.0.30400.0.p/hb-icu.cc.o.d -o src/libharfbuzz-icu.so.0.30400.0.p/hb-icu.cc.o -c ../harfbuzz-3.4.0/src/hb-icu.cc
> <command-line>: error: token "=" is not valid in preprocessor expressions
> <command-line>: error: token "=" is not valid in preprocessor expressions
> ninja: build stopped: subcommand failed.


Details in:
https://github.com/harfbuzz/harfbuzz/issues/3450

Upstream fix:
https://github.com/harfbuzz/harfbuzz/commit/256dcde149737246a04cfc0fe388cb91acb65522
Comment 1 Larry the Git Cow gentoo-dev 2022-02-22 14:08:42 UTC
The bug has been closed via the following commit(s):

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

commit c72a13073780ea98361cd36b80cb002058a7b21e
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2022-02-22 14:07:23 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2022-02-22 14:07:23 +0000

    media-libs/harfbuzz: Revbump to handle multiple element ICU DEFS
    
    Closes: https://bugs.gentoo.org/833891
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 .../files/harfbuzz-3.4.0-multiple_icu_defs.patch   | 24 ++++++++++++++++++++++
 ...fbuzz-3.4.0.ebuild => harfbuzz-3.4.0-r1.ebuild} |  4 ++++
 2 files changed, 28 insertions(+)