Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tf and bfl: do_compile fails with boost::serialization error with boost 1.64 #505

Closed
bulwahn opened this issue May 13, 2017 · 6 comments
Closed

Comments

@bulwahn
Copy link
Contributor

bulwahn commented May 13, 2017

OpenEmbedded-Core updated boost to version 1.64 [1]. The two packages tf and bfl both include boost/numeric/ublas, which seems not to properly compile with boost version 1.64.

I already reported the issue with tf on the ros/geometry issue tracker at: ros/geometry#146

Concerning the bfl issue, I did not report anything to the bfl project/maintainers yet.

bitbake tf fails during compiling with:

| In file included from /home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/i586-oe-linux/tf/1.11.8-r0/recipe-sysroot/usr/include/boost/numeric/ublas/vector.hpp:21:0,
|                  from /home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/i586-oe-linux/tf/1.11.8-r0/recipe-sysroot/usr/include/boost/numeric/ublas/matrix.hpp:18,
|                  from /home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/i586-oe-linux/tf/1.11.8-r0/geometry-1.11.8/tf/src/transform_listener.cpp:34:
| /home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/i586-oe-linux/tf/1.11.8-r0/recipe-sysroot/usr/include/boost/numeric/ublas/storage.hpp: In member function 'void boost::numeric::ublas::unbounded_array<T, ALLOC>::serialize(Archive&, unsigned int)':
| /home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/i586-oe-linux/tf/1.11.8-r0/recipe-sysroot/usr/include/boost/numeric/ublas/storage.hpp:299:18: error: 'make_array' is not a member of 'boost::serialization'
|              ar & serialization::make_array(data_, s);
|                   ^~~~~~~~~~~~~
| /home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/i586-oe-linux/tf/1.11.8-r0/recipe-sysroot/usr/include/boost/numeric/ublas/storage.hpp: In member function 'void boost::numeric::ublas::bounded_array<T, N, ALLOC>::serialize(Archive&, unsigned int)':
| /home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/i586-oe-linux/tf/1.11.8-r0/recipe-sysroot/usr/include/boost/numeric/ublas/storage.hpp:494:18: error: 'make_array' is not a member of 'boost::serialization'
|              ar & serialization::make_array(data_, s);
|                   ^~~~~~~~~~~~~

And similarly for bfl, a similar error occurs:

| /home/lukas/work/repositories/openembedded.org/openembedded-core/build/tmp-glibc/work/i586-oe-linux/bfl/0.7.0-6-r0/recipe-sysroot/usr/include/boost/numeric/ublas/storage.hpp:299:18: error: 'make_array' is not a member of 'boost::serialization'
|              ar & serialization::make_array(data_, s);
|                   ^~~~~~~~~~~~~

The failing build configuration is:

Build Configuration:
BB_VERSION        = "1.33.4"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "ubuntu-14.04"
TARGET_SYS        = "i586-oe-linux"
MACHINE           = "qemux86"
DISTRO            = "nodistro"
DISTRO_VERSION    = "nodistro.0"
TUNE_FEATURES     = "m32 i586"
TARGET_FPU        = ""
meta              = "master:c59fa3bd71b42410bf032846ee8fdb6e6eb1b95c"
meta-oe           
meta-multimedia   
meta-python       = "master:fc03b3d9382dd5b6a8fff5f84e4c86a1acc9a73a"
meta-ros          = "boost-update-to-1.64:118a1d072872cd1c7b013e9ff1545116a7703627"

[1] http://cgit.openembedded.org/openembedded-core/commit/?id=9ba71dc40dd782d192504b0827ca91f0fe180abe

@rojkov
Copy link
Contributor

rojkov commented May 15, 2017

This patch [1] fixes the issue. I'll submit a backport to OE-core.

[1] boostorg/serialization@1d86261

@rojkov
Copy link
Contributor

rojkov commented May 15, 2017

@bulwahn
Copy link
Contributor Author

bulwahn commented May 16, 2017

The tf package could be easily addressed to work around the issue. Then, I also encountered another issue in the laser-geometry package.
However, it is much better to just get boost properly working again. I am currently testing the proposed boost patch with meta-ros.

@bulwahn
Copy link
Contributor Author

bulwahn commented May 16, 2017

I tested the boost patch successfully with this build configuration:

Build Configuration:
BB_VERSION        = "1.33.4"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "ubuntu-14.04"
TARGET_SYS        = "i586-oe-linux"
MACHINE           = "qemux86"
DISTRO            = "nodistro"
DISTRO_VERSION    = "nodistro.0"
TUNE_FEATURES     = "m32 i586"
TARGET_FPU        = ""
meta              = "boost-1.64-fix:313410a3130272edf9c6d5155b27967e272ce16d"
meta-oe           
meta-multimedia   
meta-python       = "master:fc03b3d9382dd5b6a8fff5f84e4c86a1acc9a73a"
meta-ros          = "master:36eb1dd4f23f4a65827aea12258b4fbc7f751dc1"

halstead pushed a commit to openembedded/openembedded-core that referenced this issue May 29, 2017
The v1.64 release has broken array serialization code with issues
reported in

https://svn.boost.org/trac/boost/ticket/12516
ros/meta-ros#505

Backport the fix from boost::serialization's master.

Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
kraj pushed a commit to YoeDistro/poky-old that referenced this issue May 30, 2017
The v1.64 release has broken array serialization code with issues
reported in

https://svn.boost.org/trac/boost/ticket/12516
ros/meta-ros#505

Backport the fix from boost::serialization's master.

(From OE-Core rev: b39ec1184eea0ffcc6f0ff63e356811986b28205)

Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
kraj pushed a commit to YoeDistro/poky-old that referenced this issue May 30, 2017
The v1.64 release has broken array serialization code with issues
reported in

https://svn.boost.org/trac/boost/ticket/12516
ros/meta-ros#505

Backport the fix from boost::serialization's master.

(From OE-Core rev: b39ec1184eea0ffcc6f0ff63e356811986b28205)

Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
halstead pushed a commit to openembedded/openembedded-core that referenced this issue May 30, 2017
The v1.64 release has broken array serialization code with issues
reported in

https://svn.boost.org/trac/boost/ticket/12516
ros/meta-ros#505

Backport the fix from boost::serialization's master.

Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
kraj pushed a commit to YoeDistro/poky-old that referenced this issue May 30, 2017
The v1.64 release has broken array serialization code with issues
reported in

https://svn.boost.org/trac/boost/ticket/12516
ros/meta-ros#505

Backport the fix from boost::serialization's master.

(From OE-Core rev: e1da4cc99e57c596b2a354767cc1e261718dac52)

Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
@bulwahn
Copy link
Contributor Author

bulwahn commented Jun 1, 2017

The commit that resolves this issue has been finally merged to openembedded-core, cf. http://cgit.openembedded.org/openembedded-core/commit/?id=e1da4cc99e57c596b2a354767cc1e261718dac52.

@bulwahn
Copy link
Contributor Author

bulwahn commented Jun 27, 2017

Issue is resolved in the openembedded-core repository for quite some time; so we expect that users will not encounter the issue if they update to recent versions.

@bulwahn bulwahn closed this as completed Jun 27, 2017
daregit pushed a commit to daregit/yocto-combined that referenced this issue May 22, 2024
The v1.64 release has broken array serialization code with issues
reported in

https://svn.boost.org/trac/boost/ticket/12516
ros/meta-ros#505

Backport the fix from boost::serialization's master.

(From OE-Core rev: e1da4cc99e57c596b2a354767cc1e261718dac52)

Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
daregit pushed a commit to daregit/yocto-combined that referenced this issue May 22, 2024
The v1.64 release has broken array serialization code with issues
reported in

https://svn.boost.org/trac/boost/ticket/12516
ros/meta-ros#505

Backport the fix from boost::serialization's master.

(From OE-Core rev: e1da4cc99e57c596b2a354767cc1e261718dac52)

Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants