Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jun 2014 13:19:33 -0700
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        freebsd-current@freebsd.org
Subject:   In tree builds broken in lib/ncurses?
Message-ID:  <20140614201933.GA65847@troutmask.apl.washington.edu>

next in thread | raw e-mail | index | archive | help
Long story short.  I have laptop that is normally limited in
available diskspace, so I do not install profiled libraries.
I however have the need for running some code under the profiler
(assuming clang can generate proper profiling).  I do the 
following,

% vi /etc/src.conf (Remove WITHOUT_PROFILE)
% cd /usr/src
% make clean
% make cleandepend
% cd lib
% make depend
% make 

The build dies in lib/ncurses with the following message.

building shared library libncursesw.so.8
nm: 'codes.So': No such file
nm: 'expanded.So': No such file
nm: 'fallback.So': No such file
nm: 'lib_gen.So': No such file
...
cc: error: no such file or directory: 'termcap.So'
cc: error: no such file or directory: 'visbuf.So'
cc: error: no such file or directory: 'lib_trace.So'
...
cc: error: no such file or directory: 'codes.So'
*** Error code 1

Stop.
make[1]: stopped in /usr/src/lib/ncurses/ncursesw
*** Error code 1

Stop.
make: stopped in /usr/src/lib/ncurses

Amusingly, both libncurses.a and libncurses_p.a are built just fine.

Is there any chance that in-tree builds will work as they once did?

-- 
Steve



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