Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Oct 2004 05:24:52 +0100
From:      piotr.smyrak@heron.pl
To:        Giorgos Keramidas <keramida@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: error at usr.bin/ftp when building 5.3RC1 world
Message-ID:  <20041029041912.M53413@heron.pl>
In-Reply-To: <20041029020032.GA37714@gothmog.gr>
References:  <20041028122342.M42455@heron.pl> <20041028153551.GA14535@gothmog.gr> <20041028214936.M81640@heron.pl> <20041029020032.GA37714@gothmog.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 29 Oct 2004 05:00:32 +0300, Giorgos Keramidas wrote
> On 2004-10-28 22:50, piotr.smyrak@heron.pl wrote:
> > On Thu, 28 Oct 2004 18:35:51 +0300, Giorgos Keramidas wrote
> > > On 2004-10-28 13:52, piotr.smyrak@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@heron.pl



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041029041912.M53413>