continued graphics/opencv-core problems
Kurt Jaeger
lists at opsec.eu
Sun Nov 10 07:54:55 UTC 2013
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 at opsec.eu +49 171 3101372 7 years to go !
More information about the freebsd-ports
mailing list