Re: 10.0-release jail on head-hosted tinderbox (Was: Re: 10.0-hosted tinderbox: 8.4 builds broken?)

2014-02-08 Thread Joe Marcus Clarke

On 2/7/14, 2:18 AM, Alexey Dokuchaev wrote:

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


This part looks weird:

skipping package pkg-1.2.6.txz for pcre-8.34 since it is missing

Why wasn't pkg built?  It appears the Makefile was generated correctly 
to a point.  Pcre should depend on pkg.  What does the Makefile look 
like?  Do you have any logs for the pkg package build?


Joe



./danfe



___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org




--
Joe Marcus Clarke
FreeBSD GNOME Team  ::  gn...@freebsd.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


10.0-release jail on head-hosted tinderbox (Was: Re: 10.0-hosted tinderbox: 8.4 builds broken?)

2014-02-06 Thread Alexey Dokuchaev
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
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: b...@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
r...@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: