Created attachment 200346 [details] patch Testbuilds look fine. make test fails. Is this update still useful or how can the tests be fixed ? Testing utility scripts ... failed. discrepancies found. Errors are: test cf-check-lib set LIBS: expects ("LIBS = -lm") => got ("LIBS = -lcrypt -lutil -lrt -lm -pthread") Total: 19691 tests, 19689 passed, 2 failed, 0 aborted.
Changelog: http://practical-scheme.net/gauche/gmemo/?Release%200.9.7
make test in the old version 0.9.6 does not fail on two tests.
A commit references this bug: Author: danfe Date: Sat Dec 29 08:03:25 UTC 2018 New revision: 488658 URL: https://svnweb.freebsd.org/changeset/ports/488658 Log: - Update `lang/gauche' to version 0.9.7 - Fix two tests that are failing on FreeBSD: one because clang aborts due to failed assertion when trying to compile ``extern void sin(); sin();'': Assertion failed: (Arg < NumArgs && "Arg access out of range!"), function getArg, file /usr/src/contrib/llvm/tools/clang/include/clang/AST/Expr.h, line 2283. cc: error: unable to execute command: Abort trap (core dumped) Another test (cf-check-lib) fails because of the LIBS variable which is passed on the TEST_ENV list. Since there's nothing useful to the tests there anyway, just ensure it is empty PR: 234257 Changes: head/lang/gauche/Makefile head/lang/gauche/distinfo head/lang/gauche/files/patch-src_Makefile.in head/lang/gauche/pkg-plist
These two tests were added recently, and are a bit fragile ATM (aggressive "(cf-check-lib "m" "sin")" test which causes clang to segfault, and other is subject to LIB variable pollution from the environment) and should be fixed. I'd report this upstream (probably already next year. :-) I've committed version update, but left other, unrelated and non-functional changes to Makefile out to reduce the diff noise.