From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Dec 3 18:40:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AB45FF3B for ; Tue, 3 Dec 2013 18:40:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 85204187B for ; Tue, 3 Dec 2013 18:40:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rB3Ie01c075815 for ; Tue, 3 Dec 2013 18:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rB3Ie0qr075814; Tue, 3 Dec 2013 18:40:00 GMT (envelope-from gnats) Resent-Date: Tue, 3 Dec 2013 18:40:00 GMT Resent-Message-Id: <201312031840.rB3Ie0qr075814@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Antoine Brodin Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F2875F16 for ; Tue, 3 Dec 2013 18:37:27 +0000 (UTC) Received: from pepperseed.dreadbsd.org (88-191-185-190.rev.dedibox.fr [88.191.185.190]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7895C1864 for ; Tue, 3 Dec 2013 18:37:26 +0000 (UTC) Received: from pepperseed.dreadbsd.org (localhost [127.0.0.1]) by pepperseed.dreadbsd.org (8.14.7/8.14.7) with ESMTP id rB3ILIrb098288 for ; Tue, 3 Dec 2013 18:21:18 GMT (envelope-from antoine@pepperseed.dreadbsd.org) Received: (from antoine@localhost) by pepperseed.dreadbsd.org (8.14.7/8.14.7/Submit) id rB3ILDU2098287; Tue, 3 Dec 2013 18:21:13 GMT (envelope-from antoine) Message-Id: <201312031821.rB3ILDU2098287@pepperseed.dreadbsd.org> Date: Tue, 3 Dec 2013 18:21:13 GMT From: Antoine Brodin To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: ports/184477: [patch] [bsd.stage.mk] bsd.stage.mk can create a BSD local hierarchy in LINUXBASE X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Antoine Brodin List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Dec 2013 18:40:00 -0000 >Number: 184477 >Category: ports >Synopsis: [patch] [bsd.stage.mk] bsd.stage.mk can create a BSD local hierarchy in LINUXBASE >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Dec 03 18:40:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Antoine Brodin >Release: FreeBSD 9.2-RELEASE amd64 >Organization: none >Environment: System: FreeBSD pepperseed.dreadbsd.org 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC 2013 root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >Description: When USE_LINUX=yes and PREFIX!=LINUXBASE, bsd.stage.mk creates a BSD local hierarchy in LINUXBASE This looks inapropriate and create lots of stage orphaned directories. I don't know what those lines are supposed to fix but the fix is not good. >How-To-Repeat: poudriere bulk -t games/dsnake emulators/rtc www/linux-f10-flashplugin11 and watch the failures: =================================================== ====>> Checking for orphaned files and directories in stage directory (missing from plist) ====>> Files or directories orphaned: /compat/linux/etc/devd /compat/linux/etc/man.d /compat/linux/etc/rc.d ... >Fix: With patch below, no orphans (and no problem) building games/dsnake emulators/rtc and www/linux-f10-flashplugin11 --- stage.diff begins here --- Index: Mk/bsd.stage.mk =================================================================== --- Mk/bsd.stage.mk (revision 335583) +++ Mk/bsd.stage.mk (working copy) @@ -28,12 +28,8 @@ @${MKDIR} ${STAGEDIR}${PREFIX} .if !defined(NO_MTREE) @${MTREE_CMD} ${MTREE_ARGS} ${STAGEDIR}${PREFIX} > /dev/null -.if defined(USE_LINUX) && ${PREFIX} != ${LINUXBASE} - @${MKDIR} ${STAGEDIR}${LINUXBASE} - @${MTREE_CMD} ${MTREE_ARGS} ${STAGEDIR}${LINUXBASE} > /dev/null .endif .endif -.endif # Compress all manpage not already compressed which are not hardlinks # Find all manpages which are not compressed and are hadlinks, and only get the list of inodes concerned, for each of them compress the first one found and recreate the hardlinks for the others --- stage.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: