NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: xsrc/58178: While building x11 with build.sh with use_tools, make use nbhost-mkdep instead of nbmkdep



> what do you think the problem is?
> this is a host tool, so we use the host > mkdep.

Thank you for asking my question.

I check my build log, 

do-x11 ===> .
all ===> external/mit/xorg/tools
all ===> external/mit/xorg/tools/bdftopcf
all ===> external/mit/xorg/tools/fc-cache

on this phase, make use nbmkdep, and after, 

do-build ===> .
dependall ===> .        (with: BUILD_tools=no BUILD_lib=no)
...
dependall ===> external/mit/xorg/tools/fc-cache
...
#    create  fc-cache/fcobjs.d
/usr/obj/c/buildobs/tools/bin/nbhost-mkdep -f fcobjs.d.tmp  -- ... 
/usr/obj/c/xsrc/external/mit/fontconfig/dist/src/fcobjs.c

make use nbhost-mkdep. This error message is from .d file generated by 
nbhost-mkdep.

nbmake[7]: 
/usr/obj/c/buildobs/obj/usr/obj/c/src/external/mit/xorg/tools/fc-cache/.depend,
1906: ignoring stale .depend for fcobjshash.gperf

.depend:
1906: fcobjs.lo fcobjs.ln fcobjs.d: fcobjshash.gperf

The problem is, I think...
o diffrent tool is used at target all or dependall.
o nbhost-mkdep is shell script, and use platform's awk (please refer 
xsrc/58104).
o the result of nbhost-mkdep and nbmkdep is diffrent.

-- 
Kouichi Hashikawa


Home | Main Index | Thread Index | Old Index