Ticket #22609 (closed update: fixed)
boost 1.41
| Reported by: | kyle.tarplee@… | Owned by: | nox@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.8.1 |
| Keywords: | Cc: | dbsgeo@…, snc@…, ryandesign@… | |
| Port: | boost |
Description
boost 1.41 is out. The port should be updated when possible.
Change History
comment:1 Changed 4 years ago by macsforever2000@…
- Owner changed from macports-tickets@… to nox@…
- Keywords boost removed
- Port set to boost
comment:2 Changed 4 years ago by snc@…
- Status changed from new to closed
- Resolution set to fixed
Updated in r60664.
comment:3 follow-up: ↓ 7 Changed 4 years ago by dbsgeo@…
snc did you test?
It appears that the boost 1.41 release fixed the universal build problem previously patched by nox and now the build fails because the patch fails to apply:
sudo port upgrade boost +icu +universal ---> Computing dependencies for boost ---> Fetching boost ---> Attempting to fetch boost_1_41_0.tar.bz2 from http://voxel.dl.sourceforge.net/boost ---> Verifying checksum(s) for boost ---> Extracting boost ---> Applying patches to boost Error: Target org.macports.patch returned: shell command " cd "/opt/local/var/macports/build/_opt_mports_trunk_dports_devel_boost/work/boost_1_41_0" && /usr/bin/patch -p0 < '/opt/mports/trunk/dports/devel/boost/files/patch-tools-build-v2-tools-darwin.jam.diff'" returned error 1 Command output: patching file tools/build/v2/tools/darwin.jam Hunk #1 FAILED at 305. 1 out of 1 hunk FAILED -- saving rejects to file tools/build/v2/tools/darwin.jam.rej Error: Unable to upgrade port: 1
comment:5 follow-up: ↓ 6 Changed 4 years ago by dbsgeo@…
Another reason this ticket (or another) needs to be re-opened is that this upgrade ALSO breaks boost python.
This is seen on leopard:
$ sudo port -v install boost +icu +universal +python25
"/usr/bin/g++-4.0" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -dynamic -no-cpp-precomp -gdwarf-2 -Wno-long-double -fPIC -arch i386 -arch x86_64 -DBOOST_ALL_NO_LIB=1 -DBOOST_PYTHON_SOURCE -DNDEBUG -I"." -I"/opt/local/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5" -c -o "bin.v2/libs/python/build/darwin-4.0.1/release/address-model-32_64/architecture-x86/pch-off/threading-multi/str.o" "libs/python/src/str.cpp"
In file included from /opt/local/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/Python.h:57,
from ./boost/python/detail/wrap_python.hpp:142,
from ./boost/python/detail/prefix.hpp:13,
from ./boost/python/str.hpp:8,
from libs/python/src/str.cpp:4:
/opt/local/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5/pyport.h:761:2: error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."
lipo: can't figure out the architecture type of: /var/tmp//cc45oASw.out
comment:6 in reply to: ↑ 5 Changed 4 years ago by ryandesign@…
- Status changed from closed to reopened
- Cc snc@…, ryandesign@… added
- Resolution fixed deleted
Replying to dbsgeo@…:
snc did you test?
It appears that the boost 1.41 release fixed the universal build problem previously patched by nox and now the build fails because the patch fails to apply:
I can confirm that the patch fails to apply, and I agree it should no longer be necessary, so I removed it in r60717.
Replying to dbsgeo@…:
Another reason this ticket (or another) needs to be re-opened is that this upgrade ALSO breaks boost python.
I haven't looked into this yet.

