Opened 15 years ago

Closed 15 years ago

#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@…, nerdling (Jeremy Lavergne), ryandesign (Ryan Carsten Schmidt)
Port: boost

Description

boost 1.41 is out. The port should be updated when possible.

http://www.boost.org/users/news/version_1_41_0

Change History (9)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Keywords: boost removed
Owner: changed from macports-tickets@… to nox@…
Port: boost added

comment:2 Changed 15 years ago by nerdling (Jeremy Lavergne)

Resolution: fixed
Status: newclosed

Updated in r60664.

comment:3 Changed 15 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:4 Changed 15 years ago by dbsgeo@…

Cc: dbsgeo@… added

Cc Me!

comment:5 Changed 15 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 15 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: snc@… ryandesign@… added
Resolution: fixed
Status: closedreopened

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.

comment:7 in reply to:  3 Changed 15 years ago by nerdling (Jeremy Lavergne)

Replying to dbsgeo@…:

snc did you test?

It built for me with default variants.

comment:8 Changed 15 years ago by dbsgeo@…

Great, thanks for the fix ryandesign.

In further investigation it also looks like the 'patch-tools-build-v2-tools-gcc.jam.diff ' can be removed as that has been fixed upstream:

https://svn.boost.org/trac/boost/changeset/57061

comment:9 Changed 15 years ago by nox@…

Resolution: fixed
Status: reopenedclosed

Patch removed in r60830

Note: See TracTickets for help on using tickets.