Re: error at usr.bin/ftp when building 5.3RC1 world

From: <piotr.smyrak_at_heron.pl>
Date: Fri, 29 Oct 2004 05:24:52 +0100
On Fri, 29 Oct 2004 05:00:32 +0300, Giorgos Keramidas wrote
> On 2004-10-28 22:50, piotr.smyrak_at_heron.pl wrote:
> > On Thu, 28 Oct 2004 18:35:51 +0300, Giorgos Keramidas wrote
> > > On 2004-10-28 13:52, piotr.smyrak_at_heron.pl wrote:
> > > > I just cvsuped my sources to RELENG_5 and tried to make 
world (see
> > > > attached make.conf), and I get the following error at usr.
bin/ftp:
> > > >
> > > > ===> usr.bin/fsync
> > > > rm -f .depend
> > > > mkdep -f .depend -a     /usr/src/usr.bin/fsync/fsync.c
> > > > echo fsync: /usr/obj/usr/src/i386/usr/lib/libc.a  >> .depend
> > > > ===> usr.bin/ftp
> > > > *** Error code 2
> > > >
> > > > Stop in /usr/src/usr.bin.
> > > > *** Error code 1
> > >
> > > Are you using the -j option of make to spawn multiple make 
processes?
> > > If yes, remove your /usr/obj/usr object tree and start over 
without
> > > any -j options.
> >
> > No, I don't use it. Sometimes I do, but not this time. And this 
is the first
> > thing I would drop in case of problems.
> 
> Is your source tree up to date, then?  More specifically,
>  does the ftp directory exist at all?
> 
> $ ls -ld /usr/src/usr.bin/ftp
> drwxr-xr-x  3 root  wheel  512 Oct 23 19:09 /usr/src/usr.bin/ftp
> 
> I just noticed ``Error code 2'' (errno 2 = ENOENT).
> 
> This means that make can't find some file it needs.  Do 
> you have both an `ftp' subdirectory in your 
> /usr/src/usr.bin tree *and* the sources of ftp in 
> `/usr/src/contrib/lukemftp' ?

Silly me! I was trimming down the sources in refuse file, and I cut 
the lukem directory, had no idea it has smth to do with the builtin 
ftp. Yep, one learn smth everyday. 

I was searching through the mans before posting, and couldn't find 
the information on the error status. Which man is that? I checked 
make and make.conf.

Thanks a lot for help,
-- 
 Piotr Smyrak
 piotr.smyrak_at_heron.pl
Received on Fri Oct 29 2004 - 02:25:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:20 UTC