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



The following reply was made to PR xsrc/58178; it has been noted by GNATS.

From: Kouichi Hashikawa <hashikaw%mail.ru@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: xsrc-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Subject: Re: xsrc/58178: While building x11 with build.sh with use_tools, make use nbhost-mkdep instead of nbmkdep
Date: Mon, 22 Apr 2024 18:29:57 +0900

 > 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,=20
 
 do-x11 =3D=3D=3D> .
 all =3D=3D=3D> external/mit/xorg/tools
 all =3D=3D=3D> external/mit/xorg/tools/bdftopcf
 all =3D=3D=3D> external/mit/xorg/tools/fc-cache
 
 on this phase, make use nbmkdep, and after,=20
 
 do-build =3D=3D=3D> .
 dependall =3D=3D=3D> .        (with: BUILD_tools=3Dno BUILD_lib=3Dno)
 ...
 dependall =3D=3D=3D> external/mit/xorg/tools/fc-cache
 ...
 #    create  fc-cache/fcobjs.d
 /usr/obj/c/buildobs/tools/bin/nbhost-mkdep -f fcobjs.d.tmp  -- ...=20
 /usr/obj/c/xsrc/external/mit/fontconfig/dist/src/fcobjs.c
 
 make use nbhost-mkdep. This error message is from .d file generated by=20
 nbhost-mkdep.
 
 nbmake[7]:=20
 /usr/obj/c/buildobs/obj/usr/obj/c/src/external/mit/xorg/tools/fc-cache/.depe=
 nd,
 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=20
 xsrc/58104).
 o the result of nbhost-mkdep and nbmkdep is diffrent.
 
 --=20
 Kouichi Hashikawa=
 



Home | Main Index | Thread Index | Old Index