Re: In tree builds broken in lib/ncurses?

From: Ian Lepore <ian_at_FreeBSD.org>
Date: Sun, 15 Jun 2014 08:02:38 -0600
On Sat, 2014-06-14 at 23:12 -0700, Steve Kargl wrote:
> On Sat, Jun 14, 2014 at 07:44:29PM -0600, Warner Losh wrote:
> > On Jun 14, 2014, at 7:30 PM, Steve Kargl <sgk_at_troutmask.apl.washington.edu> wrote:
> > > 
> > > Thanks for the pointer.  The problem appears to be /usr/local/bin/ld.
> > > If I move it to ld.old and then symlink /usr/local/bin/ld to /usr/bin/ld,
> > > I can build math/lapack without a problem.  I guess I'll poke around
> > > in devel/bintuils.
> > 
> > We don?t support building the tree with any ld but the one in the tree.
> 
> In tree builds with the system ld does not work.  That is the topic of 
> the first email in this thread.  The issue with /usr/local/bin/ld was
> found after I disabled the attempted build of ncurses.  The /usr/local/bin/ld
> issue surfaces when one tries to build math/lapack with shared library
> support.
> 
> % rm -rf /usr/obj/usr
> % cd /usr/src
> % make clean && make cleandepend
> % cd lib
> % make depend
> % make |& tee sgk.log
> ...
> ===> ncurses/ncursesw (all)
> Warning: Object directory not changed from original /usr/src/lib/ncurses/ncursesw
> ...
> nm: 'codes.So': No such file
> nm: 'expanded.So': No such file
> (146 nm: lines deleted)
> cc: error: no such file or directory: 'termcap.So'
> cc: error: no such file or directory: 'visbuf.So'
> (142 cc: lines deleted)
> *** Error code 1
> 
> Stop.
> make[2]: stopped in /usr/src/lib/ncurses/ncursesw
> *** Error code 1
> 
> Stop.
> make[1]: stopped in /usr/src/lib/ncurses
> *** Error code 1
> 
> Stop.
> make: stopped in /usr/src/lib
> 
> As noted in the first email, both libncurses.a and libncurses_p.a build fine.
> 

It looks like this is a SUBDIR_PARALLEL build fallout.  I've finally
committed the fine-grained dependency fix I've been sitting on for
weeks, could you please try updating to r267511 and then applying the
attached to see if it fixes it?

-- Ian


Received on Sun Jun 15 2014 - 12:29:53 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:50 UTC