From owner-freebsd-tinderbox@FreeBSD.ORG Mon Feb 27 22:06:15 2012 Return-Path: Delivered-To: freebsd-tinderbox@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 70F8F106564A for ; Mon, 27 Feb 2012 22:06:15 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (mail1.sourcehosting.net [74.205.51.45]) by mx1.freebsd.org (Postfix) with ESMTP id 0646B8FC13 for ; Mon, 27 Feb 2012 22:06:14 +0000 (UTC) Received: from 68-189-245-235.dhcp.oxfr.ma.charter.com ([68.189.245.235] helo=imac.entropy.prv) by mail1.sourcehosting.net with esmtp (Exim 4.73 (FreeBSD)) (envelope-from ) id 1S287W-000Fha-5V for freebsd-tinderbox@FreeBSD.org; Mon, 27 Feb 2012 16:28:36 -0500 Received: from imac.entropy.prv (localhost [127.0.0.1]) by imac.entropy.prv (Postfix) with ESMTP id E9181E19A0C for ; Mon, 27 Feb 2012 16:28:32 -0500 (EST) Message-ID: <4F4BF580.7000409@FreeBSD.org> Date: Mon, 27 Feb 2012 16:28:32 -0500 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: freebsd-tinderbox@FreeBSD.org X-Enigmail-Version: 1.3.5 OpenPGP: id=1C940290 X-SA-Exim-Connect-IP: 68.189.245.235 X-SA-Exim-Mail-From: glarkin@FreeBSD.org X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail1.sourcehosting.net X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=AWL, BAYES_00, RCVD_IN_RP_RNBL, RCVD_IN_SORBS_DUL,RDNS_DYNAMIC,TVD_RCVD_IP autolearn=no version=3.3.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on mail1.sourcehosting.net) Cc: Subject: Cleaning up packages before build directory is removed X-BeenThere: freebsd-tinderbox@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: "Tinderbox reports, responses, and meta-comments" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2012 22:06:15 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all, I'm working on some hooks so I can build ports with clang in 7.x and 8.x tinderboxes. So far, I have postBuildExtract hook set up to add clang and its dependencies and inject /etc/make.conf in the build with the proper directives. The clang build works great, but I have to figure out a way to remove the pre-installed packages before the plistcheck starts. I've been looking through the code, but I don't see any easy way to identify in the postPortBuild hook when the root port has finished building. If I could detect that, then I could remove clang, llvm, etc. before the make install target starts and avoid the plistcheck error. Thank you, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/cpucycle/ - Follow you, follow me -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk9L9YAACgkQ0sRouByUApDX9QCgpNe+RsBpts4Tu5or0VOY/G6i G24AoKfPj6JyHUBylr58I6Y1dktKGYCg =0WGu -----END PGP SIGNATURE-----