From owner-freebsd-bugs@FreeBSD.ORG Sat Sep 4 04:10:02 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71C931065679 for ; Sat, 4 Sep 2010 04:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4CC968FC12 for ; Sat, 4 Sep 2010 04:10:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o844A2jT092452 for ; Sat, 4 Sep 2010 04:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o844A2Q7092451; Sat, 4 Sep 2010 04:10:02 GMT (envelope-from gnats) Resent-Date: Sat, 4 Sep 2010 04:10:02 GMT Resent-Message-Id: <201009040410.o844A2Q7092451@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Rob Farmer Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0900710656BD for ; Sat, 4 Sep 2010 04:05:30 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id EBF8A8FC13 for ; Sat, 4 Sep 2010 04:05:29 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o8445TQw075700 for ; Sat, 4 Sep 2010 04:05:29 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o8445TRX075695; Sat, 4 Sep 2010 04:05:29 GMT (envelope-from nobody) Message-Id: <201009040405.o8445TRX075695@www.freebsd.org> Date: Sat, 4 Sep 2010 04:05:29 GMT From: Rob Farmer To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/150265: [patch] disable bogus port conflicts in make release X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Sep 2010 04:10:02 -0000 >Number: 150265 >Category: misc >Synopsis: [patch] disable bogus port conflicts in make release >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Sep 04 04:10:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Rob Farmer >Release: 9.0-CURRENT >Organization: >Environment: FreeBSD amethyst.predatorlabs.net 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r212171M: Fri Sep 3 01:52:23 PDT 2010 rfarmer@amethyst.predatorlabs.net:/usr/obj/usr/src/sys/AMETHYST i386 >Description: When make release fetches distfiles for the documentation ports before entering the chroot, the checksum-recursive command can fail if there are conflicting ports installed on the build system. For example: ===> ghostscript8-nox11-8.71_5 conflicts with installed package(s): ghostscript8-8.71_5 They install files into the same place. Please remove them first with pkg_delete(1). *** Error code 1 This isn't really a problem though, because the make release ports will be built in the chroot and won't conflict with what's in /usr/local >How-To-Repeat: install print/ghostscript8 (make sure WITHOUT_X11 is not set) run make release >Fix: Add -DDISABLE_CONFLICTS to checksum-recursive commands Patch attached with submission follows: Index: release/Makefile =================================================================== --- release/Makefile (revision 212191) +++ release/Makefile (working copy) @@ -620,12 +620,14 @@ @for i in ${MAKEINDEXPORTS}; do \ cd ${CHROOTDIR}/usr/ports/$$i && \ make PORTSDIR=${CHROOTDIR}/usr/ports BATCH=yes \ + -DDISABLE_CONFLICTS \ checksum-recursive ; \ done @for i in ${DOCPORTS}; do \ cd ${CHROOTDIR}/usr/ports/$$i && \ make PORTSDIR=${CHROOTDIR}/usr/ports BATCH=yes \ WITHOUT_X11=yes JADETEX=no WITHOUT_PYTHON=yes \ + -DDISABLE_CONFLICTS \ checksum-recursive ; \ done >Release-Note: >Audit-Trail: >Unformatted: