Bug 275162 - math/blaspp: Fails to build with GCC 13: BLAS++ requires a BLAS library and none was found.
Summary: math/blaspp: Fails to build with GCC 13: BLAS++ requires a BLAS library and n...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Yuri Victorovich
URL:
Keywords:
Depends on:
Blocks: 273397
  Show dependency treegraph
 
Reported: 2023-11-18 10:33 UTC by Lorenzo Salvadore
Modified: 2023-11-18 19:26 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (yuri)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lorenzo Salvadore freebsd_committer freebsd_triage 2023-11-18 10:33:33 UTC
This bug report blocks the update of GCC_DEFAULT to 13. This webpage can help finding a fix: https://gcc.gnu.org/gcc-13/porting_to.html

[31m   BLAS library not found.[39m
CMake Error at CMakeLists.txt:374 (message):
  BLAS++ requires a BLAS library and none was found.  Ensure that it is
  accessible in environment variables $CPATH, $LIBRARY_PATH, and
  $LD_LIBRARY_PATH.

Full log: https://pkg-status.freebsd.org/package22/data/132amd64-default-foo/2023-11-10_07h48m13s/logs/errors/blaspp-2022.05.00_1.log
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2023-11-18 19:25:25 UTC
Problem was fixed.

Thanks for reporting it!
Comment 2 commit-hook freebsd_committer freebsd_triage 2023-11-18 19:26:54 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a8bc918ae7c32c3e373434e0a412ff7a780b355c

commit a8bc918ae7c32c3e373434e0a412ff7a780b355c
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-11-18 19:21:07 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-11-18 19:25:57 +0000

    math/blaspp: Fix configure

    configure was failing to find the BLAS library because it used its
    own ad-hoc cmake file that was failing.
    find_package(BLAS) works.

    PR:             275162
    Reported by:    Lorenzo Salvadore <salvadore@freebsd.org>; fallout

 math/blaspp/Makefile | 1 +
 1 file changed, 1 insertion(+)