[Bug 257615] devel/cmake: CPack FreeBSD generator fails after upgrade to pkg-1.17.0

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 04 Aug 2021 11:43:14 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257615

            Bug ID: 257615
           Summary: devel/cmake: CPack FreeBSD generator fails after
                    upgrade to pkg-1.17.0
           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: freebsd@mosedal.net
             Flags: maintainer-feedback?(kde@FreeBSD.org)
          Assignee: kde@FreeBSD.org

Hi,
The CPack FreeBSD package generator fails to copy the final generated package
if pkg-1.17 or any later version is installed.
The problem turns out to be simple to fix. After the package prefix was changed
from ".txz" to ".pkg", the CPack Generator can no longer find its package,
leading to it failing. However, the package is generated as expected, just not
copied to its final location.

A possibly temporary fix is to change the package suffix in the file
"files/patch-cmake-issue-18031", line 19,  from ".txz" to ".pkg".
At least, this fixes the bug in my local testing and the package is generated
(and copied) as expected.

All the best,

Peter.

-- 
You are receiving this mail because:
You are the assignee for the bug.