Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 722732 - sci-libs/pcl-1.9.1 doesn't build against >=dev-libs/boost-1.73.0
Summary: sci-libs/pcl-1.9.1 doesn't build against >=dev-libs/boost-1.73.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: boost-1.74
  Show dependency tree
 
Reported: 2020-05-12 16:48 UTC by Victor Mataré
Modified: 2020-05-15 16:34 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Mataré 2020-05-12 16:48:18 UTC
In file included from /var/tmp/portage/sci-libs/pcl-1.9.1-r1/work/pcl-pcl-1.9.1/common/include/pcl/pcl_base.h:55,
                 from /var/tmp/portage/sci-libs/pcl-1.9.1-r1/work/pcl-pcl-1.9.1/common/include/pcl/impl/pcl_base.hpp:40,
                 from /var/tmp/portage/sci-libs/pcl-1.9.1-r1/work/pcl-pcl-1.9.1/common/src/pcl_base.cpp:39:
/var/tmp/portage/sci-libs/pcl-1.9.1-r1/work/pcl-pcl-1.9.1/common/include/pcl/PCLPointCloud2.h:11:10: fatal error: boost/detail/endian.hpp: No such file or directory
   11 | #include <boost/detail/endian.hpp>     
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~                                                     
compilation terminated.

That header has been deprecated in boost and the interface has changed. It is already fixed upstream:
https://github.com/PointCloudLibrary/pcl/commit/dbadf4143bdc503203da0d87a786752a60d29e76

But that patch doesn't apply directly to pcl-1.9.1. Could be backported, but pcl-1.11.0 has just been relased, so I'd recommend bumping the version instead:
https://github.com/PointCloudLibrary/pcl/releases/tag/pcl-1.11.0

Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2020-05-15 16:34:12 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2a8fa44f662ea396244b03eef4c507359d71ed8

commit a2a8fa44f662ea396244b03eef4c507359d71ed8
Author:     Alexis Ballier <aballier@gentoo.org>
AuthorDate: 2020-05-15 15:09:24 +0000
Commit:     Alexis Ballier <aballier@gentoo.org>
CommitDate: 2020-05-15 16:33:45 +0000

    sci-libs/pcl: bump to 1.11.0
    
    Fixes build with boost 1.73 as a side effect.
    Closes: https://bugs.gentoo.org/722732
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    
    Signed-off-by: Alexis Ballier <aballier@gentoo.org>

 sci-libs/pcl/Manifest          |  1 +
 sci-libs/pcl/pcl-1.11.0.ebuild | 84 ++++++++++++++++++++++++++++++++++++++++++
 sci-libs/pcl/pcl-9999.ebuild   | 12 +++---
 3 files changed, 91 insertions(+), 6 deletions(-)