Date: Mon, 21 Nov 2022 16:55:27 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 267894] devel/cmake-core: Potential bug in FreeBSD CPack generator Message-ID: <bug-267894-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267894 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 insta= ll 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 j= ust fine. There's a good chance that this is PEBKAC but I'm out of ideas. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-267894-7788>