Unable to compile from scratch in Ubuntu 18.04 due fontconfig compilation error
Summary
Unable to build x86_64-linux-gnu depends
Steps to reproduce
git clone https://gitlab.crownplatform.com/crown/crown-core.git
cd crown-core
./autogen.sh
make USE_LINUX_STATIC_QT5=1 -C dependsExpected behavior
All the depends needed to build the wallet should be downloaded and compiled
Problematic behavior
Fails in fontconfig
...
  CC       fcmatch.lo
fcmatch.c:284:63: error: 'PRI_CHAR_WIDTH_STRONG' undeclared here (not in a function); did you mean 'PRI_WIDTH_STRONG'?
 #define FC_OBJECT(NAME, Type, Cmp) { FC_##NAME##_OBJECT, Cmp, PRI_##NAME##_STRONG, PRI_##NAME##_WEAK },
                                                               ^
fcobjs.h:54:1: note: in expansion of macro 'FC_OBJECT'
 FC_OBJECT (CHAR_WIDTH,  FcTypeInteger, NULL)
 ^~~~~~~~~
fcmatch.c:284:84: error: 'PRI_CHAR_WIDTH_WEAK' undeclared here (not in a function); did you mean 'PRI_WIDTH_WEAK'?
  FC_OBJECT(NAME, Type, Cmp) { FC_##NAME##_OBJECT, Cmp, PRI_##NAME##_STRONG, PRI_##NAME##_WEAK },
                                                                             ^
fcobjs.h:54:1: note: in expansion of macro 'FC_OBJECT'
 FC_OBJECT (CHAR_WIDTH,  FcTypeInteger, NULL)
 ^~~~~~~~~
Makefile:613: recipe for target 'fcmatch.lo' failedCrown-core environment info
Ubuntu 18.04
Crown-core application info
v0.13.4
Relevant logs, dumps and/or screenshots
(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code; it's very hard to read otherwise.)
Drop full logs & dumps here: https://nextcloud.crownplatform.com/index.php/s/Q6H8enXNmJsQYCD
Possible fixes
Matches https://github.com/zcoinofficial/zcoin/issues/790 Apparently it's a glibc compatibility issue.
All or some of https://github.com/zcoinofficial/zcoin/pull/792/commits might fix it.
/cc @artem
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
