From owner-svn-src-head@freebsd.org Thu Oct 17 18:17:39 2019 Return-Path: Delivered-To: svn-src-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8E27315A116; Thu, 17 Oct 2019 18:17:39 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-oi1-f180.google.com (mail-oi1-f180.google.com [209.85.167.180]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46vHSz3FZFz4Wt6; Thu, 17 Oct 2019 18:17:39 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-oi1-f180.google.com with SMTP id g81so2970083oib.8; Thu, 17 Oct 2019 11:17:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0WlocjftCdC0fQLFD2inbFbtTFw56D1K7/tSZ3BpuRE=; b=W3urh8uZieTFP8jpywV+BzZOiBHABwzv8k0bHqcKRVYSbqXEi0LdY5GBs0BgyVJrXR LwR5e0A8Tlj1zYbCtQAMDD3VXgFSnamhjlo/8YoubhwGSPMNb0yn6KuvtDixnOQBVkjd XRBHqWgRvCAzvcuPt/V3hulWnlEjbJznodoD3tWe6JpTGyNffkCUtYBAXc9sXBP/SnlS o7bDeymdNz2ob2iCjh6pTqhfEYcZFSenAeUHiGQhzLXrhchdkGVOY3AjkSr4M9Pt17YV 1B8qD3nXkn/2g4+IG5z4xIj85YN8AjDnYOYSm2r/gKnMLFl1xOjKMoGU5IsHYyF4vRIx 4JlA== X-Gm-Message-State: APjAAAV9rOYCGoD/jsSqCRRAAP7K8i9v4Gv5OgZC9WmvwPg2JSVQOv+y RuRK4H+ItoVvNc6B+oCxoMuMC3GV5LUM0DExed3XCimj X-Google-Smtp-Source: APXvYqzoJNMwjzexSoyscVVwhRnktlgijtR1OY15fKh5c4hIKlg1Fvsyw4K/zVfll81N7c9ZupDdXYZlqp4vD0ZanDU= X-Received: by 2002:aca:cf92:: with SMTP id f140mr4483653oig.57.1571336257475; Thu, 17 Oct 2019 11:17:37 -0700 (PDT) MIME-Version: 1.0 References: <201909301728.x8UHS0QF070658@repo.freebsd.org> <20191017174801.GA6447@raichu> In-Reply-To: <20191017174801.GA6447@raichu> From: Alan Somers Date: Thu, 17 Oct 2019 12:17:26 -0600 Message-ID: Subject: Re: svn commit: r352909 - in head: contrib/elftoolchain/nm usr.bin/nm To: Mark Johnston Cc: src-committers , svn-src-all , svn-src-head X-Rspamd-Queue-Id: 46vHSz3FZFz4Wt6 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-6.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Oct 2019 18:17:39 -0000 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 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 > 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 > > ^~~~~~~~~~~~~ > > 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. >