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----- From owner-freebsd-tinderbox@FreeBSD.ORG Sat Mar 3 07:19:20 2012 Return-Path: Delivered-To: tinderbox@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 28278106564A; Sat, 3 Mar 2012 07:19:20 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-stable.sentex.ca (freebsd-stable.sentex.ca [IPv6:2607:f3e0:0:3::6502:9b]) by mx1.freebsd.org (Postfix) with ESMTP id DC2788FC0C; Sat, 3 Mar 2012 07:19:19 +0000 (UTC) Received: from freebsd-stable.sentex.ca (localhost [127.0.0.1]) by freebsd-stable.sentex.ca (8.14.5/8.14.5) with ESMTP id q237JJQp086334; Sat, 3 Mar 2012 07:19:19 GMT (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-stable.sentex.ca (8.14.5/8.14.5/Submit) id q237JJ4N086333; Sat, 3 Mar 2012 07:19:19 GMT (envelope-from tinderbox@freebsd.org) Date: Sat, 3 Mar 2012 07:19:19 GMT Message-Id: <201203030719.q237JJ4N086333@freebsd-stable.sentex.ca> X-Authentication-Warning: freebsd-stable.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [releng_9 tinderbox] failure on powerpc64/powerpc X-BeenThere: freebsd-tinderbox@freebsd.org X-Mailman-Version: 2.1.5 List-Id: "Tinderbox reports, responses, and meta-comments" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2012 07:19:20 -0000 TB --- 2012-03-03 04:27:54 - tinderbox 2.9 running on freebsd-stable.sentex.ca TB --- 2012-03-03 04:27:54 - starting RELENG_9 tinderbox run for powerpc64/powerpc TB --- 2012-03-03 04:27:54 - cleaning the object tree TB --- 2012-03-03 04:27:54 - cvsupping the source tree TB --- 2012-03-03 04:27:54 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/RELENG_9/powerpc64/powerpc/supfile TB --- 2012-03-03 04:28:25 - building world TB --- 2012-03-03 04:28:25 - CROSS_BUILD_TESTING=YES TB --- 2012-03-03 04:28:25 - MAKEOBJDIRPREFIX=/obj TB --- 2012-03-03 04:28:25 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-03-03 04:28:25 - SRCCONF=/dev/null TB --- 2012-03-03 04:28:25 - TARGET=powerpc TB --- 2012-03-03 04:28:25 - TARGET_ARCH=powerpc64 TB --- 2012-03-03 04:28:25 - TZ=UTC TB --- 2012-03-03 04:28:25 - __MAKE_CONF=/dev/null TB --- 2012-03-03 04:28:25 - cd /src TB --- 2012-03-03 04:28:25 - /usr/bin/make -B buildworld >>> World build started on Sat Mar 3 04:28:26 UTC 2012 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> stage 5.1: building 32 bit shim libraries >>> World build completed on Sat Mar 3 07:16:52 UTC 2012 TB --- 2012-03-03 07:16:52 - generating LINT kernel config TB --- 2012-03-03 07:16:52 - cd /src/sys/powerpc/conf TB --- 2012-03-03 07:16:52 - /usr/bin/make -B LINT TB --- 2012-03-03 07:16:52 - cd /src/sys/powerpc/conf TB --- 2012-03-03 07:16:52 - /usr/sbin/config -m LINT TB --- 2012-03-03 07:16:52 - building LINT kernel TB --- 2012-03-03 07:16:52 - CROSS_BUILD_TESTING=YES TB --- 2012-03-03 07:16:52 - MAKEOBJDIRPREFIX=/obj TB --- 2012-03-03 07:16:52 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-03-03 07:16:52 - SRCCONF=/dev/null TB --- 2012-03-03 07:16:52 - TARGET=powerpc TB --- 2012-03-03 07:16:52 - TARGET_ARCH=powerpc64 TB --- 2012-03-03 07:16:52 - TZ=UTC TB --- 2012-03-03 07:16:52 - __MAKE_CONF=/dev/null TB --- 2012-03-03 07:16:52 - cd /src TB --- 2012-03-03 07:16:52 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sat Mar 3 07:16:52 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything -------------------------------------------------------------- cd /obj/powerpc.powerpc64/src/sys/LINT; MAKEOBJDIRPREFIX=/obj/powerpc.powerpc64 MACHINE_ARCH=powerpc64 MACHINE=powerpc CPUTYPE= GROFF_BIN_PATH=/obj/powerpc.powerpc64/src/tmp/legacy/usr/bin GROFF_FONT_PATH=/obj/powerpc.powerpc64/src/tmp/legacy/usr/share/groff_font GROFF_TMAC_PATH=/obj/powerpc.powerpc64/src/tmp/legacy/usr/share/tmac _SHLIBDIRPREFIX=/obj/powerpc.powerpc64/src/tmp VERSION="FreeBSD 8.2-STABLE amd64 802512" INSTALL="sh /src/tools/install.sh" PATH=/obj/powerpc.powerpc64/src/tmp/legacy/usr/sbin:/obj/powerpc.powerpc64/src/tmp/legacy/usr/bin:/obj/powerpc.powerpc64/src/tmp/legacy/usr/games:/obj/powerpc.powerpc64/src/tmp/usr/sbin:/obj/powerpc.powerpc64/src/tmp/usr/bin:/obj/powerpc.powerpc64/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin /usr/bin/make KERNEL=kernel all -DNO_MODULES_OBJ cc -c -x assembler-with-cpp -DLOCORE -O -pipe -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -mcall-aixdesc -ffreestanding -fstack-protector -Werror /src/sys/powerpc/aim/locore.S /src/sys/powerpc/aim/trap_subr64.S: Assembler messages: /src/sys/powerpc/aim/trap_subr64.S:421: Error: unsupported relocation against PC_SLBSTACK *** Error code 1 Stop in /obj/powerpc.powerpc64/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2012-03-03 07:19:19 - WARNING: /usr/bin/make returned exit code 1 TB --- 2012-03-03 07:19:19 - ERROR: failed to build LINT kernel TB --- 2012-03-03 07:19:19 - 7303.24 user 1070.76 system 10284.22 real http://tinderbox.freebsd.org/tinderbox-releng_9-RELENG_9-powerpc64-powerpc.full