Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Oct 2019 12:48:10 -0600
From:      Ian Lepore <ian@freebsd.org>
To:        Alan Somers <asomers@freebsd.org>, 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:  <ec18fab647ae7e0a2b3585380e513811f5f8ff2b.camel@freebsd.org>
In-Reply-To: <CAOtMX2juqyedRt2o1zv3hRcz21A4cJpy8S1QfhVB6b0c6%2BEJmg@mail.gmail.com>
References:  <201909301728.x8UHS0QF070658@repo.freebsd.org> <CAOtMX2g_85vwwTTPyARtBNykL9Gkugstu4qhHurrkWZ4c0-%2BBw@mail.gmail.com> <20191017174801.GA6447@raichu> <CAOtMX2juqyedRt2o1zv3hRcz21A4cJpy8S1QfhVB6b0c6%2BEJmg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2019-10-17 at 12:17 -0600, Alan Somers wrote:
> 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
> 

There should be copies of libcasper.h in your objdir:

obj/arm.armv7/tmp/legacy/usr/include/libcasper.h
obj/arm.armv7/tmp/usr/include/libcasper.h

-- Ian

> 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:3
> > > 2:
> > > /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?ec18fab647ae7e0a2b3585380e513811f5f8ff2b.camel>