Bug 2429621 - /usr/include/laszip/mydefs.hpp:48:10: fatal error: lasmessage.hpp: No such file or directory
Summary: /usr/include/laszip/mydefs.hpp:48:10: fatal error: lasmessage.hpp: No such fi...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: laszip
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Sandro Mani
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2429148
TreeView+ depends on / blocked
 
Reported: 2026-01-14 16:12 UTC by Jonathan Wakely
Modified: 2026-01-14 17:46 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-01-14 16:56:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jonathan Wakely 2026-01-14 16:12:11 UTC
liblas fails to build in rawhide with this error:

In file included from /usr/include/laszip/laszip.hpp:98,
                 from /builddir/build/BUILD/liblas-1.8.2-build/libLAS-0756b73ed41211d1bb8d9b96c6767f2350d8fe2b/src/header.cpp:51:
/usr/include/laszip/mydefs.hpp:48:10: fatal error: lasmessage.hpp: No such file or directory
   48 | #include "lasmessage.hpp"
      |          ^~~~~~~~~~~~~~~~
compilation terminated.


It looks like laszip-devel installs a file that can't be included, because some other file it includes is missing.

Reproducible: Always

Steps to Reproduce:
bash-5.3# cat > test.cc
#include <laszip/laszip.hpp>
bash-5.3# g++ test.cc -c
In file included from /usr/include/laszip/laszip.hpp:98,
                 from test.cc:1:
/usr/include/laszip/mydefs.hpp:48:10: fatal error: lasmessage.hpp: No such file or directory
   48 | #include "lasmessage.hpp"
      |          ^~~~~~~~~~~~~~~~
compilation terminated.

Comment 1 Jonathan Wakely 2026-01-14 16:53:51 UTC
I've also just noticed that the package summary says "compant" which should probably be compact?

Summary:        Quickly turns bulky LAS files into compant LAZ files

Comment 2 Sandro Mani 2026-01-14 16:56:54 UTC
Thanks, the header issue should be fixed in laszip-3.5.0-2.fc44. The typo is also fixed in git.

Comment 3 Jonathan Wakely 2026-01-14 17:46:15 UTC
Thanks! I was able to build liblas against boost-1.90.0 now.


Note You need to log in before you can comment on or make changes to this bug.