[Bug 286926] math/suitesparse-cholmod fails to build due to upstream version change

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 19 May 2025 09:18:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286926

            Bug ID: 286926
           Summary: math/suitesparse-cholmod fails to build due to
                    upstream version change
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: fortran@FreeBSD.org
          Reporter: sko@rostwald.de
             Flags: maintainer-feedback?(fortran@FreeBSD.org)
          Assignee: fortran@FreeBSD.org

Created attachment 260537
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=260537&action=edit
math/suitesparse-cholmod: bump PORTVERSION to match upstream

The port has been updated upstream to v 5.3.3, which is being pulled and built,
yet the Makefile still references 5.3.2 which causes the install
phase/packaging to fail:


[...]
Install the project...                                                          
/usr/local/bin/cmake -P cmake_install.cmake  
-- Install configuration: "Release"                                             
-- Installing:
/wrkdirs/usr/ports/math/suitesparse-cholmod/work/stage/usr/local/lib/libcholmod.so.5.3.3 
-- Installing:
/wrkdirs/usr/ports/math/suitesparse-cholmod/work/stage/usr/local/lib/libcholmod.so.5 
-- Set non-toolchain portion of runtime path of
"/wrkdirs/usr/ports/math/suitesparse-cholmod/work/stage/usr/local/lib/libcholmod.so.5.3.3"
to "$ORIGIN"                                                                    
-- Installing:
/wrkdirs/usr/ports/math/suitesparse-cholmod/work/stage/usr/local/lib/libcholmod.so 
-- Installing:
/wrkdirs/usr/ports/math/suitesparse-cholmod/work/stage/usr/local/include/suitesparse/cholmod.h 
-- Installing:
/wrkdirs/usr/ports/math/suitesparse-cholmod/work/stage/usr/local/lib/libcholmod.a 
-- Up-to-date:
/wrkdirs/usr/ports/math/suitesparse-cholmod/work/stage/usr/local/include/suitesparse/cholmod.h 
-- Installing:
/wrkdirs/usr/ports/math/suitesparse-cholmod/work/stage/usr/local/lib/cmake/CHOLMOD/CHOLMODTargets.cmake 
-- Installing:
/wrkdirs/usr/ports/math/suitesparse-cholmod/work/stage/usr/local/lib/cmake/CHOLMOD/CHOLMODTargets-release.cmake 
-- Installing:
/wrkdirs/usr/ports/math/suitesparse-cholmod/work/stage/usr/local/lib/cmake/CHOLMOD/CHOLMODConfig.cmake 
-- Installing:
/wrkdirs/usr/ports/math/suitesparse-cholmod/work/stage/usr/local/lib/cmake/CHOLMOD/CHOLMODConfigVersion.cmake 
-- Installing:
/wrkdirs/usr/ports/math/suitesparse-cholmod/work/stage/usr/local/lib/pkgconfig/CHOLMOD.pc 
install  -m 0644
/wrkdirs/usr/ports/math/suitesparse-cholmod/work/SuiteSparse-7.10.3/CHOLMOD/README.txt

/wrkdirs/usr/ports/math/suitesparse-cholmod/work/stage/usr/local/share/doc/suitesparse/CHOLMOD_README.txt 
install  -m 0644
/wrkdirs/usr/ports/math/suitesparse-cholmod/work/SuiteSparse-7.10.3/CHOLMOD/Doc/CHOLMOD_UserGuide.pdf
 
/wrkdirs/usr/ports/math/suitesparse-cholmod/work/stage/usr/local/share/doc/suitesparse 
====> Compressing man pages (compress-man)                                      
===========================================================================   
====> Running Q/A tests (stage-qa)
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: lib/libcholmod.so.5.3.3
===> Checking for items in pkg-plist which are not in STAGEDIR
Error: Missing: lib/libcholmod.so.%%VER%%
===> Error: Plist issues found.
*** Error code 1


Bumping the PORTVERSION to 5.3.3 fixes the build.

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