Hi,

last night I ran into this with my NetBSD amd64 clang system while
building it. Has someone looked into this already? I did not find
a matching bug report with just "fc-cache". If not, I would report
it.

#      link  fc-cache/fc-cache
cc -O -DFONTCONFIG_PATH='"/usr/src/../obj/destdir.amd64/etc/X11/fonts"'  
-DFC_DEFAULT_FONTS='"/usr/X11R7/lib/X11/fonts/Type1"'  
-DFC_TEMPLATEDIR='"/usr/src/../obj/destdir.amd64/usr/X11R7/lib/X11/fonts"'  
-DFC_CACHEDIR='"/usr/src/../obj/destdir.amd64/var/cache/fontconfig"'  
-DFC_GPERF_SIZE_T=unsigned  -DFC_NO_MT=1  -DALIGNOF_VOID_P=8  
-DHAVE_FT_BITMAP_SIZE_Y_PPEM  -DHAVE_FT_GET_BDF_PROPERTY  
-DHAVE_FT_GET_NEXT_CHAR  -DHAVE_FT_GET_PS_FONT_INFO  
-DHAVE_FT_GET_X11_FONT_FORMAT  -DHAVE_FT_HAS_PS_GLYPH_NAMES  -DHAVE_EXPAT 
-DXFREE86_FT2 -DHAVE_INTTYPES_H  -DFT2_BUILD_LIBRARY  -DXML_BYTE_ORDER=0 
-DHAVE_MEMMOVE=1  -DHAVE_STDINT_H -DHAVE_RANDOM -DDARWIN_NO_CARBON  
-DHAVE_SYS_TYPES_H -DHAVE_FCNTL_H -DHAVE_SYS_STAT_H  -DHAVE_MKSTEMP  
-DHAVE_SCANDIR  -DFLEXIBLE_ARRAY_MEMBER="/**/" -DFT_CONFIG_OPTION_DISABLE_BZIP2 
-I/usr/src/../xsrc/external/mit/fontconfig/dist 
-I/usr/src/../xsrc/external/mit/freetype/dist  
-I/usr/src/../xsrc/external/mit/freetype/dist/include 
-I/usr/src/../xsrc/external/mit/freetype/dist/include/freetype  
-I/usr/src/external/mit/expat/dist/lib  
-I/usr/src/../xsrc/external/mit/fontconfig/dist/../include  
-I/usr/src/../obj/destdir.amd64/usr/X11R7/include -I.  
-I/usr/src/../xsrc/external/mit/fontconfig/dist/../include -DTOOL_FCCACHE   -o 
fc-cache fc-cache.lo fcatomic.lo fccache.lo fccfg.lo fccharset.lo fcdbg.lo 
fccompat.lo fcdefault.lo fcdir.lo fcfreetype.lo fcfs.lo fchash.lo fcinit.lo 
fclang.lo fclist.lo fcmatch.lo fcmatrix.lo fcname.lo fcobjs.lo fcpat.lo 
fcptrlist.lo fcrange.lo fcserialize.lo fcstat.lo fcstr.lo fcweight.lo fcxml.lo 
ftglue.lo ftapi.lo ftbase.lo ftbbox.lo ftbdf.lo ftdebug.lo ftglyph.lo ftinit.lo 
ftmm.lo ftpfr.lo ftstroke.lo ftsynth.lo ftsystem.lo fttype1.lo ftwinfnt.lo 
ftbitmap.lo autofit.lo bdf.lo cff.lo type1cid.lo ftgzip.lo ftlzw.lo pcf.lo 
pfr.lo psaux.lo pshinter.lo psnames.lo raster.lo sfnt.lo smooth.lo truetype.lo 
type1.lo type42.lo winfnt.lo xmlparse.lo xmltok.lo xmlrole.lo -lz
cc: error: ftapi.lo: No such file or directory

*** Failed target:  fc-cache
*** Failed command: cc -O 
-DFONTCONFIG_PATH='"/usr/src/../obj/destdir.amd64/etc/X11/fonts"' 
-DFC_DEFAULT_FONTS='"/usr/X11R7/lib/X11/fonts/Type1"' 
-DFC_TEMPLATEDIR='"/usr/src/../obj/destdir.amd64/usr/X11R7/lib/X11/fonts"' 
-DFC_CACHEDIR='"/usr/src/../obj/destdir.amd64/var/cache/fontconfig"' 
-DFC_GPERF_SIZE_T=unsigned -DFC_NO_MT=1 -DALIGNOF_VOID_P=8 
-DHAVE_FT_BITMAP_SIZE_Y_PPEM -DHAVE_FT_GET_BDF_PROPERTY -DHAVE_FT_GET_NEXT_CHAR 
-DHAVE_FT_GET_PS_FONT_INFO -DHAVE_FT_GET_X11_FONT_FORMAT 
-DHAVE_FT_HAS_PS_GLYPH_NAMES -DHAVE_EXPAT -DXFREE86_FT2 -DHAVE_INTTYPES_H 
-DFT2_BUILD_LIBRARY -DXML_BYTE_ORDER=0 -DHAVE_MEMMOVE=1 -DHAVE_STDINT_H 
-DHAVE_RANDOM -DDARWIN_NO_CARBON -DHAVE_SYS_TYPES_H -DHAVE_FCNTL_H 
-DHAVE_SYS_STAT_H -DHAVE_MKSTEMP -DHAVE_SCANDIR -DFLEXIBLE_ARRAY_MEMBER="/**/" 
-DFT_CONFIG_OPTION_DISABLE_BZIP2 
-I/usr/src/../xsrc/external/mit/fontconfig/dist 
-I/usr/src/../xsrc/external/mit/freetype/dist 
-I/usr/src/../xsrc/external/mit/freetype/dist/include 
-I/usr/src/../xsrc/external/mit/freetype/dist/include/freetype 
-I/usr/src/external/mit/expat/dist/lib 
-I/usr/src/../xsrc/external/mit/fontconfig/dist/../include 
-I/usr/src/../obj/destdir.amd64/usr/X11R7/include -I. 
-I/usr/src/../xsrc/external/mit/fontconfig/dist/../include -DTOOL_FCCACHE -o 
fc-cache fc-cache.lo fcatomic.lo fccache.lo fccfg.lo fccharset.lo fcdbg.lo 
fccompat.lo fcdefault.lo fcdir.lo fcfreetype.lo fcfs.lo fchash.lo fcinit.lo 
fclang.lo fclist.lo fcmatch.lo fcmatrix.lo fcname.lo fcobjs.lo fcpat.lo 
fcptrlist.lo fcrange.lo fcserialize.lo fcstat.lo fcstr.lo fcweight.lo fcxml.lo 
ftglue.lo ftapi.lo ftbase.lo ftbbox.lo ftbdf.lo ftdebug.lo ftglyph.lo ftinit.lo 
ftmm.lo ftpfr.lo ftstroke.lo ftsynth.lo ftsystem.lo fttype1.lo ftwinfnt.lo 
ftbitmap.lo autofit.lo bdf.lo cff.lo type1cid.lo ftgzip.lo ftlzw.lo pcf.lo 
pfr.lo psaux.lo pshinter.lo psnames.lo raster.lo sfnt.lo smooth.lo truetype.lo 
type1.lo type42.lo winfnt.lo xmlparse.lo xmltok.lo xmlrole.lo -lz
*** Error code 1

Stop.
nbmake[4]: stopped in /usr/src/external/mit/xorg/tools/fc-cache

*** Failed target:  all-fc-cache
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; 
case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) 
this="external/mit/xorg/tools/"; real="/usr/src/external/mit/xorg/tools" ;; *) 
this="external/mit/xorg/tools/${dir}/"; 
real="/usr/src/external/mit/xorg/tools/${dir}" ;; esac; show=${this:-.}; echo 
"${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && 
/usr/src/../tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; 
_makedirtarget fc-cache all
*** Error code 1

Stop.
nbmake[3]: stopped in /usr/src/external/mit/xorg/tools

*** Failed target:  do-x11
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; 
case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; 
real="/usr/src" ;; *) this="${dir}/"; real="/usr/src/${dir}" ;; esac; 
show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" 
&& /usr/src/../tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; 
_makedirtarget external/mit/xorg/tools all
*** Error code 1

Stop.
nbmake[2]: stopped in /usr/src

*** Failed target:  build
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; 
case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; 
real="/usr/src" ;; *) this="${dir}/"; real="/usr/src/${dir}" ;; esac; 
show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" 
&& /usr/src/../tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; 
_makedirtarget . do-x11
*** Error code 1

Stop.
nbmake[1]: stopped in /usr/src

*** Failed target:  distribution
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; 
case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; 
real="/usr/src" ;; *) this="${dir}/"; real="/usr/src/${dir}" ;; esac; 
show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" 
&& /usr/src/../tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; 
_makedirtarget . build NOPOSTINSTALL=1
*** Error code 1

Stop.
nbmake: stopped in /usr/src

ERROR: Failed to make distribution
*** BUILD ABORTED ***

Reply via email to