tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bad paths in installed cmake files
In the macos 12 bulk build, mosquitto didn't build. (It builds most
places, I think.)
reading the log:
https://reports.pkgci.org/Darwin/12.3/arm64/20250606.1533/mosquitto-2.0.21nb1/configure.log
I see
CMake Error in src/CMakeLists.txt:
Imported target "websockets_shared" includes non-existent path
"/Users/pbulk/build/www/libwebsockets/work/.buildlink/include"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
I looked on my NetBSD 10 system and
$ egrep work /usr/pkg/lib/cmake/libwebsockets/*
/usr/pkg/lib/cmake/libwebsockets/LibwebsocketsTargets.cmake: INTERFACE_LINK_LIBRARIES "websockets_shared;/tmp/work/www/libwebsockets/work/.buildlink/lib/libuv.so"
/usr/pkg/lib/cmake/libwebsockets/LibwebsocketsTargets.cmake: OR NOT DEFINED _cmake_import_check_xcframework_for_${_cmake_target}
/usr/pkg/lib/cmake/libwebsockets/LibwebsocketsTargets.cmake: OR NOT IS_DIRECTORY "${_cmake_import_check_xcframework_for_${_cmake_target}}")
and while lines 2 and 3 are ok, line 1 is not.
It seems
we need to patch out build paths harder
it would be great to have a 'make package'-time check for bad paths
in cmakefiles
but IANA cmake expert.
Home |
Main Index |
Thread Index |
Old Index