10.0-release jail on head-hosted tinderbox (Was: Re: 10.0-hosted tinderbox: 8.4 builds broken?)
Alexey Dokuchaev
danfe at nsu.ru
Fri Feb 7 07:55:40 UTC 2014
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
-------------- next part --------------
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 at FreeBSD.org
Makefile ident: $FreeBSD: head/devel/pcre/Makefile 342800 2014-02-05 17:40:42Z bf $
prefixes: LOCALBASE=usr/local PREFIX=/usr/local
Begin Configuration:
---Begin Environment---
INDEXFILE=INDEX-10
ARCH=amd64
PORTOBJFORMAT=elf
PORTBUILD_USE_IPV6=YES
MD_SIZE=2g
X_WINDOW_SYSTEM=xorg
PAGER=more
DISTFILE_URI=
MAKELEVEL=1
TIMEOUT=7200
FTP_PASSIVE_MODE=yes
CCACHE_ENABLED=0
MASTER_SITE_OVERRIDE=file:///distcache/${DIST_SUBDIR}/
MAIL=/var/mail/root
OPTIONS_ENABLED=0
MD_FSTYPE=zfs
DISTCACHE=/distcache
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
EDITOR=vi
pb=/usr/home/danfe/tb
HTTP_TIMEOUT=900
PACKAGES=/tmp/packages
HAVE_MOTIF=1
LOG_DIRECTORY=
PKGSUFFIX=.txz
BATCH=1
OSREL=10.0
__DSVERSION__=4.0.0
CCACHE_DIR=
LOG_COMPRESSLOGS=0
OLDPWD=/
.MAKE.LEVEL.ENV=MAKELEVEL
USA_RESIDENT=YES
DISTFILE_CACHE=/usr/ports/distfiles
WRKDIRPREFIX=/work
BRANCH=RELEASE
PWD=/usr/ports/devel/pcre
HOST_WORKDIR=
OPTIONS_DIR=
PKGZIPCMD=bzip2
USER=root
DISTDIR=/tmp/distfiles
HOME=/root
CCACHE_JAIL=0
LOG_DOCOPY=0
CCACHE_MAX_SIZE=1G
UNAME_m=amd64
UNAME_n=tinderbox.host
CCACHE_NOLINK=1
TINDERD_SLEEPTIME=120
FTP_TIMEOUT=900
PARALLEL_PACKAGE_BUILD=1
TINDERD_LOGFILE=/dev/null
UNAME_p=amd64
CCACHE_LOGFILE=
UNAME_r=10.0-RELEASE
LOCALBASE=/usr/local
UNAME_s=FreeBSD
PACKAGE_BUILDING=1
TINDERBOX_BUILDING=1
OSVERSION=1000510
UNAME_v=FreeBSD 10.0-RELEASE #0: Fri Feb 7 10:32:31 MSK 2014 root at tinderbox.host:/usr/src/sys/magic/kernel/path
BLOCKSIZE=K
PORTBUILD_USE_IPV4=YES
---End Environment---
---Begin OPTIONS List---
===> The following configuration options are available for pcre-8.34:
STACK_RECURSION=on: Use the stack for recursion during matching
===> Use 'make config' to modify these settings
---End OPTIONS List---
End Configuration.
PKG_DEPENDS=pkg-1.2.6.txz
FETCH_DEPENDS=
PATCH_DEPENDS=
EXTRACT_DEPENDS=
BUILD_DEPENDS=
RUN_DEPENDS=
TEST_DEPENDS=
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 <build name> -d <port directory> -p <package name> [-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-aliases -munwind-tables -target-cpu x86-64 -resource-dir /usr/bin/../lib/clang/3.3 -ferror-limit 19 -fmessage-length 0 -mstackrealign -fobjc-runtime=gnustep -fobjc-default-synthesize-properties -fdiagnostics-show-option -backend-option -vectorize-loops -o /tmp/pnohang-fFILdi.o -x c /usr/home/danfe/tb/scripts/lib/pnohang.c
1. <eof> 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 invocation)
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/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
cc: note: diagnostic msg:
********************
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:
********************
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
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
More information about the freebsd-ports
mailing list