From owner-svn-ports-all@FreeBSD.ORG Thu Jun 4 08:27:11 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 54E35C3A; Thu, 4 Jun 2015 08:27:11 +0000 (UTC) (envelope-from freebsd.contact@marino.st) Received: from shepard.synsport.net (mail.synsport.com [208.69.230.148]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 078EB1999; Thu, 4 Jun 2015 08:27:10 +0000 (UTC) (envelope-from freebsd.contact@marino.st) Received: from [10.31.9.247] (unknown [213.225.137.129]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by shepard.synsport.net (Postfix) with ESMTP id 6C79043BE7; Thu, 4 Jun 2015 03:27:08 -0500 (CDT) Message-ID: <55700BDB.4060904@marino.st> Date: Thu, 04 Jun 2015 10:27:07 +0200 From: John Marino Reply-To: marino@freebsd.org, marino@freebsd.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Baptiste Daroussin , ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r388045 - head/mail/sendmail References: <201505302354.t4UNspIF017886@svn.freebsd.org> <556FE9D1.3090306@marino.st> In-Reply-To: <556FE9D1.3090306@marino.st> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jun 2015 08:27:11 -0000 On 6/4/2015 08:01, John Marino wrote: > On 5/31/2015 01:54, Baptiste Daroussin wrote: >> Author: bapt >> Date: Sat May 30 23:54:51 2015 >> New Revision: 388045 >> URL: https://svnweb.freebsd.org/changeset/ports/388045 >> >> Log: >> Allow packaging as regular user >> >> Add USES=uidfix to get the definition of GID >> Overwrite via MAKE_ARGS the owner and groups enforced by upstream Makefile >> Ownership remains unchanged in the final package given the ownership is now set >> by plist >> Change modes when installing to allow stripping in post-install as a regular >> user >> Replace INSTALL_SCRIPT by INSTALL_LIB which takes care of stripping the binaries >> when installing >> >> Modified: >> head/mail/sendmail/Makefile >> > > This is failing on DragonFly now: > > if [ ! -d /wrkdirs/mail/sendmail/work/stage/usr/local/share/sendmail ]; > then mkdir -p > /wrkdirs/mail/sendmail/work/stage/usr/local/share/sendmail; else :; fi > install -c -o 0 -g -m 444 helpfile > /wrkdirs/mail/sendmail/work/stage/usr/local/share/sendmail/helpfile > install: unknown group -m > *** Error code 67 > > Stop. > make[2]: stopped in > /wrkdirs/mail/sendmail/work/sendmail-8.15.1/obj.DragonFly.4.1-DEVELOPMENT.x86_64/sendmail > Making install in: > /wrkdirs/mail/sendmail/work/sendmail-8.15.1/editmap > Configuration: pfx=, os=DragonFly, rel=4.1-DEVELOPMENT, rbase=4, > rroot=4.1-DEVELOPMENT, arch=x86_64, sfx=, variant=optimized > Making in > /wrkdirs/mail/sendmail/work/sendmail-8.15.1/obj.DragonFly.4.1-DEVELOPMENT.x86_64/editmap > install -c -o 0 -g -m 0755 editmap > /wrkdirs/mail/sendmail/work/stage/usr/local/sbin > install: unknown group -m > *** Error code 67 > > Bapt, On *** FREEBSD 9.2 *** # cd /usr/ports/mail/sendmail # make -V MAKE_ARGS UBINOWN=0 UBINGRP= SBINOWN=0 SBINGRP= GBINOWN=0 GBINGRP= MANOWN=0 MANGRP= LIBMODE=0644 UBINMODE=0755 GBINMODE=2755 OPENSSL_CFLAGS="-DNO_IDEA" DESTDIR=/work/mail/sendmail/work/stage note: UBINGRP, SBINGRP, GBINGRP, MANGRP I don't know if $GID is undefined on all FreeBSD releases, or just 9.2 but this doesn't look like a DragonFly-specific issue to me. John