Subject: Re: Current won't build
To: None <current-users@netbsd.org>
From: conte zero <conte0@gmail.com>
List: current-users
Date: 02/08/2006 11:16:07
------=_Part_569_26910217.1139393767507
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

>In article <43E85D18.7060308@earthlink.net>,
>Kenneth Freidank  <kennethcf@earthlink.net> wrote:
>>I downloaded a fresh set of tar files, xsrc and src directories from
>>current (almost all files have a 1/28/06 date).
>>
>>I executed
>>    ./build.sh -O ../obj -T ../tools -U -u tools
>>and I also tried again with a clean slate
>>    ./build.sh -O ../obj -U -u tools
>>
>>With both commands, right after success at "create compat/md2hl.d", it
>>died with
>>nbmake: don't know how to make md4c.c Stop
>>
>>nbmake: stopped in /usr/src/tools/compat
>>
>>*** Failed target:  dependall-compat
>>*** Failed command: _makedirtarget() {dir=3D"$........ &&
>>/usr/src/../obj/tooldir.NetBSD-3.0-i386/bin/nbmake _THISDIR_=3D"${this}"
>>"$@" ${target}; }; _makedirtarget compat dependall
>>*** Error code 2
>
>Are you sure you have deleted stale files and object directories?
>
>christos

Hello,
I have download the netbsd-current and try to build on a redhat linux
(uname -a Linux server 2.4.21-4.ELsmp) with this command:

  $ ./build.sh -m amd64 -N 2 -U tools

but get this error:

  ...
  #    create  compat/md2hl.d
  /home/devel1/netbsd/src/tooldir.Linux-2.4.21-4.ELsmp-i686/bin/nbhost-mkde=
p
-f md2hl.d --      -I. -I./include
-I/home/devel1/netbsd/src/tools/compat -DHAVE_NBTOOL_CONFIG_H=3D1=20
-D_FILE_OFFSET_BITS=3D64 -D__DBINTERFACE_PRIVATE=20
/home/devel1/netbsd/src/tools/compat/../../lib/libc/hash/md2/md2hl.c
  nbmake: don't know how to make md4c.c. Stop

  nbmake: stopped in /home/devel1/netbsd/src/tools/compat

  *** Failed target:  dependall-compat
  *** Failed command: _makedirtarget() { dir=3D"$1"; shift; target=3D"$1";
shift; case "${dir}" in /*) this=3D"${dir}/"; real=3D"${dir}" ;; .)
this=3D""; real=3D"/home/devel1/netbsd/src/tools" ;; *) this=3D"${dir}/";
real=3D"/home/devel1/netbsd/src/tools/${dir}" ;; esac; show=3D${this:-.};
echo "${target} =3D=3D=3D> ${show%/}${1:+ (with: $@)}"; cd "${real}" &&
/home/devel1/netbsd/src/tooldir.Linux-2.4.21-4.ELsmp-i686/bin/nbmake
_THISDIR_=3D"${this}" "$@" ${target}; }; _makedirtarget compat dependall
  *** Error code 2

  Stop.
  nbmake: stopped in /home/devel1/netbsd/src/tools

  ERROR: Failed to make dependall tools
  *** BUILD ABORTED ***

I have open the file /home/devel1/netbsd/src/tools/compat/Makefile and
look at SRCS
variable:

  SRCS=3D...
       md2.c md2hl.c md4c.c md4hl.c md5c.c md5hl.c mkdtemp.c \
       ...

but md4c.c file don't exist in the current source tree. So must been
add the md4c.c
source to the source tree or remove md4c.c from makefile?
After there is a problem with md5, because the source are in this directory=
:
  /home/devel1/netbsd/src/lib/libc/md/md5hl.c
  /home/devel1/netbsd/src/dist/ntp/libntp/md5c.c
but the -PATH variable in tools/compat/Makefile have this definition:
  .PATH:...
        ${.CURDIR}/../../lib/libc/hash/md5 \
       ...
what is the right solution according to netbsd-current develop?
thanks

------=_Part_569_26910217.1139393767507
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

<pre>&gt;In article &lt;<a href=3D"mailto:43E85D18.7060308@earthlink.net">4=
3E85D18.7060308@earthlink.net</a>&gt;,<br>&gt;Kenneth Freidank  &lt;<a href=
=3D"mailto:kennethcf@earthlink.net">kennethcf@earthlink.net</a>&gt; wrote:<=
br>
&gt;&gt;I downloaded a fresh set of tar files, xsrc and src directories fro=
m <br>&gt;&gt;current (almost all files have a 1/28/06 date).<br>&gt;&gt;<b=
r>&gt;&gt;I executed<br>&gt;&gt;    ./build.sh -O ../obj -T ../tools -U -u =
tools
<br>&gt;&gt;and I also tried again with a clean slate<br>&gt;&gt;    ./buil=
d.sh -O ../obj -U -u tools<br>&gt;&gt;<br>&gt;&gt;With both commands, right=
 after success at &quot;create compat/md2hl.d&quot;, it <br>&gt;&gt;died wi=
th
<br>&gt;&gt;nbmake: don't know how to make md4c.c Stop<br>&gt;&gt;<br>&gt;&=
gt;nbmake: stopped in /usr/src/tools/compat<br>&gt;&gt;<br>&gt;&gt;*** Fail=
ed target:  dependall-compat<br>&gt;&gt;*** Failed command: _makedirtarget(=
) {dir=3D&quot;$........ &amp;&amp;=20
<br>&gt;&gt;/usr/src/../obj/tooldir.NetBSD-3.0-i386/bin/nbmake _THISDIR_=3D=
&quot;${this}&quot; <br>&gt;&gt;&quot;$@&quot; ${target}; }; _makedirtarget=
 compat dependall<br>&gt;&gt;*** Error code 2<br>&gt;<br>&gt;Are you sure y=
ou have deleted stale files and object directories?
<br>&gt;<br>&gt;christos<br><br>Hello,<br>I have download the netbsd-curren=
t and try to build on a redhat linux<br>(uname -a Linux server 2.4.21-4.ELs=
mp) with this command:<br><br>  $ ./build.sh -m amd64 -N 2 -U tools<br>
<br>but get this error:<br><br>  ...<br>  #    create  compat/md2hl.d<br>  =
/home/devel1/netbsd/src/tooldir.Linux-2.4.21-4.ELsmp-i686/bin/nbhost-mkdep =
-f md2hl.d --      -I. -I./include -I/home/devel1/netbsd/src/tools/compat -=
DHAVE_NBTOOL_CONFIG_H=3D1  -D_FILE_OFFSET_BITS=3D64 -D__DBINTERFACE_PRIVATE=
  /home/devel1/netbsd/src/tools/compat/../../lib/libc/hash/md2/md2hl.c
<br>  nbmake: don't know how to make md4c.c. Stop<br><br>  nbmake: stopped =
in /home/devel1/netbsd/src/tools/compat<br><br>  *** Failed target:  depend=
all-compat<br>  *** Failed command: _makedirtarget() { dir=3D&quot;$1&quot;=
; shift; target=3D&quot;$1&quot;; shift; case &quot;${dir}&quot; in /*) thi=
s=3D&quot;${dir}/&quot;; real=3D&quot;${dir}&quot; ;; .) this=3D&quot;&quot=
;; real=3D&quot;/home/devel1/netbsd/src/tools&quot; ;; *) this=3D&quot;${di=
r}/&quot;; real=3D&quot;/home/devel1/netbsd/src/tools/${dir}&quot; ;; esac;=
 show=3D${this:-.}; echo &quot;${target} =3D=3D=3D&gt; ${show%/}${1:+ (with=
: $@)}&quot;; cd &quot;${real}&quot; &amp;&amp; /home/devel1/netbsd/src/too=
ldir.Linux-
2.4.21-4.ELsmp-i686/bin/nbmake _THISDIR_=3D&quot;${this}&quot; &quot;$@&quo=
t; ${target}; }; _makedirtarget compat dependall<br>  *** Error code 2<br><=
br>  Stop.<br>  nbmake: stopped in /home/devel1/netbsd/src/tools<br><br>  E=
RROR: Failed to make dependall tools
<br>  *** BUILD ABORTED ***<br><br>I have open the file /home/devel1/netbsd=
/src/tools/compat/Makefile and look at SRCS<br>variable:<br><br>  SRCS=3D..=
.<br>       md2.c md2hl.c md4c.c md4hl.c md5c.c md5hl.c mkdtemp.c \<br>    =
   ...
<br><br>but md4c.c file don't exist in the current source tree. So must bee=
n add the md4c.c<br>source to the source tree or remove md4c.c from makefil=
e?<br>After there is a problem with md5, because the source are in this dir=
ectory:
<br>  /home/devel1/netbsd/src/lib/libc/md/md5hl.c<br>  /home/devel1/netbsd/=
src/dist/ntp/libntp/md5c.c<br>but the -PATH variable in tools/compat/Makefi=
le have this definition:<br>  .PATH:...<br>        ${.CURDIR}/../../lib/lib=
c/hash/md5 \
<br>       ...<br>what is the right solution according to netbsd-current de=
velop?<br>thanks<br></pre>

------=_Part_569_26910217.1139393767507--