From owner-freebsd-ports@FreeBSD.ORG Fri Feb 7 07:55:40 2014 Return-Path: Delivered-To: ports@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 B40A0563; Fri, 7 Feb 2014 07:55:40 +0000 (UTC) Received: from mx.nsu.ru (mx.nsu.ru [84.237.50.39]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 160351C5F; Fri, 7 Feb 2014 07:55:39 +0000 (UTC) Received: from regency.nsu.ru ([193.124.210.26]) by mx.nsu.ru with esmtp (Exim 4.69) (envelope-from ) id 1WBfiM-0005Se-DA; Fri, 07 Feb 2014 14:19:11 +0700 Received: from regency.nsu.ru (localhost [127.0.0.1]) by regency.nsu.ru (8.14.2/8.14.2) with ESMTP id s177J2qA017083; Fri, 7 Feb 2014 14:19:12 +0700 (NOVT) (envelope-from danfe@regency.nsu.ru) Received: (from danfe@localhost) by regency.nsu.ru (8.14.2/8.14.2/Submit) id s177IuBb017005; Fri, 7 Feb 2014 14:18:56 +0700 (NOVT) (envelope-from danfe) Date: Fri, 7 Feb 2014 14:18:56 +0700 From: Alexey Dokuchaev To: Chris Rees Subject: 10.0-release jail on head-hosted tinderbox (Was: Re: 10.0-hosted tinderbox: 8.4 builds broken?) Message-ID: <20140207071856.GA14462@regency.nsu.ru> References: <20131009110955.GA75075@regency.nsu.ru> <4d21dc12-2fb5-43a7-a0fd-8ea13c6ebf5a.maildroid@localhost> <20131009212710.GA7998@regency.nsu.ru> <4ABC4095-7230-4C69-92D4-756057C46296@bayofrum.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="x+6KMIRAuhnl3hBn" Content-Disposition: inline In-Reply-To: <4ABC4095-7230-4C69-92D4-756057C46296@bayofrum.net> User-Agent: Mutt/1.4.2.1i Cc: ports@freebsd.org, marcus@freebsd.org, tinderbox-list@marcuscom.com X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Feb 2014 07:55:40 -0000 --x+6KMIRAuhnl3hBn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sun, Oct 13, 2013 at 01:36:45PM +0100, Chris Rees wrote: > It appears that really weird SRCBASE assumptions are made throughout the > code. I'll have to put a temporary hack in to just make SRCBASE appear > inside the chroot whatever it's set to. Setting and unsetting SRCBASE just > breaks different things in weird ways, and this is the only reliable fix > I've found. > > Joe, please can I stick this in, and merge to the beta? > > http://www.bayofrum.net/~crees/patches/tinderbox-fake-srcbase.diff > > Alexey, try this patch. This one definitely works for me, and gets the > dependencies working correctly. Can be unrelated, but I've been observing some bad behavior with fresh tinderbox code from CVS and equally fresh -CURRENT (just tried again today): install FreeBSD/amd64, 'cvs up', rebuild world/kernel (GENERIC), cvs co tinderbox, create jails for 10.0-RELEASE and 9.2-RELEASE. Builds for 9.2 work fine; trying to build anything for 10.0 always fails in a similar way (take a look at attached make.0 file). I've seen this on i386/non-zfs as well. Particularly, these lines look bad: /buildscript: pkg-static: not found tar: Error opening archive: Failed to open 'pkg-1.2.6.txz' /buildscript: ./pkg-static: not found error in dependency pkg-1.2.6.txz, exiting ./danfe --x+6KMIRAuhnl3hBn Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="make.0" Content-Transfer-Encoding: quoted-printable pcre-8.34 /usr/ports/devel/pcre chroot is: /usr/home/danfe/tb/10.0-wip jailname is: j100-wip ERROR: Port, devel/pcre is not in the datastore. 10.0-wip: cleaning out /usr/home/danfe/tb/10.0-wip/usr/local 10.0-wip: cleaning out /usr/home/danfe/tb/10.0-wip/compat 10.0-wip: cleaning out /usr/home/danfe/tb/10.0-wip/var/db/pkg building pcre-8.34 in /usr/home/danfe/tb/10.0-wip building pcre-8.34 in directory /usr/home/danfe/tb/10.0-wip ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib 32-bit compatibility ldconfig path: /usr/lib32 skipping package pkg-1.2.6.txz for pcre-8.34 since it is missing build started at Fri Feb 7 06:32:52 UTC 2014 port directory: /usr/ports/devel/pcre building for: 10.0-RELEASE amd64 maintained by: bf@FreeBSD.org Makefile ident: $FreeBSD: head/devel/pcre/Makefile 342800 2014-02-05 17:40:= 42Z bf $ prefixes: LOCALBASE=3Dusr/local PREFIX=3D/usr/local Begin Configuration: ---Begin Environment--- INDEXFILE=3DINDEX-10 ARCH=3Damd64 PORTOBJFORMAT=3Delf PORTBUILD_USE_IPV6=3DYES MD_SIZE=3D2g X_WINDOW_SYSTEM=3Dxorg PAGER=3Dmore DISTFILE_URI=3D MAKELEVEL=3D1 TIMEOUT=3D7200 FTP_PASSIVE_MODE=3Dyes CCACHE_ENABLED=3D0 MASTER_SITE_OVERRIDE=3Dfile:///distcache/${DIST_SUBDIR}/=20 MAIL=3D/var/mail/root OPTIONS_ENABLED=3D0 MD_FSTYPE=3Dzfs DISTCACHE=3D/distcache PATH=3D/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/= bin:/root/bin EDITOR=3Dvi pb=3D/usr/home/danfe/tb HTTP_TIMEOUT=3D900 PACKAGES=3D/tmp/packages HAVE_MOTIF=3D1 LOG_DIRECTORY=3D PKGSUFFIX=3D.txz BATCH=3D1 OSREL=3D10.0 __DSVERSION__=3D4.0.0 CCACHE_DIR=3D LOG_COMPRESSLOGS=3D0 OLDPWD=3D/ =2EMAKE.LEVEL.ENV=3DMAKELEVEL USA_RESIDENT=3DYES DISTFILE_CACHE=3D/usr/ports/distfiles WRKDIRPREFIX=3D/work BRANCH=3DRELEASE PWD=3D/usr/ports/devel/pcre HOST_WORKDIR=3D OPTIONS_DIR=3D PKGZIPCMD=3Dbzip2 USER=3Droot DISTDIR=3D/tmp/distfiles HOME=3D/root CCACHE_JAIL=3D0 LOG_DOCOPY=3D0 CCACHE_MAX_SIZE=3D1G UNAME_m=3Damd64 UNAME_n=3Dtinderbox.host CCACHE_NOLINK=3D1 TINDERD_SLEEPTIME=3D120 FTP_TIMEOUT=3D900 PARALLEL_PACKAGE_BUILD=3D1 TINDERD_LOGFILE=3D/dev/null UNAME_p=3Damd64 CCACHE_LOGFILE=3D UNAME_r=3D10.0-RELEASE LOCALBASE=3D/usr/local UNAME_s=3DFreeBSD PACKAGE_BUILDING=3D1 TINDERBOX_BUILDING=3D1 OSVERSION=3D1000510 UNAME_v=3DFreeBSD 10.0-RELEASE #0: Fri Feb 7 10:32:31 MSK 2014 root@tin= derbox.host:/usr/src/sys/magic/kernel/path BLOCKSIZE=3DK PORTBUILD_USE_IPV4=3DYES ---End Environment--- ---Begin OPTIONS List--- =3D=3D=3D> The following configuration options are available for pcre-8.34: STACK_RECURSION=3Don: Use the stack for recursion during matching =3D=3D=3D> Use 'make config' to modify these settings ---End OPTIONS List--- End Configuration. PKG_DEPENDS=3Dpkg-1.2.6.txz FETCH_DEPENDS=3D PATCH_DEPENDS=3D EXTRACT_DEPENDS=3D BUILD_DEPENDS=3D RUN_DEPENDS=3D TEST_DEPENDS=3D add_pkg pkg-1.2.6.txz adding dependencies pkg_add pkg-1.2.6.txz /buildscript: pkg-static: not found tar: Error opening archive: Failed to open 'pkg-1.2.6.txz' /buildscript: ./pkg-static: not found error in dependency pkg-1.2.6.txz, exiting ERROR: Port, devel/pcre is not in the datastore. ERROR: Port, devel/pcre is not in the datastore. [: -gt: unexpected operator ERROR: Port, devel/pcre is not in the datastore. ERROR: Port, x11-toolkits/pango is not in the datastore. ERROR: Port, graphics/cairo is not in the datastore. ERROR: Port, devel/gobject-introspection is not in the datastore. ERROR: Port, x11-toolkits/pangox-compat is not in the datastore. ERROR: Port, games/gtkradiant is not in the datastore. ERROR: Port, devel/glib20 is not in the datastore. ERROR: Port, print/harfbuzz is not in the datastore. ERROR: Port, misc/shared-mime-info is not in the datastore. ERROR: Port, x11-toolkits/gtkglext is not in the datastore. ERROR: Port, graphics/gtk-update-icon-cache is not in the datastore. ERROR: Port, x11-toolkits/gtk20 is not in the datastore. ERROR: Port, accessibility/atk is not in the datastore. ERROR: Port, graphics/gdk-pixbuf2 is not in the datastore. usage: tc sendBuildErrorMail -b -d -p [-l] [-x extension] ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib 32-bit compatibility ldconfig path: /usr/lib32 tinderbuild: creating build directory for 10.0-wip md0 2047880 208945 1838934 10% /usr/home/danfe= /tb/10.0-wip cannot unmount '/usr/home/danfe/tb/10.0-wip': Device busy could not destroy 'md0': could not unmount datasets mdconfig: ioctl(/dev/mdctl): Device busy 10.0-wip: cleaning out /usr/home/danfe/tb/10.0-wip *** FAILED (rm /usr/home/danfe/tb/10.0-wip) makeBuild: extracting jail tarball tinderbuild: Finalizing chroot environment WARNING: using clang 3.3 is suspected of sometimes failing to build pnohang= correctly. Assertion failed: (false && "Could not query current working directory."), = function GetCurrentDirectory, file /usr/src/lib/clang/libllvmsupport/../../= ../contrib/llvm/lib/Support/Unix/Path.inc, line 256. Stack dump: 0. Program arguments: /usr/bin/cc -cc1 -triple x86_64-unknown-freebsd11.0 -= emit-obj -mrelax-all -disable-free -main-file-name pnohang.c -static-define= -mrelocation-model static -mdisable-fp-elim -masm-verbose -mconstructor-al= iases -munwind-tables -target-cpu x86-64 -resource-dir /usr/bin/../lib/clan= g/3.3 -ferror-limit 19 -fmessage-length 0 -mstackrealign -fobjc-runtime=3Dg= nustep -fobjc-default-synthesize-properties -fdiagnostics-show-option -back= end-option -vectorize-loops -o /tmp/pnohang-fFILdi.o -x c /usr/home/danfe/t= b/scripts/lib/pnohang.c=20 1. parser at end of file cc: error: unable to execute command: Abort trap cc: error: clang frontend command failed due to signal (use -v to see invoc= ation) FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610 Target: x86_64-unknown-freebsd11.0 Thread model: posix cc: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bug= s/ and include the crash backtrace, preprocessed source, and associated run= script. cc: note: diagnostic msg:=20 ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: cc: note: diagnostic msg: /tmp/pnohang-GhLl0H.c cc: note: diagnostic msg: /tmp/pnohang-GhLl0H.sh cc: note: diagnostic msg:=20 ******************** tinderbuild: 10.0-wip: cannot compile pnohang tinderbuild: Cleaning up after tinderbuild. Please be patient. md1 2047883 195054 1852829 10% /usr/home/danfe= /tb/10.0-wip =07 pcre-8.34 done at Fri Feb 7 10:33:14 MSK 2014 *** [pcre-8.34.txz] Error code 1 make: stopped in /usr/home/danfe/tb/packages/10.0-wip/All --x+6KMIRAuhnl3hBn--