From owner-freebsd-pkg@freebsd.org Sun Jul 21 21:06:28 2019 Return-Path: Delivered-To: freebsd-pkg@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 29B39BF0F1 for ; Sun, 21 Jul 2019 21:06:28 +0000 (UTC) (envelope-from jbwlists@hilltopgroup.com) Received: from equinox.hilltopgroup.com (equinox.hilltopgroup.com [204.109.63.175]) by mx1.freebsd.org (Postfix) with ESMTP id 252406CE27 for ; Sun, 21 Jul 2019 21:06:23 +0000 (UTC) (envelope-from jbwlists@hilltopgroup.com) Received: from mail.relativity.hilltopgroup.com (unknown [104.185.205.155]) by equinox.hilltopgroup.com (Postfix) with ESMTP id EAA9237B429 for ; Sun, 21 Jul 2019 17:10:03 -0400 (EDT) Received: from [192.168.6.168] (unknown [104.185.205.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: jbwlists@hilltopgroup.com) by mail.relativity.hilltopgroup.com (Postfix) with ESMTPSA id 41D131A8A8 for ; Sun, 21 Jul 2019 17:06:17 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=hilltopgroup.com; s=mail; t=1563743177; bh=XZzLYOrgYOLALMyKfvSN/EVysxOqxIhF6BULmZ8psk4=; h=To:From:Subject:Date; b=afjaADsvfFP7gQkX/8mEgCWm//+lNOp5W2eXOVUyiiXCy64x+0ddBvJVV9giAk5el wcSC7S1WJ3ChNkTl0bThZ4l5f18hIhbpqYYRIeOpRofN2odUTt0h44lybrueIiZu3P fUzbbbyhT4fjjXQ/YsUtPR2xlqvvk4Xl6B39nBH8= To: freebsd-pkg@FreeBSD.org From: Joseph Ward Subject: Poudriere failing to build package that installs to /usr/share Message-ID: <585537cb-921c-246b-c39a-056e8d81868a@hilltopgroup.com> Date: Sun, 21 Jul 2019 17:06:16 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 252406CE27 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hilltopgroup.com header.s=mail header.b=afjaADsv; spf=pass (mx1.freebsd.org: domain of jbwlists@hilltopgroup.com designates 204.109.63.175 as permitted sender) smtp.mailfrom=jbwlists@hilltopgroup.com X-Spamd-Result: default: False [-4.57 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[hilltopgroup.com:s=mail]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-pkg@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[hilltopgroup.com]; DKIM_TRACE(0.00)[hilltopgroup.com:+]; MX_GOOD(-0.01)[equinox.hilltopgroup.com,mail2.hilltopgroup.com,mail.hilltopgroup.com]; NEURAL_HAM_SHORT(-0.93)[-0.930,0]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-1.23)[ipnet: 204.109.60.0/22(-2.20), asn: 36236(-3.87), country: US(-0.05)]; ASN(0.00)[asn:36236, ipnet:204.109.60.0/22, country:US]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Jul 2019 21:06:28 -0000 I have a custom port that needs to be able to write into /usr/share.  Poudriere builds that package without any issue. However, I have a meta-port that includes that port as a RUN_DEPENDS , and the meta-port fails to build because the custom port fails to install due to "immutable_base", because /usr/share is mounted read-only. After some digging, I found the line in /usr/local/share/poudriere/include/fs.sh which declared /usr/share to be included in the "nullpaths" list which all get mounted read-only with nullfs.  So I removed the /usr/share entry, and everything seems to build correctly. I have 2 questions: 1)  Is there a "proper" way to tell the system not to read-only mount /usr/share that I just didn't find?  One that won't require me to manually change that file every time I upgrade poudriere? 2)  Am I likely breaking anything by doing this?  As far as I can tell, by removing that entry /usr/share is just part of the zfs clone when the jail starts up and changes will be blown away when the jail is brought down, but I made a lot of assumptions in getting to that conclusion. Thank you! -Joseph