Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 722878 - sci-geosciences/liblas-1.8.1-r3: binary.hpp:28:10: fatal error: boost/detail/endian.hpp: No such file or directory
Summary: sci-geosciences/liblas-1.8.1-r3: binary.hpp:28:10: fatal error: boost/detail/...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: boost-1.74
  Show dependency tree
 
Reported: 2020-05-13 19:08 UTC by Attila Tóth
Modified: 2020-06-15 09:54 UTC (History)
0 users

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


Attachments
fix-boost-headers.patch (fix-boost-headers.patch,1.41 KB, patch)
2020-05-13 19:09 UTC, Attila Tóth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Attila Tóth 2020-05-13 19:08:30 UTC
[1/86] /usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_GDAL=1 -DHAVE_LIBGEOTIFF=1 -Dlas_EXPORTS -I/var/tmp/portage/sci-geosciences/liblas-1.8.1-r3/work/libLAS-1.8.1/src/../include -I/usr/include/gdal  -O2 -march=native -pipe -fPIC -MD -MT src/CMakeFiles/las.dir/variablerecord.cpp.o -MF src/CMakeFiles/las.dir/variablerecord.cpp.o.d -o src/CMakeFiles/las.dir/variablerecord.cpp.o -c /var/tmp/portage/sci-geosciences/liblas-1.8.1-r3/work/libLAS-1.8.1/src/variablerecord.cpp
FAILED: src/CMakeFiles/las.dir/variablerecord.cpp.o
/usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_GDAL=1 -DHAVE_LIBGEOTIFF=1 -Dlas_EXPORTS -I/var/tmp/portage/sci-geosciences/liblas-1.8.1-r3/work/libLAS-1.8.1/src/../include -I/usr/include/gdal  -O2 -march=native -pipe -fPIC -MD -MT src/CMakeFiles/las.dir/variablerecord.cpp.o -MF src/CMakeFiles/las.dir/variablerecord.cpp.o.d -o src/CMakeFiles/las.dir/variablerecord.cpp.o -c /var/tmp/portage/sci-geosciences/liblas-1.8.1-r3/work/libLAS-1.8.1/src/variablerecord.cpp
In file included from /var/tmp/portage/sci-geosciences/liblas-1.8.1-r3/work/libLAS-1.8.1/src/../include/liblas/detail/private_utility.hpp:47,
                 from /var/tmp/portage/sci-geosciences/liblas-1.8.1-r3/work/libLAS-1.8.1/src/../include/liblas/variablerecord.hpp:46,
                 from /var/tmp/portage/sci-geosciences/liblas-1.8.1-r3/work/libLAS-1.8.1/src/variablerecord.cpp:44:
/var/tmp/portage/sci-geosciences/liblas-1.8.1-r3/work/libLAS-1.8.1/src/../include/liblas/detail/binary.hpp:28:10: fatal error: boost/detail/endian.hpp: No such file or directory
   28 | #include <boost/detail/endian.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.


Reproducible: Always
Comment 1 Attila Tóth 2020-05-13 19:09:24 UTC
Created attachment 638656 [details, diff]
fix-boost-headers.patch

Proposed patch accomodated to Gentoo from:
https://github.com/yurybura/vcpkg/blob/443473366bb64c3e87417fefe86a1b036478675b/ports/liblas/fix-boost-headers.patch
Comment 2 Larry the Git Cow gentoo-dev 2020-06-15 09:54:06 UTC
The bug has been closed via the following commit(s):

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

commit cdb09fb67044e74063938f4b8091d602da75146c
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-06-15 09:53:48 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-06-15 09:53:48 +0000

    sci-geosciences/liblas: Fix building against boost 1.73
    
    Closes: https://bugs.gentoo.org/722878
    Package-Manager: Portage-2.3.100, Repoman-2.3.22
    Suggested-by: Attila Tóth <atoth@atoth.sote.hu>
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../liblas/files/liblas-1.8.1-boost-1.73.patch     | 55 ++++++++++++++++++++++
 sci-geosciences/liblas/liblas-1.8.1-r3.ebuild      |  1 +
 2 files changed, 56 insertions(+)