Date: Sun, 10 Nov 2013 08:54:53 +0100 From: Kurt Jaeger <lists@opsec.eu> To: ports@freebsd.org Subject: Re: continued graphics/opencv-core problems Message-ID: <20131110075453.GM2951@home.opsec.eu> In-Reply-To: <20131109204528.GF40230@graf.pompo.net> References: <6820ddce886d21e835b9578175be1f10@eumx.net> <20131109204528.GF40230@graf.pompo.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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 !
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131110075453.GM2951>