[Fontconfig] fixes in 2.13

Eduard Braun eduard.braun2 at gmx.de
Thu Mar 1 20:59:42 UTC 2018


Am 01.03.2018 um 11:35 schrieb Akira TAGOH:
> Hi,
>
> I'm planning to release 2.13 tthis weekend or early next week. please
> let me know if anything else needs to be fixed in 2.13.
>
> Regards,

When building 0.92.3 using MSYS2's mingw-w64 toolchain I'm getting 
linker errors like:
fcarch.o:fcarch.c:(.text.startup+0x18): undefined reference to `__printf__'

They seem to be related to gettext somehow as configuring with 
--disable-nls works.

Build logs are attached.

Regards,
Eduard
-------------- next part --------------
configure: loading site script /etc/config.site
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for x86_64-w64-mingw32-gcc... x86_64-w64-mingw32-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-w64-mingw32-gcc accepts -g... yes
checking for x86_64-w64-mingw32-gcc option to accept ISO C89... none needed
checking whether x86_64-w64-mingw32-gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of x86_64-w64-mingw32-gcc... gcc3
checking how to run the C preprocessor... x86_64-w64-mingw32-gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking whether ln -s works... no, using cp -pR
checking whether make sets $(MAKE)... (cached) yes
checking for x86_64-w64-mingw32-pkg-config... /mingw64/bin/x86_64-w64-mingw32-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for RM macro... rm -f
checking build system type... x86_64-w64-mingw32
checking host system type... x86_64-w64-mingw32
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by x86_64-w64-mingw32-gcc... C:/msys64/mingw64/x86_64-w64-mingw32/bin/ld.exe
checking if the linker (C:/msys64/mingw64/x86_64-w64-mingw32/bin/ld.exe) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /mingw64/bin/nm -B
checking the name lister (/mingw64/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 8192
checking how to convert x86_64-w64-mingw32 file names to x86_64-w64-mingw32 format... func_convert_file_msys_to_w32
checking how to convert x86_64-w64-mingw32 file names to toolchain format... func_convert_file_msys_to_w32
checking for C:/msys64/mingw64/x86_64-w64-mingw32/bin/ld.exe option to reload object files... -r
checking for x86_64-w64-mingw32-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL
checking for x86_64-w64-mingw32-dlltool... no
checking for dlltool... dlltool
checking how to associate runtime and link libraries... func_cygming_dll_for_implib
checking for x86_64-w64-mingw32-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for x86_64-w64-mingw32-strip... no
checking for strip... strip
checking for x86_64-w64-mingw32-ranlib... no
checking for ranlib... ranlib
checking command to parse /mingw64/bin/nm -B output from x86_64-w64-mingw32-gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for x86_64-w64-mingw32-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... no
checking for x86_64-w64-mingw32-as... no
checking for as... as
checking for x86_64-w64-mingw32-dlltool... dlltool
checking for x86_64-w64-mingw32-objdump... objdump
checking for objdir... .libs
checking if x86_64-w64-mingw32-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-w64-mingw32-gcc option to produce PIC... -DDLL_EXPORT -DPIC
checking if x86_64-w64-mingw32-gcc PIC flag -DDLL_EXPORT -DPIC works... yes
checking if x86_64-w64-mingw32-gcc static flag -static works... yes
checking if x86_64-w64-mingw32-gcc supports -c -o file.o... yes
checking if x86_64-w64-mingw32-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-w64-mingw32-gcc linker (C:/msys64/mingw64/x86_64-w64-mingw32/bin/ld.exe) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether NLS is requested... yes
checking for msgfmt... /mingw64/bin/msgfmt
checking for gmsgfmt... /mingw64/bin/msgfmt
checking for xgettext... /mingw64/bin/xgettext
checking for msgmerge... /mingw64/bin/msgmerge
checking for ld used by x86_64-w64-mingw32-gcc... C:/msys64/mingw64/x86_64-w64-mingw32/bin/ld.exe
checking if the linker (C:/msys64/mingw64/x86_64-w64-mingw32/bin/ld.exe) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... no
checking for iconv... yes
checking for working iconv... yes
checking how to link with libiconv... /mingw64/lib/libiconv.dll.a -L/mingw64/lib
checking for GNU gettext in libintl... yes
checking whether to use NLS... yes
checking where the gettext function comes from... external libintl
checking how to link with libintl... /mingw64/lib/libintl.dll.a -L/mingw64/lib
checking for lib.exe... no
checking whether __SUNPRO_C is declared... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/statvfs.h usability... no
checking sys/statvfs.h presence... no
checking for sys/statvfs.h... no
checking sys/vfs.h usability... no
checking sys/vfs.h presence... no
checking for sys/vfs.h... no
checking sys/statfs.h usability... no
checking sys/statfs.h presence... no
checking for sys/statfs.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/mount.h usability... no
checking sys/mount.h presence... no
checking for sys/mount.h... no
checking for stdint types... stdint.h (shortcircuit)
make use of stdint.h in src/fcstdint.h (assuming C99 compatible system)
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for flexible array members... yes
checking for pid_t... yes
checking for vprintf... yes
checking for _doprnt... no
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... no
checking for link... no
checking for mkstemp... yes
checking for mkostemp... no
checking for _mktemp_s... yes
checking for mkdtemp... no
checking for getopt... yes
checking for getopt_long... yes
checking for getprogname... no
checking for getexecname... no
checking for rand... yes
checking for random... no
checking for lrand48... no
checking for random_r... no
checking for rand_r... no
checking for readlink... no
checking for fstatvfs... no
checking for fstatfs... no
checking for lstat... no
checking for posix_fadvise in fcntl.h... no
checking for struct stat.st_mtim... no
checking for struct dirent.d_type... no
checking The type of len parameter of gperf hash/lookup function... size_t
checking for a usable iconv... libiconv
checking for FREETYPE... yes
checking for FT_Get_BDF_Property... yes
checking for FT_Get_PS_Font_Info... yes
checking for FT_Has_PS_Glyph_Names... yes
checking for FT_Get_X11_Font_Format... yes
checking for FT_Done_MM_Var... yes
checking for EXPAT... yes
checking expat.h usability... yes
checking expat.h presence... yes
checking for expat.h... yes
checking for XML_SetDoctypeDeclHandler... yes
checking for Intel atomic primitives... true
checking for Solaris atomic operations... false
checking for docbook2html... no
checking whether byte ordering is bigendian... no
checking size of void *... 8
checking alignment of double... 8
checking alignment of void *... 8
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating fontconfig/Makefile
config.status: creating fc-lang/Makefile
config.status: creating fc-case/Makefile
config.status: creating src/Makefile
config.status: creating conf.d/Makefile
config.status: creating fc-cache/Makefile
config.status: creating fc-cat/Makefile
config.status: creating fc-conflist/Makefile
config.status: creating fc-list/Makefile
config.status: creating fc-match/Makefile
config.status: creating fc-pattern/Makefile
config.status: creating fc-query/Makefile
config.status: creating fc-scan/Makefile
config.status: creating fc-validate/Makefile
config.status: creating doc/Makefile
config.status: creating doc/version.sgml
config.status: creating its/Makefile
config.status: creating po/Makefile.in
config.status: creating po-conf/Makefile.in
config.status: creating test/Makefile
config.status: creating fontconfig.spec
config.status: creating fontconfig.pc
config.status: creating fontconfig-zip
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: creating po-conf/POTFILES
config.status: creating po-conf/Makefile
config.status: executing src/fcstdint.h commands
config.status: creating src/fcstdint.h : _FONTCONFIG_SRC_FCSTDINT_H
make  all-recursive
make[1]: Verzeichnis „/e/Temp/MSYS2/MINGW-packages/mingw-w64-fontconfig/src/build-x86_64-w64-mingw32“ wird betreten
Making all in fontconfig
make[2]: Verzeichnis „/e/Temp/MSYS2/MINGW-packages/mingw-w64-fontconfig/src/build-x86_64-w64-mingw32/fontconfig“ wird betreten
make[2]: Für das Ziel „all“ ist nichts zu tun.
make[2]: Verzeichnis „/e/Temp/MSYS2/MINGW-packages/mingw-w64-fontconfig/src/build-x86_64-w64-mingw32/fontconfig“ wird verlassen
Making all in fc-case
make[2]: Verzeichnis „/e/Temp/MSYS2/MINGW-packages/mingw-w64-fontconfig/src/build-x86_64-w64-mingw32/fc-case“ wird betreten
  GEN      fcalias.h
  GEN      fcaliastail.h
make  all-am
make[3]: Verzeichnis „/e/Temp/MSYS2/MINGW-packages/mingw-w64-fontconfig/src/build-x86_64-w64-mingw32/fc-case“ wird betreten
make[3]: Für das Ziel „all-am“ ist nichts zu tun.
make[3]: Verzeichnis „/e/Temp/MSYS2/MINGW-packages/mingw-w64-fontconfig/src/build-x86_64-w64-mingw32/fc-case“ wird verlassen
make[2]: Verzeichnis „/e/Temp/MSYS2/MINGW-packages/mingw-w64-fontconfig/src/build-x86_64-w64-mingw32/fc-case“ wird verlassen
Making all in fc-lang
make[2]: Verzeichnis „/e/Temp/MSYS2/MINGW-packages/mingw-w64-fontconfig/src/build-x86_64-w64-mingw32/fc-lang“ wird betreten
  GEN      fcalias.h
  GEN      fcaliastail.h
make  all-am
make[3]: Verzeichnis „/e/Temp/MSYS2/MINGW-packages/mingw-w64-fontconfig/src/build-x86_64-w64-mingw32/fc-lang“ wird betreten
make[3]: Für das Ziel „all-am“ ist nichts zu tun.
make[3]: Verzeichnis „/e/Temp/MSYS2/MINGW-packages/mingw-w64-fontconfig/src/build-x86_64-w64-mingw32/fc-lang“ wird verlassen
make[2]: Verzeichnis „/e/Temp/MSYS2/MINGW-packages/mingw-w64-fontconfig/src/build-x86_64-w64-mingw32/fc-lang“ wird verlassen
Making all in src
make[2]: Verzeichnis „/e/Temp/MSYS2/MINGW-packages/mingw-w64-fontconfig/src/build-x86_64-w64-mingw32/src“ wird betreten
  GEN      fcalias.h
  GEN      fcftalias.h
  GEN      stamp-fcstdint
  GEN      stamp-fcobjshash.gperf
make[3]: Verzeichnis „/e/Temp/MSYS2/MINGW-packages/mingw-w64-fontconfig/src/build-x86_64-w64-mingw32/src“ wird betreten
  GEN      stamp-fcobjshash.gperf
make[3]: Verzeichnis „/e/Temp/MSYS2/MINGW-packages/mingw-w64-fontconfig/src/build-x86_64-w64-mingw32/src“ wird verlassen
  GEN      fcobjshash.h
config.status: executing src/fcstdint.h commands
config.status: creating src/fcstdint.h : _FONTCONFIG_SRC_FCSTDINT_H
config.status: src/fcstdint.h is unchanged
make  all-am
make[3]: Verzeichnis „/e/Temp/MSYS2/MINGW-packages/mingw-w64-fontconfig/src/build-x86_64-w64-mingw32/src“ wird betreten
  CC       fcatomic.lo
  CC       fccache.lo
  CC       fccfg.lo
  CC       fccharset.lo
  CC       fccompat.lo
  CC       fcdbg.lo
  CC       fcdefault.lo
  CC       fcdir.lo
  CC       fcformat.lo
  CC       fcfreetype.lo
  CC       fcfs.lo
  CC       fcptrlist.lo
  CC       fchash.lo
  CC       fcinit.lo
  CC       fclang.lo
  CC       fclist.lo
  CC       fcmatch.lo
  CC       fcmatrix.lo
  CC       fcname.lo
  CC       fcobjs.lo
  CC       fcpat.lo
  CC       fcrange.lo
  CC       fcserialize.lo
  CC       fcstat.lo
  CC       fcstr.lo
  CC       fcweight.lo
  CC       fcxml.lo
  CC       ftglue.lo
echo Generating fontconfig.def
Generating fontconfig.def
(echo EXPORTS; \
(cat ../../fontconfig-2.12.93/fontconfig/fontconfig.h ../../fontconfig-2.12.93/src/fcdeprecate.h ../../fontconfig-2.12.93/fontconfig/fcprivate.h ../../fontconfig-2.12.93/fontconfig/fcfreetype.h || echo 'FcERROR ()' ) | \
/usr/bin/grep '^Fc[^ ]* *(' | /usr/bin/sed -e 's/ *(.*$//' -e 's/^/	/' | \
sort; \
echo LIBRARY libfontconfig-1.dll; \
echo VERSION 12.0) >fontconfig.def
  CC       fcarch.o
  CCLD     fcarch.exe
fcarch.o:fcarch.c:(.text.startup+0x18): undefined reference to `__printf__'
collect2.exe: error: ld returned 1 exit status
make[3]: *** [Makefile:606: fcarch.exe] Fehler 1
make[3]: *** Es wird auf noch nicht beendete Prozesse gewartet....
make[3]: Verzeichnis „/e/Temp/MSYS2/MINGW-packages/mingw-w64-fontconfig/src/build-x86_64-w64-mingw32/src“ wird verlassen
make[2]: *** [Makefile:523: all] Fehler 2
make[2]: Verzeichnis „/e/Temp/MSYS2/MINGW-packages/mingw-w64-fontconfig/src/build-x86_64-w64-mingw32/src“ wird verlassen
make[1]: *** [Makefile:599: all-recursive] Fehler 1
make[1]: Verzeichnis „/e/Temp/MSYS2/MINGW-packages/mingw-w64-fontconfig/src/build-x86_64-w64-mingw32“ wird verlassen
make: *** [Makefile:483: all] Fehler 2
==> FEHLER:(B Ein Fehler geschah in build().(B
    Breche ab...(B
-------------- next part --------------
patching file conf.d/Makefile.am
Hunk #1 succeeded at 95 (offset 12 lines).
patching file test/test-migration.c
Hunk #1 succeeded at 31 (offset 27 lines).
patching file test/test-migration.c
Hunk #1 succeeded at 54 with fuzz 2 (offset 45 lines).
patching file test/test-migration.c
Hunk #1 succeeded at 259 (offset 45 lines).
patching file m4/pkg.m4
autoreconf: Entering directory `.'
autoreconf: running: autopoint --force
Copying file m4/codeset.m4
Copying file m4/extern-inline.m4
Copying file m4/fcntl-o.m4
Copying file m4/glibc2.m4
Copying file m4/glibc21.m4
Copying file m4/intdiv0.m4
Copying file m4/intl.m4
Copying file m4/intldir.m4
Copying file m4/intmax.m4
Copying file m4/inttypes-pri.m4
Copying file m4/inttypes_h.m4
Copying file m4/lcmessage.m4
Copying file m4/lock.m4
Copying file m4/longlong.m4
Copying file m4/printf-posix.m4
Copying file m4/size_max.m4
Copying file m4/stdint_h.m4
Copying file m4/threadlib.m4
Copying file m4/uintmax_t.m4
Copying file m4/visibility.m4
Copying file m4/wchar_t.m4
Copying file m4/wint_t.m4
Copying file m4/xsize.m4
Copying file po/Makevars.template
Copying file po-conf/Makevars.template
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:45: installing './compile'
configure.ac:37: installing './missing'
Makefile.am:94: warning: subst $(BASECONFIGDIR: non-POSIX variable name
Makefile.am:94: (probably a GNU make extension)
doc/Makefile.am: installing './depcomp'
autoreconf: Leaving directory `.'


More information about the Fontconfig mailing list