Date: Thu, 8 Nov 2007 10:42:55 +0100 (CET) From: Anton Berezin <tobez@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/117916: Mk/bsd.port.mk: Reversed condition for setting --no-same-owner in extract Message-ID: <20071108094255.ED13C12542E@heechee.tobez.org> Resent-Message-ID: <200711081000.lA8A07mD008267@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 117916 >Category: ports >Synopsis: Mk/bsd.port.mk: Reversed condition for setting --no-same-owner in extract >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Nov 08 10:00:07 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Anton Berezin >Release: FreeBSD 7.0-CURRENT amd64 >Organization: >Environment: System: FreeBSD heechee.tobez.org 7.0-CURRENT FreeBSD 7.0-CURRENT #3: Sun Oct 7 14:10:13 CEST 2007 root@heechee.tobez.org:/usr/obj/usr/src/sys/HEECHEE amd64 >Description: I've got a report from Michael R. Wayne <wayne@staff.msen.com> about problems building perl. Specifically, he had the following errors: perl-5.8.8: Can't set user=1013/group=1013 for perl-5.8.8: Disc quota exceeded repeated multiple times. He happened to have a user with uid 1013 on his system which was out of quota. A little joint investigation revealed that although FreeBSD ports infrastructure is meant to do the right thing in those conditions, it in fact does not do that due to a reversed condition in bsd.port.mk. >How-To-Repeat: >Fix: --- bsd.port.mk.orig 2007-11-08 10:35:04.000000000 +0100 +++ bsd.port.mk 2007-11-08 10:35:36.000000000 +0100 @@ -2221,9 +2221,9 @@ EXTRACT_AFTER_ARGS?= .else EXTRACT_BEFORE_ARGS?= -dc .if defined(EXTRACT_PRESERVE_OWNERSHIP) -EXTRACT_AFTER_ARGS?= | ${TAR} -xf - --no-same-owner -.else EXTRACT_AFTER_ARGS?= | ${TAR} -xf - +.else +EXTRACT_AFTER_ARGS?= | ${TAR} -xf - --no-same-owner .endif .if defined(USE_BZIP2) EXTRACT_CMD?= ${BZIP2_CMD} >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071108094255.ED13C12542E>