pdal ftbfs because cmake on Ubuntu points to multi-arch directories
Bug #1596391 reported by
Jeremy Bícha
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cmake (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
libcork (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
pdal (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
https:/
From the cmake changelog, I don't know if it's obvious but this means that Ubuntu is installing libraries in a different location than Debian if built with cmake:
Compare the output of:
https:/
-- Installing: /«PKGBUILDDIR»
https:/
-- Installing: /«PKGBUILDDIR»
This later causes pdal to ftbfs because the debian/rules expect the non-multiarch directories.
Changed in cmake (Ubuntu): | |
importance: | Undecided → High |
importance: | High → Undecided |
Changed in pdal (Ubuntu): | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in cmake (Ubuntu): | |
status: | New → Invalid |
Changed in libcork (Ubuntu): | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hi Jeremy, I'm afraid this is the intended behaviour
cmake (look at the delta) does this: /patches. ubuntu. com/c/cmake/ cmake_3. 5.2-1ubuntu1. patch
https:/
+ if(NOT DEFINED CMAKE_INSTALL_ LIBDIR) INSTALL_ LIBDIR "lib/${ CMAKE_LIBRARY_ ARCHITECTURE} ")
+ SET(CMAKE_
+ endif()
and pdal does:
if (DEFINED CMAKE_INSTALL_ LIBDIR)
set( PDAL_LIB_ INSTALL_ DIR "${CMAKE_ INSTALL_ LIBDIR} ")
set( PDAL_LIB_ INSTALL_ DIR "lib")
else()
endif()
so, this seems to be the reason for this.
what about fixing pdal to be multiarch?