From owner-freebsd-ports@freebsd.org Sat Mar 3 04:55:13 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D49B7F40294 for ; Sat, 3 Mar 2018 04:55:13 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [78.47.246.247]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 586F96D96F for ; Sat, 3 Mar 2018 04:55:13 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221] (may be forged)) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id w234swE5097837 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 3 Mar 2018 05:54:58 +0100 (CET) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: lists@opsec.eu Received: from [10.58.0.4] ([10.58.0.4]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id w234spai092772 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Sat, 3 Mar 2018 11:54:51 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: net/viamillipede seeks commiter To: Kurt Jaeger , Ash Gokhale References: <20180303044839.GA32429@home.opsec.eu> Cc: josh@tcbug.org, Diane Bruce , freebsd-ports@freebsd.org From: Eugene Grosbein Message-ID: <5A9A2A97.5090401@grosbein.net> Date: Sat, 3 Mar 2018 11:54:47 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <20180303044839.GA32429@home.opsec.eu> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=2.2 required=5.0 tests=BAYES_00, LOCAL_FROM, RDNS_NONE autolearn=no autolearn_force=no version=3.4.1 X-Spam-Report: * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 1.9 RDNS_NONE Delivered to internal network by a host with no rDNS * 2.6 LOCAL_FROM From my domains X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on hz.grosbein.net X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2018 04:55:14 -0000 03.03.2018 11:48, Kurt Jaeger wrote: > Thanks, I tried to work on it. > > The suggested port does not install using poudriere. > > It uses > > .include > > to get the install framework to install the program. This fails, > as bsd.prog.mk assumes that it is allowed to use chown/chgrp, which > is not the case while building under poudriere. And the program > itself does not really need to be installed to be owned by root. > > The error in poudriere is reported as this: > > ===> Generating temporary packing list > install -s -o root -g wheel -m 555 viamillipede /wrkdirs/usr/ports/net/viamillipede/work/stage/usr/local/bin/viamillipede > install: /wrkdirs/usr/ports/net/viamillipede/work/stage/usr/local/bin/viamillipede: chown/chgrp: Operation not permitted > > Can you try to use a different approach and test it using poudriere ? Isn't it just a bug of poudriere's approach? There is nothing wrong in just using bsd.prog.mk.