svn commit: r352909 - in head: contrib/elftoolchain/nm usr.bin/nm

Alan Somers asomers at freebsd.org
Thu Oct 17 18:17:39 UTC 2019


There might be something wrong with my environment:
/usr/include/libcasper.h is absent.  But still, shouldn't the build be
using the version from the source tree, instead of from the environment?
-Alan

On Thu, Oct 17, 2019 at 11:48 AM Mark Johnston <markj at freebsd.org> wrote:

> On Thu, Oct 17, 2019 at 11:37:44AM -0600, Alan Somers wrote:
> > On Mon, Sep 30, 2019 at 11:28 AM Mark Johnston <markj at freebsd.org>
> wrote:
> >
> > > Author: markj
> > > Date: Mon Sep 30 17:27:59 2019
> > > New Revision: 352909
> > > URL: https://svnweb.freebsd.org/changeset/base/352909
> > >
> > > Log:
> > >   Capsicumize nm(1).
> > >
> > >   Reviewed by:  emaste
> > >   Sponsored by: The FreeBSD Foundation
> > >   Differential Revision:        https://reviews.freebsd.org/D21107
> > >
> > > Modified:
> > >   head/contrib/elftoolchain/nm/nm.c
> > >   head/usr.bin/nm/Makefile
> > >
> >
> > I can no longer build world after this change.  I think nm is being built
> > before libcasper, because I don't see libcasper.h in my object directory.
> > Has anybody else had this problem?
> >
> > In file included from
> > /usr/home/somers/freebsd/base/head/contrib/elftoolchain/nm/nm.c:32:
> > /usr/include/capsicum_helpers.h:42:10: fatal error: 'libcasper.h' file
> not
> > found
> > #include <libcasper.h>
> >          ^~~~~~~~~~~~~
> > 1 error generated.
> > *** [nm.o] Error code 1
> >
> > make[3]: stopped in /usr/home/somers/freebsd/base/head/usr.bin/nm
> > 1 error
>
> Could you share the full build log somewhere?  I haven't seen any other
> reports of this, and other elftoolchain utilities have been making use
> of libcasper for a long time.
>


More information about the svn-src-all mailing list