I just upgraded one home machine from 13.5 to 15.0 (via 14.3).
I have managed to recompile most ports, but what still fail are suitesparse stuff:
suitesparse-amd-3.3.3 < needs updating (port has 3.3.4)
suitesparse-camd-3.3.3 < needs updating (port has 3.3.5)
suitesparse-ccolamd-3.3.4 < needs updating (port has 3.3.5)
suitesparse-cholmod-5.3.1 < needs updating (port has 5.3.4)
suitesparse-colamd-3.3.4 < needs updating (port has 3.3.5)
suitesparse-config-7.10.1 < needs updating (port has 7.12.1)
suitesparse-cxsparse-4.4.1 < needs updating (port has 4.4.2)
suitesparse-spqr-4.3.4_1 < needs updating (port has 4.3.6)
suitesparse-umfpack-6.3.5_1 < needs updating (port has 6.3.7)
For some reason upgrade fails, please some guidance how to fix that:
I have no idea what suitesparse is used for, probably some dependency pulled it in...
I have managed to recompile most ports, but what still fail are suitesparse stuff:
suitesparse-amd-3.3.3 < needs updating (port has 3.3.4)
suitesparse-camd-3.3.3 < needs updating (port has 3.3.5)
suitesparse-ccolamd-3.3.4 < needs updating (port has 3.3.5)
suitesparse-cholmod-5.3.1 < needs updating (port has 5.3.4)
suitesparse-colamd-3.3.4 < needs updating (port has 3.3.5)
suitesparse-config-7.10.1 < needs updating (port has 7.12.1)
suitesparse-cxsparse-4.4.1 < needs updating (port has 4.4.2)
suitesparse-spqr-4.3.4_1 < needs updating (port has 4.3.6)
suitesparse-umfpack-6.3.5_1 < needs updating (port has 6.3.7)
For some reason upgrade fails, please some guidance how to fix that:
Code:
# portupgrade suitesparse-amd
[Reading data from pkg(8) ... - 637 packages found - done]
---> Upgrading 'suitesparse-amd-3.3.3' to 'suitesparse-amd-3.3.4' (math/suitesparse-amd)
---> Building '/usr/ports/math/suitesparse-amd'
===> Cleaning for suitesparse-amd-3.3.4
/!\ WARNING /!\
You have security/openssl installed but do not have
DEFAULT_VERSIONS+=ssl=openssl set in your make.conf
===> suitesparse-amd-3.3.4 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by suitesparse-amd-3.3.4 for building
===> Extracting for suitesparse-amd-3.3.4
=> SHA256 Checksum OK for suitesparse/v7.12.1.tar.gz.
===> Patching for suitesparse-amd-3.3.4
===> suitesparse-amd-3.3.4 depends on executable: gfortran14 - found
===> suitesparse-amd-3.3.4 depends on file: /usr/local/bin/cmake - found
===> suitesparse-amd-3.3.4 depends on file: /usr/local/bin/as - found
===> suitesparse-amd-3.3.4 depends on shared library: libsuitesparseconfig.so - found (/usr/local/lib/libsuitesparseconfig.so)
===> Configuring for suitesparse-amd-3.3.4
===> Performing in-source build
/bin/mkdir -p /usr/ports/math/suitesparse-amd/work/SuiteSparse-7.12.1/AMD
-- Building AMD version: v3.3.4 (July 25, 2025)
-- The C compiler identification is Clang 19.1.7
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Source: /usr/ports/math/suitesparse-amd/work/SuiteSparse-7.12.1/AMD
-- Build: /usr/ports/math/suitesparse-amd/work/SuiteSparse-7.12.1/AMD
-- Install lib: lib
-- Install include: include/suitesparse
-- Install bin: bin
-- Install pkg-file: lib
-- Install rpath: $ORIGIN
-- Build rpath:
-- Build type: Release
-- Checking if Fortran is available and compatible with C/C++
-- Looking for a Fortran compiler
-- Looking for a Fortran compiler - /usr/local/bin/gfortran14
-- The CXX compiler identification is Clang 19.1.7
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The Fortran compiler identification is GNU 14.2.0
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Check for working Fortran compiler: /usr/local/bin/gfortran14 - skipped
--
-- Incompatible Fortran/C/C++ compilers detected:
-- Fortran: /usr/local/bin/gfortran14
-- Fortran id: GNU
-- C /usr/bin/cc
-- C id: Clang
-- C++ /usr/bin/c++
-- C++ id: Clang
CMake Warning at /usr/ports/math/suitesparse-amd/work/SuiteSparse-7.12.1/SuiteSparse_config/cmake_modules/SuiteSparsePolicy.cmake:328 (message):
Warning: Using Fortran with SuiteSparse requires that it has the same
compiler ID as the C/C++ compilers. Use a compatible Fortran compiler, or
set SUITESPARSE_USE_FORTRAN to OFF.
Call Stack (most recent call first):
CMakeLists.txt:40 (include)
-- Fortran: enabled
-- Looking for a CUDA compiler
-- Looking for a CUDA compiler - NOTFOUND
-- CUDA: not found
-- CUDA: not enabled
-- Could NOT find SuiteSparse_config (missing: SuiteSparse_config_DIR)
CMake Error at CMakeLists.txt:55 (find_package):
Could not find a configuration file for package "SuiteSparse_config" that
is compatible with requested version "7.11.0".
The following configuration files were considered but not accepted:
/usr/local/lib/cmake/SuiteSparse_config/SuiteSparse_configConfig.cmake, version: 7.10.1
-- Configuring incomplete, errors occurred!
*** Error code 1
Stop.
make[1]: stopped making "/usr/ports/math/suitesparse-amd/work/.stage_done.amd._usr_local" in /usr/ports/math/suitesparse-amd
*** Error code 1
Stop.
make: stopped making "all" in /usr/ports/math/suitesparse-amd
egrep: empty (sub)expression
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20251228-38940-okqsa5 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=suitesparse-amd-3.3.3 UPGRADE_PORT_VER=3.3.3 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! math/suitesparse-amd (suitesparse-amd-3.3.3) (unknown build error)
I have no idea what suitesparse is used for, probably some dependency pulled it in...