From owner-freebsd-ports@FreeBSD.ORG Sun Nov 10 07:54:55 2013 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 ESMTP id 29B41624 for ; Sun, 10 Nov 2013 07:54:55 +0000 (UTC) (envelope-from lists@opsec.eu) Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D9C7A2BB2 for ; Sun, 10 Nov 2013 07:54:54 +0000 (UTC) Received: from pi by home.opsec.eu with local (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1VfPrB-000CMb-9s for ports@freebsd.org; Sun, 10 Nov 2013 08:54:53 +0100 Date: Sun, 10 Nov 2013 08:54:53 +0100 From: Kurt Jaeger To: ports@freebsd.org Subject: Re: continued graphics/opencv-core problems Message-ID: <20131110075453.GM2951@home.opsec.eu> References: <6820ddce886d21e835b9578175be1f10@eumx.net> <20131109204528.GF40230@graf.pompo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20131109204528.GF40230@graf.pompo.net> X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Nov 2013 07:54:55 -0000 Hi! > > For about 2-3 weeks now, I have continued to run into problems with > > opencv-core not building on my 9.2-RELEASE poudriere box that uses > > clang. > > As I need it for my ports, I has just been rebuilt in poudriere, and > everything is fine. Thanks for the pointer to the poudriere process. I used it to build opencv-core and this worked (I have disk space at /serv): cd /usr/local/etc cp poudriere.conf.sample poudriere.conf vi poudriere.conf ------------ --- poudriere.conf.sample 2013-10-29 23:28:55.000000000 +0100 +++ poudriere.conf 2013-11-09 22:05:01.000000000 +0100 @@ -13,7 +13,7 @@ ### NO ZFS # To not use ZFS, define NO_ZFS=yes -#NO_ZFS=yes +NO_ZFS=yes # root of the poudriere zfs filesystem, by default /poudriere # ZROOTFS=/poudriere @@ -26,7 +26,7 @@ # # Also not that every protocols supported by fetch(1) are supported here, even # file:/// -FREEBSD_HOST=_PROTO_://_CHANGE_THIS_ +FREEBSD_HOST=ftp://ftp.freebsd.org # By default the jails have no /etc/resolv.conf, you will need to set # REVOLV_CONF to a file on your hosts system that will be copied has @@ -35,7 +35,7 @@ RESOLV_CONF=/etc/resolv.conf # The directory where poudriere will store jails and ports -BASEFS=/usr/local/poudriere +BASEFS=/serv/poudriere # The directory where the jail will store the packages and logs # by default a zfs filesystem will be created and set to @@ -62,7 +62,7 @@ # all - Run the entire build in memory, including builder jails. # yes - Only enables tmpfs(5) for wrkdir # EXAMPLE: USE_TMPFS="wrkdir data" -USE_TMPFS=yes +USE_TMPFS= # If set the given directory will be used for the distfiles this allow the share # the distfiles between jails and ports tree @@ -76,7 +76,7 @@ # mirror (default: svn0.us-west.FreeBSD.org) # The full mirror list is available here: # http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/svn-mirrors.html -#SVN_HOST=svn0.us-west.FreeBSD.org +SVN_HOST=mysvn-host # Automatic OPTION change detection # When bulk building packages, compare the options from kept packages to ------------ mkdir /serv/poudriere poudriere jail -c -v 9.2-RELEASE -a amd64 -j 92amd64 poudriere ports -c echo 'graphics/opencv-core' > ~/pkglist poudriere bulk -f ~/pkglist -j 92amd64 This build the package in /serv/poudriere/data/packages/92amd64-default/All/ and I replaced my not upgradable one via: pkg_delete -f opencv-core-2.3.1_7 pkg_add opencv-core-2.3.1_9.tbz Very nice! I'll start to use poudriere for other problems that come up from time to time! -- pi@opsec.eu +49 171 3101372 7 years to go !