Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Jun 2015 10:27:07 +0200
From:      John Marino <freebsd.contact@marino.st>
To:        Baptiste Daroussin <bapt@FreeBSD.org>, ports-committers@freebsd.org,  svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r388045 - head/mail/sendmail
Message-ID:  <55700BDB.4060904@marino.st>
In-Reply-To: <556FE9D1.3090306@marino.st>
References:  <201505302354.t4UNspIF017886@svn.freebsd.org> <556FE9D1.3090306@marino.st>

next in thread | previous in thread | raw e-mail | index | archive | help
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










Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55700BDB.4060904>