[Bug 280562] [exp-run] Against llvm-19-update branch on GitHub

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 19 Jan 2025 13:35:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280562

--- Comment #200 from Thierry Thomas <thierry@FreeBSD.org> ---
On my poudriere running -CURRENT I can reproduce the error listed in
https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/pf72088b8f67d_s3d0a0dda3a7/logs/linbox-1.7.0_5.log

With the patches from upstream for GCC-15 I can go farther...

But your probem is the missing sed:
- there is "BINARY_ALIAS=sed=${LOCALBASE}/bin/gsed" for the option Doxygen
- the dependency on textproc/gsed is only defined for Doxygen.

I guess that you try to build it without the Doxygen option, and the port must
be wrong since gsed seems needed.

Could you please try this patche?

--- a/math/linbox/Makefile
+++ b/math/linbox/Makefile
@@ -11,7 +11,8 @@ WWW=          https://linalg.org/
 LICENSE=       GPLv2 LGPL21
 LICENSE_COMB=  dual

-BUILD_DEPENDS= fflas-ffpack-config:math/fflas-ffpack
+BUILD_DEPENDS= fflas-ffpack-config:math/fflas-ffpack   \
+               gsed:textproc/gsed
 LIB_DEPENDS=   libgmp.so:math/gmp              \
                libgivaro.so:math/givaro
 RUN_DEPENDS=   bash:shells/bash
@@ -27,6 +28,7 @@ SHEBANG_FILES=        benchmarks/perfpublisher.sh
linbox-auto-install.sh      \
                tests/perfpublisher.sh tests/test_leak.sh
 USE_CXXSTD=    c++14
 GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
+BINARY_ALIAS=sed=${LOCALBASE}/bin/gsed

 OPTIONS_DEFINE=                DOXYGEN
 OPTIONS_RADIO=         SIZE
@@ -50,11 +52,9 @@ FULL_RUN_DEPENDS=    gnuplot:math/gnuplot
 FULL_USES=             ghostscript
 FULL_CONFIGURE_WITH=   flint fplll ghostscript gnuplot iml mpfr ntl ocl

-DOXYGEN_VARS=          BINARY_ALIAS=sed=${LOCALBASE}/bin/gsed
 DOXYGEN_CONFIGURE_ENABLE=doc
 DOXYGEN_CONFIGURE_WITH=        docdir=${DOCSDIR}
-DOXYGEN_BUILD_DEPENDS= gsed:textproc/gsed      \
-                       dot:graphics/graphviz   \
+DOXYGEN_BUILD_DEPENDS= dot:graphics/graphviz   \
                        doxygen:devel/doxygen

 GNU_CONFIGURE= yes

-- 
You are receiving this mail because:
You are on the CC list for the bug.