devel/boost: new patch for testing update to 1.39

Bruce Simpson bms at incunabulum.net
Thu Jul 2 12:30:29 UTC 2009


Thanks for this much needed work.
Detailed diagnostic info and patches follow.

System under test:
%%%
FreeBSD anglepoise.lon.incunabulum.net 7.2-STABLE FreeBSD 7.2-STABLE #6: 
Wed Jun 10 09:58:47 BST 2009     
root at anglepoise.lon.incunabulum.net:/home/obj/usr/src/sys/ANGLEPOISE  amd64
%%%
Note: kernel+world ARE out of sync, world ahead by ~2 weeks, due to some 
catastrophic USB regressions in RELENG_7 affecting this machine.

I got a few warnings during 'make index'  which indicate there are 
stragglers:

%%%
anglepoise# make index
Generating INDEX-7 - please wait..make_index: avogadro-0.9.6: no entry 
for /usr/ports/devel/boost-python
make_index: avogadro-0.9.6: no entry for /usr/ports/devel/boost-python
 ^^^ boost-python in LIB_DEPENDS

make_index: peekabot-0.6.0: no entry for /usr/ports/devel/boost
make_index: peekabot-0.6.0: no entry for /usr/ports/devel/boost
^^^ boost in LIB_DEPENDS

make_index: flyhard-0.42: no entry for /usr/ports/devel/boost
^^^ boost in BUILD_DEPENDS

Warning: Duplicate INDEX entry: cvsup-without-gui-16.1h_4
Warning: Duplicate INDEX entry: mod_rpaf-ap2-0.6
^^^ these look unrelated
 Done.
%%%

I've attached a diff for the stragglers, this fixes the 'make index' 
warnings.

%%%
anglepoise# portupgrade -o devel/boost-libs devel/boost
[Updating the portsdb <format:bdb_btree> in /usr/ports ... - 20370 port 
entries found 
.........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000.........12000.........13000.........14000.........15000.........16000.........17000.........18000.........19000.........20000... 
..... done]
cd: can't cd to /usr/ports/devel/boost
[chose VERBOSE_BUILD, DEBUG, ICU from options]
%%%

reinstall ok.  now upgrade dependent ports installed on my system:

%%%
anglepoise# portupgrade -rfx devel/boost devel/boost
%%%

no-op. try something else:

%%%
anglepoise# portupgrade -rfx devel/boost-libs devel/boost-libs
===>  Extracting for boost_build-2.0.m12
=> MD5 Checksum OK for boost-build-2.0-m12.tar.bz2.
=> SHA256 Checksum OK for boost-build-2.0-m12.tar.bz2.
===>  Patching for boost_build-2.0.m12
===>  Applying FreeBSD patches for boost_build-2.0.m12
===>  Configuring for boost_build-2.0.m12
--->  Backing up the old version
--->  Uninstalling the old version
--->  Deinstalling 'boost_build-2.0.m12'
pkg_delete: unable to completely remove directory 
'/usr/local/share/boost_build/tools'
pkg_delete: unable to completely remove directory 
'/usr/local/share/boost_build'
pkg_delete: couldn't entirely delete package (perhaps the packing list is
incorrectly specified?)
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 945 packages 
found (-1 +0) (...) done]
--->  Installing the new version via the port
===>  Installing for boost_build-2.0.m12
===>   boost_build-2.0.m12 depends on file: /usr/local/bin/bjam - not found
===>    Verifying reinstall for /usr/local/bin/bjam in 
/usr/ports/devel/boost-jam
===>  Vulnerability check disabled, database not found
===>  Extracting for boost-jam-1.39.0
=> MD5 Checksum OK for boost_1_39_0.tar.bz2.
=> SHA256 Checksum OK for boost_1_39_0.tar.bz2.
===>  Patching for boost-jam-1.39.0
===>  Configuring for boost-jam-1.39.0
===>  Building for boost-jam-1.39.0
cd /usr/ports/devel/boost-jam/work/boost_1_39_0/tools/jam/src && 
./build.sh gcc;
###
### Using 'gcc' toolset.
###
rm -rf bootstrap
mkdir bootstrap
gcc -o bootstrap/jam0 command.c compile.c debug.c expand.c glob.c hash.c 
hdrmacro.c headers.c jam.c jambase.c jamgram.c lists.c make.c make1.c 
newstr.c option.c output.c parse.c pathunix.c pathvms.c regexp.c rules.c 
scan.c search.c subst.c timestamp.c variable.c modules.c strings.c 
filesys.c builtins.c pwd.c class.c native.c w32_getreg.c modules/set.c 
modules/path.c modules/regex.c modules/property-set.c modules/sequence.c 
modules/order.c execunix.c fileunix.c
./bootstrap/jam0 -f build.jam --toolset=gcc --toolset-root= clean
...found 1 target...
...updating 1 target...
...updated 1 target...
./bootstrap/jam0 -f build.jam --toolset=gcc --toolset-root=
...found 47 targets...
...updating 2 targets...
[MKDIR] bin.freebsdx86_64
[COMPILE] bin.freebsdx86_64/bjam
...updated 2 targets...
===>  Installing for boost-jam-1.39.0
===>   Generating temporary packing list
/bin/mkdir -p /usr/local/bin
install  -s -o root -g wheel -m 555 
/usr/ports/devel/boost-jam/work/boost_1_39_0/tools/jam/src/bin.freebsdx86_64/bjam 
/usr/local/bin/
===>   Registering installation for boost-jam-1.39.0
===>   Returning to build of boost_build-2.0.m12
===>   Generating temporary packing list

To use boost_build, it is necessary to set BOOST_ROOT in
your environment:

 sh/bash/ksh:
        BOOST_ROOT=/usr/local/share/boost_build ; export BOOST_ROOT
 csh:
        setenv BOOST_ROOT /usr/local/share/boost_build

Note: The default toolchain is gcc.
To override this on a system-wide basis, edit this file:
        /usr/local/share/boost_build/site-config.jam

For an example of a per-user settings file which may be
copied to your home directory, see:
         /usr/local/share/boost_build/user-config.jam

===>   Registering installation for boost_build-2.0.m12
===>  Cleaning for boost-jam-1.39.0
===>  Cleaning for boost_build-2.0.m12
--->  Cleaning out obsolete shared libraries
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 947 packages 
found (-0 +2) .. done]
--->  Reinstalling 'thrift-20090622' (devel/thrift)
--->  Building '/usr/ports/devel/thrift'
===>  Cleaning for thrift-20090622
===>  Vulnerability check disabled, database not found
===>  Extracting for thrift-20090622
=> MD5 Checksum OK for thrift-20090622.tar.bz2.
=> SHA256 Checksum OK for thrift-20090622.tar.bz2.
===>  Patching for thrift-20090622
===>   thrift-20090622 depends on executable: gmake - found
===>   thrift-20090622 depends on file: /usr/local/bin/automake-1.9 - found
===>   thrift-20090622 depends on file: /usr/local/bin/autoconf-2.62 - found
===>   thrift-20090622 depends on file: /usr/local/bin/libtool - found
===>   thrift-20090622 depends on executable: pkg-config - found
===>   thrift-20090622 depends on shared library: boost_iostreams - found
===>   thrift-20090622 depends on shared library: event-1.4 - found
===>  Configuring for thrift-20090622
...
===>  Building for thrift-20090622
...
thrift build+install ok.
%%%

I don't have any other boost or dependent ports installed:
%%%
anglepoise# grep -Hr boost /var/db/ports
/var/db/ports/boost/options:# Options for boost-1.34.1
/var/db/ports/boost/options:_OPTIONS_READ=boost-1.34.1
/var/db/ports/boost-libs/options:# Options for boost-libs-1.39.0
/var/db/ports/boost-libs/options:_OPTIONS_READ=boost-libs-1.39.0
%%%

but I'll try installing one of what went into the diff:-

%%%
anglepoise# portinstall sysutils/fusefs-encfs
...
%%%

...built and installed just fine.

great work, guys! Will it be checked in soon?

cheers,
BMS


-------------- next part --------------
--- games/flyhard/Makefile.orig	2009-07-02 12:04:52.000000000 +0100
+++ games/flyhard/Makefile	2009-07-02 12:05:39.000000000 +0100
@@ -15,7 +15,7 @@
 COMMENT=	Game resembling Thrust, but with lots of shooting and puzzles
 
 LIB_DEPENDS=	png.5:${PORTSDIR}/graphics/png
-BUILD_DEPENDS=	${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost
+BUILD_DEPENDS=	${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs
 
 GNU_CONFIGURE=	yes
 USE_GMAKE=	yes
--- science/avogadro/Makefile.orig	2009-07-02 12:02:56.000000000 +0100
+++ science/avogadro/Makefile	2009-07-02 12:03:51.000000000 +0100
@@ -19,7 +19,7 @@
 RUN_DEPENDS=	${PYNUMPY} \
 		sip:${PORTSDIR}/devel/py-sip
 LIB_DEPENDS=	openbabel.3:${PORTSDIR}/science/openbabel \
-		boost_python:${PORTSDIR}/devel/boost-python
+		boost_python.4:${PORTSDIR}/devel/boost-python-libs
 
 USE_LDCONFIG=	yes
 USE_BZIP2=	yes
--- science/peekabot/Makefile.orig	2009-07-02 12:04:08.000000000 +0100
+++ science/peekabot/Makefile	2009-07-02 12:04:42.000000000 +0100
@@ -13,7 +13,7 @@
 MAINTAINER=	chris at officialunix.com
 COMMENT=	Distributed real-time 3D visualization tool for robotics researchers
 
-LIB_DEPENDS=	boost_regex.4:${PORTSDIR}/devel/boost \
+LIB_DEPENDS=	boost_regex.4:${PORTSDIR}/devel/boost-libs \
 		xerces-c.27:${PORTSDIR}/textproc/xerces-c2\
 		fltk.1:${PORTSDIR}/x11-toolkits/fltk
 


More information about the freebsd-ports mailing list