[Fontconfig-bugs] [Bug 101280] Build failure with 2.12.3
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Feb 27 15:30:28 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=101280
Gab <tzpfzdjwjt at justnowmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |---
--- Comment #18 from Gab <tzpfzdjwjt at justnowmail.com> ---
The version 2.12.6 of Fontconfig still has this problem of conflicting types of
parameters of the functions FcObjectTypeHash() and FcObjectTypeLookup(), if
compiled in a directory other than the directory "fontconfig-2.12.6".
I obtained the source from
https://www.freedesktop.org/software/fontconfig/release/fontconfig-2.12.6.tar.gz
### I did the following
mkdir fontconfig-2.12.6-build
cd fontconfig-2.12.6-build
../fontconfig-2.12.6/configure
make
### Actual Result
The "make" was terminated with the following error messages.
In file included from fontconfig-2.12.6/src/fcobjs.c:33:
fcobjshash.gperf:28:1: error: conflicting types for 'FcObjectTypeHash'
FcObjectTypeHash (register const char *str, register size_t len)
^
fontconfig-2.12.6/src/fcobjs.c:28:1: note: previous declaration is here
FcObjectTypeHash (register const char *str, register FC_GPERF_SIZE_T len);
^
In file included from fontconfig-2.12.6/src/fcobjs.c:33:
fcobjshash.gperf:166:1: error: conflicting types for 'FcObjectTypeLookup'
FcObjectTypeLookup (register const char *str, register size_t len)
^
fontconfig-2.12.6/src/fcobjs.c:31:1: note: previous declaration is here
FcObjectTypeLookup (register const char *str, register FC_GPERF_SIZE_T len);
^
2 errors generated.
make[3]: *** [fcobjs.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
### Workaround
By configuring and compiling in the directory "fontconfig-2.12.6" instead of
"fontconfig-2.12.6-build", this problem of conflicting types can be avoided,
and the "make" successfully completes.
rm -r fontconfig-2.12.6-build
rm -r fontconfig-2.12.6
tar -xpf fontconfig-2.12.6.tar.gz
cd fontconfig-2.12.6
./configure
make
### Environment
Fontconfig 2.12.6
Mac OS X
Intel 64-bit
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/fontconfig-bugs/attachments/20180227/6e425aa1/attachment.html>
More information about the Fontconfig-bugs
mailing list