Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Oct 2019 12:17:26 -0600
From:      Alan Somers <asomers@freebsd.org>
To:        Mark Johnston <markj@freebsd.org>
Cc:        src-committers <src-committers@freebsd.org>, svn-src-all <svn-src-all@freebsd.org>,  svn-src-head <svn-src-head@freebsd.org>
Subject:   Re: svn commit: r352909 - in head: contrib/elftoolchain/nm usr.bin/nm
Message-ID:  <CAOtMX2juqyedRt2o1zv3hRcz21A4cJpy8S1QfhVB6b0c6%2BEJmg@mail.gmail.com>
In-Reply-To: <20191017174801.GA6447@raichu>
References:  <201909301728.x8UHS0QF070658@repo.freebsd.org> <CAOtMX2g_85vwwTTPyARtBNykL9Gkugstu4qhHurrkWZ4c0-%2BBw@mail.gmail.com> <20191017174801.GA6447@raichu>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@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.
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOtMX2juqyedRt2o1zv3hRcz21A4cJpy8S1QfhVB6b0c6%2BEJmg>