Summary: | math/octave-forge-rtree: Does not build with GCC 13: configure: error: octave not found | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Lorenzo Salvadore <salvadore> |
Component: | Individual Port(s) | Assignee: | Stephen Montgomery-Smith <stephen> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | stephen |
Priority: | --- | Flags: | salvadore:
maintainer-feedback?
(stephen) |
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Lorenzo Salvadore
![]() ![]() pkg-fallout was also giving me this error. I am unable to reproduce it. Somehow the build depends weren't being brought in by poudriere. Since then, this error stopped being reported, making me think it might have been a problem with the package builder server. But it might be something else. If you look at the full build log, you will see that the only build dependency brought in is pkg. Can you see if the problem resolved itself? I have reproduced the issue, without using poudriere: http://cirrus-ci.com/build/6631814924599296 Also please not that octave has been installed successfully before attempting to build octave-forge-rtree. On the other hand, I have kept GCC_DEFAULT to GCC 12, so this bug has nothing to do with the exp-run to update it to GCC 13 and I can remove that block. Could I ask you to try this patch? (The patch is probably mangled, but it should be very easy to apply by hand.) diff --git a/math/octave-forge-rtree/Makefile b/math/octave-forge-rtree/Makefile index a7a7cb982ca3..b04a4b9f27fd 100644 --- a/math/octave-forge-rtree/Makefile +++ b/math/octave-forge-rtree/Makefile @@ -9,7 +9,7 @@ WWW= https://packages.octave.org/ LICENSE= GPLv3 LICENSE_FILE= ${EXTRACT_DIR}/COPYING -USES= octave +USES= octave autoreconf:build BUILD_DEPENDS+= gtar:archivers/gtar LIB_DEPENDS+= libjansson.so:devel/jansson No need to test my previous request. I think I know what is going on. I'll have something committed soon. A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=1832da1106e584fc42e0f1e8b20e2abfba1f9dde commit 1832da1106e584fc42e0f1e8b20e2abfba1f9dde Author: Stephen Montgomery-Smith <stephen@FreeBSD.org> AuthorDate: 2024-02-05 20:24:42 +0000 Commit: Stephen Montgomery-Smith <stephen@FreeBSD.org> CommitDate: 2024-02-05 20:24:42 +0000 math/octave-forge-rtree: Fix build issues. 1. Requires autoreconf:build to build in clean environment. 2. Failed in poudriere, because certain environment variables weren't set in patch phase. PR: 276802 Reported by: Lorenzo Salvadore <salvadore@freebsd.org>, pkg-fallout@ math/octave-forge-rtree/Makefile | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) Thank you for the problem report. It helped me diagnose the problem. |