Re: ASDF test failure
Marius Gerbershagen <[email protected]> Sun, 14 Jun 2026 16:48:31 +0200
| Newsgroups | gmane.lisp.ecl.general |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--------------riLbffsnNK9Tht2dqYZHwyKQ
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Hi,
just fyi, I fixed the issue in ecl-make-image.script just now (it was
caused by a bug in ECL's ffi interface).
Best regards,
Marius Gerbershagen
Am 06.04.26 um 19:08 schrieb Robert Goldman:
>
> Hi, Daniel --
>
> I built a new Docker image for 26.3.27, and now I am getting two ASDF
> test failures:
>
> Error in ecl-make-image.script:
>
> |;;; Error: ;;; in file hello.lisp, position 72 ;;; at
> (DEF-FOREIGN-VAR (hello_string +HELLO-STRING+) ...) ;;; * Used @(*
> :CHAR) in C-INLINE form. Expected syntax is @(RETURN ...). TEST
> ABORTED: COMPILE-FILE-ERROR while compiling #<cl-source-file "hellow"
> "hello"> |
>
> As well as the same error in |test-bundle.script|.
>
> Full details here:
>
> https://gitlab.common-lisp.net/asdf/asdf/-/jobs/114506
>
> To run these tests, best would be to get a checkout of ASDF, and
> switch to the |fix-gitlab-ci| branch.
>
> Then you can do
>
> |cd test ./run-tests.sh -t ecl test-bundle.script ./run-tests.sh -t
> ecl ecl-make-image.script |
>
> The |-t| should run this interactively, instead of batch mode.
>
> I will try to figure out how to post this to the issue tracker. Is
> that on |gitlab.common-lisp.net| or |gitlab.com|?
>
> Thanks,
> R
>
> On 6 Apr 2026, at 2:48, Daniel Kochmański wrote:
>
> Hey Robert,
>
> I'm getting a test failure on ASDF with ECL in building a DLL
> on Linux. Hoping that someone can suggest an appropriate fix.
> You can find the full transcript here:
> https://gitlab.common-lisp.net/asdf/asdf/-/jobs/114480
>
> Here's the snippet with the error compiling through ECL to gcc:
>
> |;;; Compiling /builds/asdf/asdf/test/monodll-user.lisp. ;;;
> OPTIMIZE levels: Safety=3, Space=0, Speed=2, Debug=3 ;;; ;;;
> Internal error: ;;; ** Error code 1 when executing ;;;
> (EXT:RUN-PROGRAM "gcc" ("-I." "-I/usr/local/include/"
> "-D_GNU_SOURCE" "-D_FILE_OFFSET_BITS=64" "-g" "-O2" "-fPIC"
> "-D_THREAD_SAFE" "-Dlinux" "-O2" "-c"
> "/builds/asdf/asdf/build/fasls/ecl-24.5.10-linux-x64/asdf/test/monodll-user.c"
> "-o"
> "/builds/asdf/asdf/build/fasls/ecl-24.5.10-linux-x64/asdf/test/monodll-user.o")):
> ;;; In file included from /usr/local/include/ecl/ecl.h:81, ;;;
> from /usr/local/include/ecl/ecl-cmp.h:31, ;;; from
> /builds/asdf/asdf/build/fasls/ecl-24.5.10-linux-x64/asdf/test/monodll-user.c:5:
> ;;;
> /builds/asdf/asdf/build/fasls/ecl-24.5.10-linux-x64/asdf/test/monodll-user.c:
> In function 'L2always_42': ;;;
> /builds/asdf/asdf/build/fasls/ecl-24.5.10-linux-x64/asdf/test/monodll-user.c:21:26:
> error: implicit declaration of function 'always_42'; did you
> mean 'L2always_42'? [-Wimplicit-function-declaration] ;;; 21 |
> value0 = ecl_make_int(always_42()); ;;; | ^~~~~~~~~ TEST
> ABORTED: COMPILE-FILE-ERROR while compiling #<cl-source-file
> "test-asdf/monodll-user" "file-type"> |
>
> it seems that you are running the old release of ECL. Last month
> we've made a new release
> ECL 26.3.27 -- perhaps the problem is already fixed there?
>
> If not, please provide details how to run this test; preferably on
> the issue tracker, but
> if you can't do that, then the mailing list will do.
>
> Best regards,
> Daniel
>
--------------riLbffsnNK9Tht2dqYZHwyKQ
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">Hi,</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">just fyi, I fixed the issue in ecl-make-image.script
just now (it was caused by a bug in ECL's ffi interface).</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Best regards,</div>
<div class="moz-cite-prefix">Marius Gerbershagen</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Am 06.04.26 um 19:08 schrieb Robert
Goldman:<br>
</div>
<blockquote type="cite"
cite="mid:6035AF1C-17DF-43F6-98F5-0957B2B668A5-+bU95EEGNjthl2p70BpVqQ@public.gmane.org">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div style="font-family: sans-serif;">
<div class="markdown" style="white-space: normal;">
<p dir="auto">Hi, Daniel --</p>
<p dir="auto">I built a new Docker image for 26.3.27, and now
I am getting two ASDF test failures:</p>
<p dir="auto">Error in ecl-make-image.script:</p>
<pre
style="margin-left: 15px; margin-right: 15px; padding: 5px; background-color: #F7F7F7; border-radius: 5px 5px 5px 5px; overflow-x: auto; max-width: 90vw;"><code
style="margin: 0 0; border-radius: 3px; background-color: #F7F7F7; padding: 0px;">;;; Error:
;;; in file hello.lisp, position 72
;;; at (DEF-FOREIGN-VAR (hello_string +HELLO-STRING+) ...)
;;; * Used @(* :CHAR) in C-INLINE form. Expected syntax is @(RETURN ...).
TEST ABORTED: COMPILE-FILE-ERROR while
compiling #<cl-source-file "hellow" "hello">
</code></pre>
<p dir="auto">As well as the same error in <code
style="margin: 0 0; padding: 0 0.25em; border-radius: 3px; background-color: #F7F7F7;">test-bundle.script</code>.</p>
<p dir="auto">Full details here:</p>
<p dir="auto"><a
href="https://gitlab.common-lisp.net/asdf/asdf/-/jobs/114506"
style="color: #3983C4;" moz-do-not-send="true"
class="moz-txt-link-freetext">https://gitlab.common-lisp.net/asdf/asdf/-/jobs/114506</a></p>
<p dir="auto">To run these tests, best would be to get a
checkout of ASDF, and switch to the <code
style="margin: 0 0; padding: 0 0.25em; border-radius: 3px; background-color: #F7F7F7;">fix-gitlab-ci</code>
branch.</p>
<p dir="auto">Then you can do</p>
<pre
style="margin-left: 15px; margin-right: 15px; padding: 5px; background-color: #F7F7F7; border-radius: 5px 5px 5px 5px; overflow-x: auto; max-width: 90vw;"><code
style="margin: 0 0; border-radius: 3px; background-color: #F7F7F7; padding: 0px;">cd test
./run-tests.sh -t ecl test-bundle.script
./run-tests.sh -t ecl ecl-make-image.script
</code></pre>
<p dir="auto">The <code
style="margin: 0 0; padding: 0 0.25em; border-radius: 3px; background-color: #F7F7F7;">-t</code>
should run this interactively, instead of batch mode.</p>
<p dir="auto">I will try to figure out how to post this to the
issue tracker. Is that on <code
style="margin: 0 0; padding: 0 0.25em; border-radius: 3px; background-color: #F7F7F7;">gitlab.common-lisp.net</code>
or <code
style="margin: 0 0; padding: 0 0.25em; border-radius: 3px; background-color: #F7F7F7;">gitlab.com</code>?</p>
<p dir="auto">Thanks,<br>
R</p>
<p dir="auto">On 6 Apr 2026, at 2:48, Daniel Kochmański wrote:</p>
<blockquote
style="margin: 0 0 5px; padding-left: 5px; border-left: 2px solid #777777; color: #777777;">
<p dir="auto">Hey Robert,</p>
<blockquote
style="margin: 0 0 5px; padding-left: 5px; border-left: 2px solid #777777; border-left-color: #999999; color: #999999;">
<p dir="auto">I'm getting a test failure on ASDF with ECL
in building a DLL on Linux. Hoping that someone can
suggest an appropriate fix. You can find the full
transcript here: <a
href="https://gitlab.common-lisp.net/asdf/asdf/-/jobs/114480"
style="color: #999999;" moz-do-not-send="true"
class="moz-txt-link-freetext">https://gitlab.common-lisp.net/asdf/asdf/-/jobs/114480</a></p>
<p dir="auto">Here's the snippet with the error compiling
through ECL to gcc:</p>
<pre
style="margin-left: 15px; margin-right: 15px; padding: 5px; background-color: #F7F7F7; border-radius: 5px 5px 5px 5px; overflow-x: auto; max-width: 90vw;"><code
style="margin: 0 0; border-radius: 3px; background-color: #F7F7F7; padding: 0px;">;;; Compiling /builds/asdf/asdf/test/monodll-user.lisp.
;;; OPTIMIZE levels: Safety=3, Space=0, Speed=2, Debug=3
;;;
;;; Internal error:
;;; ** Error code 1 when executing
;;; (EXT:RUN-PROGRAM "gcc" ("-I." "-I/usr/local/include/" "-D_GNU_SOURCE" "-D_FILE_OFFSET_BITS=64" "-g" "-O2" "-fPIC" "-D_THREAD_SAFE" "-Dlinux" "-O2" "-c" "/builds/asdf/asdf/build/fasls/ecl-24.5.10-linux-x64/asdf/test/monodll-user.c" "-o" "/builds/asdf/asdf/build/fasls/ecl-24.5.10-linux-x64/asdf/test/monodll-user.o")):
;;; In file included from /usr/local/include/ecl/ecl.h:81,
;;; from /usr/local/include/ecl/ecl-cmp.h:31,
;;; from /builds/asdf/asdf/build/fasls/ecl-24.5.10-linux-x64/asdf/test/monodll-user.c:5:
;;; /builds/asdf/asdf/build/fasls/ecl-24.5.10-linux-x64/asdf/test/monodll-user.c: In function 'L2always_42':
;;; /builds/asdf/asdf/build/fasls/ecl-24.5.10-linux-x64/asdf/test/monodll-user.c:21:26: error: implicit declaration of function 'always_42'; did you mean 'L2always_42'? [-Wimplicit-function-declaration]
;;; 21 | value0 = ecl_make_int(always_42());
;;; | ^~~~~~~~~
TEST ABORTED: COMPILE-FILE-ERROR while
compiling #<cl-source-file "test-asdf/monodll-user" "file-type">
</code></pre>
</blockquote>
<p dir="auto">it seems that you are running the old release
of ECL. Last month we've made a new release<br>
ECL 26.3.27 -- perhaps the problem is already fixed there?</p>
<p dir="auto">If not, please provide details how to run this
test; preferably on the issue tracker, but<br>
if you can't do that, then the mailing list will do.</p>
<p dir="auto">Best regards,<br>
Daniel</p>
</blockquote>
</div>
</div>
</blockquote>
<p><br>
</p>
</body>
</html>
--------------riLbffsnNK9Tht2dqYZHwyKQ--