Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.wzPg2d + umask 022 + cd /home/zsun/rpmbuild/BUILD + cd /home/zsun/rpmbuild/BUILD + rm -rf fontconfig-2.12.1 + /usr/bin/bzip2 -dc /home/zsun/rpmbuild/SOURCES/fontconfig-2.12.1.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd fontconfig-2.12.1 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /home/zsun/rpmbuild/SOURCES/fontconfig-ultimate-c0e90598b4a50a92432268ccc442c2e067a54924.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (fontconfig-sleep-less.patch):' Patch #0 (fontconfig-sleep-less.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .sleep-less --fuzz=0 patching file fc-cache/fc-cache.c Hunk #1 succeeded at 405 (offset 6 lines). + echo 'Patch #11 (01-configure.patch):' Patch #11 (01-configure.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .configure --fuzz=0 patching file configure + echo 'Patch #12 (02-configure.ac.patch):' Patch #12 (02-configure.ac.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .configure.ac --fuzz=0 patching file configure.ac + echo 'Patch #13 (03-Makefile.in.patch):' Patch #13 (03-Makefile.in.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .Makefile.in --fuzz=0 patching file fc-blanks/Makefile.in Hunk #1 succeeded at 275 (offset 2 lines). patching file fc-cache/Makefile.in Hunk #1 succeeded at 335 (offset 2 lines). patching file fc-case/Makefile.in Hunk #1 succeeded at 301 (offset 2 lines). patching file fc-cat/Makefile.in Hunk #1 succeeded at 335 (offset 2 lines). patching file fc-glyphname/Makefile.in Hunk #1 succeeded at 301 (offset 2 lines). patching file fc-lang/Makefile.in Hunk #1 succeeded at 301 (offset 2 lines). patching file fc-list/Makefile.in Hunk #1 succeeded at 335 (offset 2 lines). patching file fc-match/Makefile.in Hunk #1 succeeded at 335 (offset 2 lines). patching file fc-pattern/Makefile.in Hunk #1 succeeded at 335 (offset 2 lines). patching file fc-query/Makefile.in Hunk #1 succeeded at 335 (offset 2 lines). patching file fc-scan/Makefile.in Hunk #1 succeeded at 335 (offset 2 lines). patching file fc-validate/Makefile.in Hunk #1 succeeded at 337 (offset 2 lines). patching file fontconfig/Makefile.in Hunk #1 succeeded at 279 (offset 2 lines). patching file src/Makefile.in Hunk #1 succeeded at 350 (offset 2 lines). patching file test/Makefile.in Hunk #1 succeeded at 505 (offset 8 lines). + echo 'Patch #14 (04-Makefile.conf.d.patch):' Patch #14 (04-Makefile.conf.d.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .Makefile.conf.d --fuzz=0 patching file conf.d/Makefile.am patching file conf.d/Makefile.in + echo 'Patch #15 (05-Makefile.am.in.patch):' Patch #15 (05-Makefile.am.in.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .Makefile.am.in --fuzz=0 patching file Makefile.am patching file Makefile.in + ln -s fontconfig-ultimate-c0e90598b4a50a92432268ccc442c2e067a54924/conf.d.infinality conf.d.infinality + aclocal + libtoolize -f libtoolize: putting auxiliary files in '.'. libtoolize: linking file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: linking file 'm4/libtool.m4' libtoolize: linking file 'm4/ltoptions.m4' libtoolize: linking file 'm4/ltsugar.m4' libtoolize: linking file 'm4/ltversion.m4' libtoolize: linking file 'm4/lt~obsolete.m4' + automake -afi configure.ac:45: installing './compile' configure.ac:37: installing './missing' Makefile.am:93: warning: subst $(BASECONFIGDIR: non-POSIX variable name Makefile.am:93: (probably a GNU make extension) + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6YgQYs + umask 022 + cd /home/zsun/rpmbuild/BUILD + cd fontconfig-2.12.1 + export HASDOCBOOK=no + HASDOCBOOK=no + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-add-fonts=/usr/share/X11/fonts/Type1,/usr/share/X11/fonts/TTF,/usr/local/share/fonts --disable-static 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-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking how to run the C preprocessor... 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... no checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for x86_64-redhat-linux-gnu-pkg-config... /usr/bin/x86_64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for python... /usr/bin/python checking for python version... 2.7 checking for python platform... linux2 checking for python script directory... ${prefix}/lib/python2.7/site-packages checking for python extension module directory... ${exec_prefix}/lib64/python2.7/site-packages checking for RM macro... rm -f checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu 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 gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop checking how to convert x86_64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-redhat-linux-gnu-strip... no checking for strip... strip checking for x86_64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from 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-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so 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... 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... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking sys/vfs.h usability... yes checking sys/vfs.h presence... yes checking for sys/vfs.h... yes checking sys/statfs.h usability... yes checking sys/statfs.h presence... yes checking for sys/statfs.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/mount.h usability... yes checking sys/mount.h presence... yes checking for sys/mount.h... yes 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... yes checking for link... yes checking for mkstemp... yes checking for mkostemp... yes checking for _mktemp_s... no checking for mkdtemp... yes checking for getopt... yes checking for getopt_long... yes checking for getprogname... no checking for getexecname... no checking for rand... yes checking for random... yes checking for lrand48... yes checking for random_r... yes checking for rand_r... yes checking for readlink... yes checking for fstatvfs... yes checking for fstatfs... yes checking for lstat... yes checking for posix_fadvise in fcntl.h... fcntl.h checking for struct stat.st_mtim... yes checking for struct statvfs.f_basetype... no checking for struct statvfs.f_fstypename... no checking for struct statfs.f_flags... yes checking for struct statfs.f_fstypename... no checking for struct dirent.d_type... yes checking for FREETYPE... yes checking for FT_Get_Next_Char... 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_Select_Size... yes checking for FT_Bitmap_Size.y_ppem... yes checking for TT_OS2.usLowerOpticalPointSize... yes checking for TT_OS2.usUpperOpticalPointSize... 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 if compiler needs -Werror to reject unknown flags... no checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for docbook2html... no DOCMAN3 FcAtomicCreate.3 FcAtomicLock.3 FcAtomicNewFile.3 FcAtomicOrigFile.3 FcAtomicReplaceOrig.3 FcAtomicDeleteNew.3 FcAtomicUnlock.3 FcAtomicDestroy.3 FcBlanksCreate.3 FcBlanksDestroy.3 FcBlanksAdd.3 FcBlanksIsMember.3 FcCacheDir.3 FcCacheCopySet.3 FcCacheSubdir.3 FcCacheNumSubdir.3 FcCacheNumFont.3 FcDirCacheClean.3 FcCacheCreateTagFile.3 FcCharSetCreate.3 FcCharSetDestroy.3 FcCharSetAddChar.3 FcCharSetDelChar.3 FcCharSetCopy.3 FcCharSetEqual.3 FcCharSetIntersect.3 FcCharSetUnion.3 FcCharSetSubtract.3 FcCharSetMerge.3 FcCharSetHasChar.3 FcCharSetCount.3 FcCharSetIntersectCount.3 FcCharSetSubtractCount.3 FcCharSetIsSubset.3 FcCharSetFirstPage.3 FcCharSetNextPage.3 FcCharSetCoverage.3 FcCharSetNew.3 FcConfigCreate.3 FcConfigReference.3 FcConfigDestroy.3 FcConfigSetCurrent.3 FcConfigGetCurrent.3 FcConfigUptoDate.3 FcConfigHome.3 FcConfigEnableHome.3 FcConfigBuildFonts.3 FcConfigGetConfigDirs.3 FcConfigGetFontDirs.3 FcConfigGetConfigFiles.3 FcConfigGetCache.3 FcConfigGetCacheDirs.3 FcConfigGetFonts.3 FcConfigGetBlanks.3 FcConfigGetRescanInterval.3 FcConfigSetRescanInterval.3 FcConfigAppFontAddFile.3 FcConfigAppFontAddDir.3 FcConfigAppFontClear.3 FcConfigSubstituteWithPat.3 FcConfigSubstitute.3 FcFontMatch.3 FcFontSort.3 FcFontRenderPrepare.3 FcFontList.3 FcConfigFilename.3 FcConfigParseAndLoad.3 FcConfigGetSysRoot.3 FcConfigSetSysRoot.3 FcNameRegisterConstants.3 FcNameUnregisterConstants.3 FcNameGetConstant.3 FcNameConstant.3 FcDirCacheUnlink.3 FcDirCacheValid.3 FcDirCacheLoad.3 FcDirCacheRescan.3 FcDirCacheRead.3 FcDirCacheLoadFile.3 FcDirCacheUnload.3 FcFileScan.3 FcFileIsDir.3 FcDirScan.3 FcDirSave.3 FcFontSetCreate.3 FcFontSetDestroy.3 FcFontSetAdd.3 FcFontSetList.3 FcFontSetMatch.3 FcFontSetPrint.3 FcFontSetSort.3 FcFontSetSortDestroy.3 FcPatternFormat.3 FcFreeTypeCharIndex.3 FcFreeTypeCharSet.3 FcFreeTypeCharSetAndSpacing.3 FcFreeTypeQuery.3 FcFreeTypeQueryFace.3 FcInitLoadConfig.3 FcInitLoadConfigAndFonts.3 FcInit.3 FcFini.3 FcGetVersion.3 FcInitReinitialize.3 FcInitBringUptoDate.3 FcLangSetCreate.3 FcLangSetDestroy.3 FcLangSetCopy.3 FcLangSetAdd.3 FcLangSetDel.3 FcLangSetUnion.3 FcLangSetSubtract.3 FcLangSetCompare.3 FcLangSetContains.3 FcLangSetEqual.3 FcLangSetHash.3 FcLangSetHasLang.3 FcGetDefaultLangs.3 FcLangSetGetLangs.3 FcGetLangs.3 FcLangNormalize.3 FcLangGetCharSet.3 FcMatrixInit.3 FcMatrixCopy.3 FcMatrixEqual.3 FcMatrixMultiply.3 FcMatrixRotate.3 FcMatrixScale.3 FcMatrixShear.3 FcObjectSetCreate.3 FcObjectSetAdd.3 FcObjectSetDestroy.3 FcObjectSetBuild.3 FcNameRegisterObjectTypes.3 FcNameUnregisterObjectTypes.3 FcNameGetObjectType.3 FcPatternCreate.3 FcPatternDuplicate.3 FcPatternReference.3 FcPatternDestroy.3 FcPatternEqual.3 FcPatternEqualSubset.3 FcPatternFilter.3 FcPatternHash.3 FcPatternAdd.3 FcPatternAddWeak.3 FcPatternAdd-Type.3 FcPatternGet.3 FcPatternGet-Type.3 FcPatternBuild.3 FcPatternDel.3 FcPatternRemove.3 FcPatternPrint.3 FcDefaultSubstitute.3 FcNameParse.3 FcNameUnparse.3 FcRangeCopy.3 FcRangeCreateDouble.3 FcRangeCreateInteger.3 FcRangeDestroy.3 FcRangeGetDouble.3 FcUtf8ToUcs4.3 FcUcs4ToUtf8.3 FcUtf8Len.3 FcUtf16ToUcs4.3 FcUtf16Len.3 FcIsLower.3 FcIsUpper.3 FcToLower.3 FcStrCopy.3 FcStrDowncase.3 FcStrCopyFilename.3 FcStrCmp.3 FcStrCmpIgnoreCase.3 FcStrStr.3 FcStrStrIgnoreCase.3 FcStrPlus.3 FcStrFree.3 FcStrDirname.3 FcStrBasename.3 FcStrSetCreate.3 FcStrSetMember.3 FcStrSetEqual.3 FcStrSetAdd.3 FcStrSetAddFilename.3 FcStrSetDel.3 FcStrSetDestroy.3 FcStrListCreate.3 FcStrListFirst.3 FcStrListNext.3 FcStrListDone.3 FcValueDestroy.3 FcValueSave.3 FcValuePrint.3 FcValueEqual.3 FcWeightFromOpenType.3 FcWeightToOpenType.3 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-glyphname/Makefile config.status: creating fc-blanks/Makefile config.status: creating fc-case/Makefile config.status: creating src/Makefile config.status: creating conf.d/Makefile config.status: creating conf.d.infinality/Makefile config.status: creating fc-cache/Makefile config.status: creating fc-cat/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 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 src/fcstdint.h commands config.status: creating src/fcstdint.h : _FONTCONFIG_SRC_FCSTDINT_H + /usr/bin/make -O -j2 CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /home/zsun/rpmbuild/BUILD/fontconfig-2.12.1/missing autoconf /bin/sh ./config.status --recheck running CONFIG_SHELL=/bin/sh /bin/sh ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-add-fonts=/usr/share/X11/fonts/Type1,/usr/share/X11/fonts/TTF,/usr/local/share/fonts --disable-static build_alias=x86_64-redhat-linux-gnu host_alias=x86_64-redhat-linux-gnu CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic LDFLAGS=-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig --no-create --no-recursion 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-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking how to run the C preprocessor... 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... no checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for x86_64-redhat-linux-gnu-pkg-config... /usr/bin/x86_64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for python... /usr/bin/python checking for python version... 2.7 checking for python platform... linux2 checking for python script directory... ${prefix}/lib/python2.7/site-packages checking for python extension module directory... ${exec_prefix}/lib64/python2.7/site-packages checking for RM macro... rm -f checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu 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 gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop checking how to convert x86_64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-redhat-linux-gnu-strip... no checking for strip... strip checking for x86_64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from 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-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so 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... 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... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking sys/vfs.h usability... yes checking sys/vfs.h presence... yes checking for sys/vfs.h... yes checking sys/statfs.h usability... yes checking sys/statfs.h presence... yes checking for sys/statfs.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/mount.h usability... yes checking sys/mount.h presence... yes checking for sys/mount.h... yes 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... yes checking for link... yes checking for mkstemp... yes checking for mkostemp... yes checking for _mktemp_s... no checking for mkdtemp... yes checking for getopt... yes checking for getopt_long... yes checking for getprogname... no checking for getexecname... no checking for rand... yes checking for random... yes checking for lrand48... yes checking for random_r... yes checking for rand_r... yes checking for readlink... yes checking for fstatvfs... yes checking for fstatfs... yes checking for lstat... yes checking for posix_fadvise in fcntl.h... fcntl.h checking for struct stat.st_mtim... yes checking for struct statvfs.f_basetype... no checking for struct statvfs.f_fstypename... no checking for struct statfs.f_flags... yes checking for struct statfs.f_fstypename... no checking for struct dirent.d_type... yes checking for FREETYPE... yes checking for FT_Get_Next_Char... 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_Select_Size... yes checking for FT_Bitmap_Size.y_ppem... yes checking for TT_OS2.usLowerOpticalPointSize... yes checking for TT_OS2.usUpperOpticalPointSize... 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 if compiler needs -Werror to reject unknown flags... no checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for docbook2html... no DOCMAN3 FcAtomicCreate.3 FcAtomicLock.3 FcAtomicNewFile.3 FcAtomicOrigFile.3 FcAtomicReplaceOrig.3 FcAtomicDeleteNew.3 FcAtomicUnlock.3 FcAtomicDestroy.3 FcBlanksCreate.3 FcBlanksDestroy.3 FcBlanksAdd.3 FcBlanksIsMember.3 FcCacheDir.3 FcCacheCopySet.3 FcCacheSubdir.3 FcCacheNumSubdir.3 FcCacheNumFont.3 FcDirCacheClean.3 FcCacheCreateTagFile.3 FcCharSetCreate.3 FcCharSetDestroy.3 FcCharSetAddChar.3 FcCharSetDelChar.3 FcCharSetCopy.3 FcCharSetEqual.3 FcCharSetIntersect.3 FcCharSetUnion.3 FcCharSetSubtract.3 FcCharSetMerge.3 FcCharSetHasChar.3 FcCharSetCount.3 FcCharSetIntersectCount.3 FcCharSetSubtractCount.3 FcCharSetIsSubset.3 FcCharSetFirstPage.3 FcCharSetNextPage.3 FcCharSetCoverage.3 FcCharSetNew.3 FcConfigCreate.3 FcConfigReference.3 FcConfigDestroy.3 FcConfigSetCurrent.3 FcConfigGetCurrent.3 FcConfigUptoDate.3 FcConfigHome.3 FcConfigEnableHome.3 FcConfigBuildFonts.3 FcConfigGetConfigDirs.3 FcConfigGetFontDirs.3 FcConfigGetConfigFiles.3 FcConfigGetCache.3 FcConfigGetCacheDirs.3 FcConfigGetFonts.3 FcConfigGetBlanks.3 FcConfigGetRescanInterval.3 FcConfigSetRescanInterval.3 FcConfigAppFontAddFile.3 FcConfigAppFontAddDir.3 FcConfigAppFontClear.3 FcConfigSubstituteWithPat.3 FcConfigSubstitute.3 FcFontMatch.3 FcFontSort.3 FcFontRenderPrepare.3 FcFontList.3 FcConfigFilename.3 FcConfigParseAndLoad.3 FcConfigGetSysRoot.3 FcConfigSetSysRoot.3 FcNameRegisterConstants.3 FcNameUnregisterConstants.3 FcNameGetConstant.3 FcNameConstant.3 FcDirCacheUnlink.3 FcDirCacheValid.3 FcDirCacheLoad.3 FcDirCacheRescan.3 FcDirCacheRead.3 FcDirCacheLoadFile.3 FcDirCacheUnload.3 FcFileScan.3 FcFileIsDir.3 FcDirScan.3 FcDirSave.3 FcFontSetCreate.3 FcFontSetDestroy.3 FcFontSetAdd.3 FcFontSetList.3 FcFontSetMatch.3 FcFontSetPrint.3 FcFontSetSort.3 FcFontSetSortDestroy.3 FcPatternFormat.3 FcFreeTypeCharIndex.3 FcFreeTypeCharSet.3 FcFreeTypeCharSetAndSpacing.3 FcFreeTypeQuery.3 FcFreeTypeQueryFace.3 FcInitLoadConfig.3 FcInitLoadConfigAndFonts.3 FcInit.3 FcFini.3 FcGetVersion.3 FcInitReinitialize.3 FcInitBringUptoDate.3 FcLangSetCreate.3 FcLangSetDestroy.3 FcLangSetCopy.3 FcLangSetAdd.3 FcLangSetDel.3 FcLangSetUnion.3 FcLangSetSubtract.3 FcLangSetCompare.3 FcLangSetContains.3 FcLangSetEqual.3 FcLangSetHash.3 FcLangSetHasLang.3 FcGetDefaultLangs.3 FcLangSetGetLangs.3 FcGetLangs.3 FcLangNormalize.3 FcLangGetCharSet.3 FcMatrixInit.3 FcMatrixCopy.3 FcMatrixEqual.3 FcMatrixMultiply.3 FcMatrixRotate.3 FcMatrixScale.3 FcMatrixShear.3 FcObjectSetCreate.3 FcObjectSetAdd.3 FcObjectSetDestroy.3 FcObjectSetBuild.3 FcNameRegisterObjectTypes.3 FcNameUnregisterObjectTypes.3 FcNameGetObjectType.3 FcPatternCreate.3 FcPatternDuplicate.3 FcPatternReference.3 FcPatternDestroy.3 FcPatternEqual.3 FcPatternEqualSubset.3 FcPatternFilter.3 FcPatternHash.3 FcPatternAdd.3 FcPatternAddWeak.3 FcPatternAdd-Type.3 FcPatternGet.3 FcPatternGet-Type.3 FcPatternBuild.3 FcPatternDel.3 FcPatternRemove.3 FcPatternPrint.3 FcDefaultSubstitute.3 FcNameParse.3 FcNameUnparse.3 FcRangeCopy.3 FcRangeCreateDouble.3 FcRangeCreateInteger.3 FcRangeDestroy.3 FcRangeGetDouble.3 FcUtf8ToUcs4.3 FcUcs4ToUtf8.3 FcUtf8Len.3 FcUtf16ToUcs4.3 FcUtf16Len.3 FcIsLower.3 FcIsUpper.3 FcToLower.3 FcStrCopy.3 FcStrDowncase.3 FcStrCopyFilename.3 FcStrCmp.3 FcStrCmpIgnoreCase.3 FcStrStr.3 FcStrStrIgnoreCase.3 FcStrPlus.3 FcStrFree.3 FcStrDirname.3 FcStrBasename.3 FcStrSetCreate.3 FcStrSetMember.3 FcStrSetEqual.3 FcStrSetAdd.3 FcStrSetAddFilename.3 FcStrSetDel.3 FcStrSetDestroy.3 FcStrListCreate.3 FcStrListFirst.3 FcStrListNext.3 FcStrListDone.3 FcValueDestroy.3 FcValueSave.3 FcValuePrint.3 FcValueEqual.3 FcWeightFromOpenType.3 FcWeightToOpenType.3 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 /bin/sh ./config.status config.status: creating Makefile config.status: creating fontconfig/Makefile config.status: creating fc-lang/Makefile config.status: creating fc-glyphname/Makefile config.status: creating fc-blanks/Makefile config.status: creating fc-case/Makefile config.status: creating src/Makefile config.status: creating conf.d/Makefile config.status: creating conf.d.infinality/Makefile config.status: creating fc-cache/Makefile config.status: creating fc-cat/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 test/Makefile config.status: creating fontconfig.spec config.status: creating fontconfig.pc config.status: creating fontconfig-zip config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands config.status: executing src/fcstdint.h commands config.status: creating src/fcstdint.h : _FONTCONFIG_SRC_FCSTDINT_H config.status: src/fcstdint.h is unchanged (CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /home/zsun/rpmbuild/BUILD/fontconfig-2.12.1/missing autoheader) rm -f stamp-h1 touch config.h.in cd . && /bin/sh ./config.status config.h config.status: creating config.h config.status: config.h is unchanged /usr/bin/make all-recursive Making all in fontconfig make[2]: Nothing to be done for 'all'. Making all in fc-blanks make[2]: Nothing to be done for 'all'. Making all in fc-case make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/fontconfig-2.12.1/fc-case' GEN fcalias.h make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/fontconfig-2.12.1/fc-case' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/fontconfig-2.12.1/fc-case' GEN fcaliastail.h make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/fontconfig-2.12.1/fc-case' /usr/bin/make all-am make[3]: Nothing to be done for 'all-am'. Making all in fc-lang make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/fontconfig-2.12.1/fc-lang' GEN fcaliastail.h make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/fontconfig-2.12.1/fc-lang' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/fontconfig-2.12.1/fc-lang' GEN fcalias.h make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/fontconfig-2.12.1/fc-lang' /usr/bin/make all-am make[3]: Nothing to be done for 'all-am'. Making all in fc-glyphname make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/fontconfig-2.12.1/fc-glyphname' GEN fcaliastail.h make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/fontconfig-2.12.1/fc-glyphname' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/fontconfig-2.12.1/fc-glyphname' GEN fcalias.h make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/fontconfig-2.12.1/fc-glyphname' /usr/bin/make all-am make[3]: Nothing to be done for 'all-am'. Making all in src make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/fontconfig-2.12.1/src' GEN fcftalias.h make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/fontconfig-2.12.1/src' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/fontconfig-2.12.1/src' GEN stamp-fcstdint 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[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/fontconfig-2.12.1/src' make[2]: Entering directory '/home/zsun/rpmbuild/BUILD/fontconfig-2.12.1/src' GEN fcalias.h make[2]: Leaving directory '/home/zsun/rpmbuild/BUILD/fontconfig-2.12.1/src' /usr/bin/make all-am make[3]: Entering directory '/home/zsun/rpmbuild/BUILD/fontconfig-2.12.1/src' CC fcblanks.lo make[3]: Leaving directory '/home/zsun/rpmbuild/BUILD/fontconfig-2.12.1/src' make[3]: Entering directory '/home/zsun/rpmbuild/BUILD/fontconfig-2.12.1/src' CC fcatomic.lo make[3]: Leaving directory '/home/zsun/rpmbuild/BUILD/fontconfig-2.12.1/src' make[3]: Entering directory '/home/zsun/rpmbuild/BUILD/fontconfig-2.12.1/src' CC fccache.lo make[3]: Leaving directory '/home/zsun/rpmbuild/BUILD/fontconfig-2.12.1/src' make[3]: Entering directory '/home/zsun/rpmbuild/BUILD/fontconfig-2.12.1/src' CC fccfg.lo make[3]: Leaving directory '/home/zsun/rpmbuild/BUILD/fontconfig-2.12.1/src' make[3]: Entering directory '/home/zsun/rpmbuild/BUILD/fontconfig-2.12.1/src' CC fccompat.lo make[3]: Leaving directory '/home/zsun/rpmbuild/BUILD/fontconfig-2.12.1/src' make[3]: Entering directory '/home/zsun/rpmbuild/BUILD/fontconfig-2.12.1/src' CC fccharset.lo make[3]: Leaving directory '/home/zsun/rpmbuild/BUILD/fontconfig-2.12.1/src' make[3]: Entering directory '/home/zsun/rpmbuild/BUILD/fontconfig-2.12.1/src' CC fcdbg.lo make[3]: Leaving directory '/home/zsun/rpmbuild/BUILD/fontconfig-2.12.1/src' make[3]: Entering directory '/home/zsun/rpmbuild/BUILD/fontconfig-2.12.1/src' CC fcdefault.lo make[3]: Leaving directory '/home/zsun/rpmbuild/BUILD/fontconfig-2.12.1/src' make[3]: Entering directory '/home/zsun/rpmbuild/BUILD/fontconfig-2.12.1/src' CC fcdir.lo make[3]: Leaving directory '/home/zsun/rpmbuild/BUILD/fontconfig-2.12.1/src' make[3]: Entering directory '/home/zsun/rpmbuild/BUILD/fontconfig-2.12.1/src' CC fcformat.lo make[3]: Leaving directory '/home/zsun/rpmbuild/BUILD/fontconfig-2.12.1/src' make[3]: Entering directory '/home/zsun/rpmbuild/BUILD/fontconfig-2.12.1/src' CC fcfs.lo make[3]: Leaving directory '/home/zsun/rpmbuild/BUILD/fontconfig-2.12.1/src' make[3]: Entering directory '/home/zsun/rpmbuild/BUILD/fontconfig-2.12.1/src' CC fcinit.lo make[3]: Leaving directory '/home/zsun/rpmbuild/BUILD/fontconfig-2.12.1/src' make[3]: Entering directory '/home/zsun/rpmbuild/BUILD/fontconfig-2.12.1/src' CC fcfreetype.lo make[3]: Leaving directory '/home/zsun/rpmbuild/BUILD/fontconfig-2.12.1/src' make[3]: Entering directory '/home/zsun/rpmbuild/BUILD/fontconfig-2.12.1/src' CC fclang.lo make[3]: Leaving directory '/home/zsun/rpmbuild/BUILD/fontconfig-2.12.1/src' make[3]: Entering directory '/home/zsun/rpmbuild/BUILD/fontconfig-2.12.1/src' CC fcmatch.lo fcmatch.c:324: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:324:84: error: 'PRI_CHAR_WIDTH_WEAK' undeclared here (not in a function); did you mean 'PRI_WIDTH_WEAK'? #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) ^~~~~~~~~ make[3]: *** [Makefile:596: fcmatch.lo] Error 1 make[3]: Leaving directory '/home/zsun/rpmbuild/BUILD/fontconfig-2.12.1/src' make[3]: *** Waiting for unfinished jobs.... make[3]: Entering directory '/home/zsun/rpmbuild/BUILD/fontconfig-2.12.1/src' CC fclist.lo make[3]: Leaving directory '/home/zsun/rpmbuild/BUILD/fontconfig-2.12.1/src' make[2]: *** [Makefile:498: all] Error 2 make[1]: *** [Makefile:584: all-recursive] Error 1 make: *** [Makefile:468: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.6YgQYs (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.6YgQYs (%build)