Bug 1217252 - PDAL failed to build error: invalid conversion from 'const OGRSpatialReference*' to 'OGRSpatialReference*' [-fpermissive]
Summary: PDAL failed to build error: invalid conversion from 'const OGRSpatialReferenc...
Status: IN_PROGRESS
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: Development (show other bugs)
Version: Leap 15.6
Hardware: Other Other
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: Bruno Friedmann
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-16 16:25 UTC by Lubos Kocman
Modified: 2024-01-16 19:11 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lubos Kocman 2023-11-16 16:25:59 UTC
Hello

PDAL does not build on Leap 15.6. This should be fixed before Beta (Feb 2023).
https://en.opensuse.org/openSUSE:Roadmap#Schedule_for_openSUSE_Leap_15.6

Build log from Leap 15.6
https://build.opensuse.org/package/live_build_log/openSUSE:Backports:SLE-15-SP6/PDAL/standard/x86_64

[  169s] /home/abuild/rpmbuild/BUILD/PDAL-2.3.0-src/pdal/Geometry.cpp:143:59: error: invalid conversion from 'const OGRSpatialReference*' to 'OGRSpatialReference*' [-fpermissive]
[  169s]      OGRSpatialReference *srs = m_geom->getSpatialReference();
[  169s]                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
[  169s] /home/abuild/rpmbuild/BUILD/PDAL-2.3.0-src/pdal/Geometry.cpp: In member function 'pdal::Utils::StatusWithReason pdal::Geometry::transform(pdal::SpatialReference)':
[  169s] /home/abuild/rpmbuild/BUILD/PDAL-2.3.0-src/pdal/Geometry.cpp:162:61: error: invalid conversion from 'const OGRSpatialReference*' to 'OGRSpatialReference*' [-fpermissive]
[  169s]      OGRSpatialReference *inSrs = m_geom->getSpatialReference();
[  169s]                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
[  169s] make[2]: *** [CMakeFiles/pdal_base.dir/build.make:1899: CMakeFiles/pdal_base.dir/pdal/Geometry.cpp.o] Error 1
[  169s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/PDAL-2.3.0-src/build'
Comment 1 Bruno Friedmann 2023-12-28 17:38:03 UTC
PDAL got updated to latest 2.5.6 upstream revision.

It build nicely for Factory and Tumbleweed but still failed for unknown reason on 15.6 and 15.5

No idea why those platform are not equivalent to TW?
Comment 3 Bruno Friedmann 2024-01-16 19:11:52 UTC
This will not bee easy to fix.

It failed on LEAP due to gcc7, I've completely forgotten what kine of dinosaurs we still have in Leap with no easy alternatives support...

From what I've seen PDAL build with gcc10,11 but failed with 12,13 on Leap, while building on TW 

:-( 

So will see with upstream, but really not a priority for me. 

So Lubos should we introduce a delete request ?