[Bug 267894] devel/cmake-core: Potential bug in FreeBSD CPack generator
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 21 Nov 2022 16:55:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267894 Bug ID: 267894 Summary: devel/cmake-core: Potential bug in FreeBSD CPack generator Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: kde@FreeBSD.org Reporter: jbo@insane.engineer Assignee: kde@FreeBSD.org Flags: maintainer-feedback?(kde@FreeBSD.org) A pkg package generated with the CPack FreeBSD generator will fail to install when CPACK_FREEBSD_PACKAGE_DEPS is non empty. To reproduce, ensure that the FreeBSD CPack generator is enabled in the port options. Run the following CMakeLists.txt script: cmake_minimum_required(VERSION 3.24) project(cpack_test) set(CPACK_PACKAGE_VENDOR "nobody") set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "cpack freebsd generator test") set(CPACK_FREEBSD_PACKAGE_MAINTAINER "nodbody@no.where") set(CPACK_FREEBSD_PACKAGE_LICENSE "BSD") set(CPACK_FREEBSD_PACKAGE_DEPS "devel/spdlog devel/gpds") # Error when installing the resulting package: pkg: elx has a missing dependency: devel/spdlog devel/gpds include(CPack) Then, run CPack with the FreeBSD generator. The package builds fine but fails to install with: pkg: cpack_test has a missing dependency: devel/spdlog devel/gpds If the CPACK_FREEBSD_PACKAGE_DEPS variable is empty, the package installs just fine. There's a good chance that this is PEBKAC but I'm out of ideas. -- You are receiving this mail because: You are the assignee for the bug.