Re: ASDF test failure

Robert Goldman <[email protected]> Mon, 06 Apr 2026 12:08:47 -0500
Newsgroups gmane.lisp.ecl.general
Message-ID <[email protected]>
--=_MailMate_8F86A870-5EE6-4B40-9588-9B06CC21E1BF_=
Content-Type: text/plain; charset=UTF-8; format=flowed; markup=markdown
Content-Transfer-Encoding: quoted-printable

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 =

=2E..).
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
=2E/run-tests.sh -t ecl test-bundle.script
=2E/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=C5=84ski 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=3D3, Space=3D0, Speed=3D2, Debug=3D3
>>     ;;;
>>     ;;; Internal error:
>>     ;;;   ** Error code 1 when executing
>>     ;;; (EXT:RUN-PROGRAM "gcc" ("-I." "-I/usr/local/include/" =

>> "-D_GNU_SOURCE" "-D_FILE_OFFSET_BITS=3D64" "-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 =3D 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

--=_MailMate_8F86A870-5EE6-4B40-9588-9B06CC21E1BF_=
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html>
<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/xhtml; charset=3Dutf-8"=
>
</head>
<body><div style=3D"font-family: sans-serif;"><div class=3D"markdown" sty=
le=3D"white-space: normal;">
<p dir=3D"auto">Hi, Daniel --</p>
<p dir=3D"auto">I built a new Docker image for 26.3.27, and now I am gett=
ing two ASDF test failures:</p>
<p dir=3D"auto">Error in ecl-make-image.script:</p>
<pre style=3D"margin-left: 15px; margin-right: 15px; padding: 5px; backgr=
ound-color: #F7F7F7; border-radius: 5px 5px 5px 5px; overflow-x: auto; ma=
x-width: 90vw;"><code style=3D"margin: 0 0; border-radius: 3px; backgroun=
d-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 #&lt;cl-source-file &quot;hellow&quot; &quot;hell=
o&quot;&gt;
</code></pre>
<p dir=3D"auto">As well as the same error in <code style=3D"margin: 0 0; =
padding: 0 0.25em; border-radius: 3px; background-color: #F7F7F7;">test-b=
undle.script</code>.</p>
<p dir=3D"auto">Full details here:</p>
<p dir=3D"auto"><a href=3D"https://gitlab.common-lisp.net/asdf/asdf/-/job=
s/114506" style=3D"color: #3983C4;">https://gitlab.common-lisp.net/asdf/a=
sdf/-/jobs/114506</a></p>
<p dir=3D"auto">To run these tests, best would be to get a checkout of AS=
DF, and switch to the <code style=3D"margin: 0 0; padding: 0 0.25em; bord=
er-radius: 3px; background-color: #F7F7F7;">fix-gitlab-ci</code> branch.<=
/p>
<p dir=3D"auto">Then you can do</p>
<pre style=3D"margin-left: 15px; margin-right: 15px; padding: 5px; backgr=
ound-color: #F7F7F7; border-radius: 5px 5px 5px 5px; overflow-x: auto; ma=
x-width: 90vw;"><code style=3D"margin: 0 0; border-radius: 3px; backgroun=
d-color: #F7F7F7; padding: 0px;">cd test
=2E/run-tests.sh -t ecl test-bundle.script
=2E/run-tests.sh -t ecl ecl-make-image.script
</code></pre>
<p dir=3D"auto">The <code style=3D"margin: 0 0; padding: 0 0.25em; border=
-radius: 3px; background-color: #F7F7F7;">-t</code> should run this inter=
actively, instead of batch mode.</p>
<p dir=3D"auto">I will try to figure out how to post this to the issue tr=
acker.  Is that on <code style=3D"margin: 0 0; padding: 0 0.25em; border-=
radius: 3px; background-color: #F7F7F7;">gitlab.common-lisp.net</code> or=
 <code style=3D"margin: 0 0; padding: 0 0.25em; border-radius: 3px; backg=
round-color: #F7F7F7;">gitlab.com</code>?</p>
<p dir=3D"auto">Thanks,<br>
R</p>
<p dir=3D"auto">On 6 Apr 2026, at 2:48, Daniel Kochma=C5=84ski wrote:</p>=

<blockquote style=3D"margin: 0 0 5px; padding-left: 5px; border-left: 2px=
 solid #777777; color: #777777;">
<p dir=3D"auto">Hey Robert,</p>
<blockquote style=3D"margin: 0 0 5px; padding-left: 5px; border-left: 2px=
 solid #777777; border-left-color: #999999; color: #999999;">
<p dir=3D"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 ca=
n find the full transcript here: <a href=3D"https://gitlab.common-lisp.ne=
t/asdf/asdf/-/jobs/114480" style=3D"color: #999999;">https://gitlab.commo=
n-lisp.net/asdf/asdf/-/jobs/114480</a></p>
<p dir=3D"auto">Here's the snippet with the error compiling through ECL t=
o gcc:</p>
<pre style=3D"margin-left: 15px; margin-right: 15px; padding: 5px; backgr=
ound-color: #F7F7F7; border-radius: 5px 5px 5px 5px; overflow-x: auto; ma=
x-width: 90vw;"><code style=3D"margin: 0 0; border-radius: 3px; backgroun=
d-color: #F7F7F7; padding: 0px;">;;; Compiling /builds/asdf/asdf/test/mon=
odll-user.lisp.
;;; OPTIMIZE levels: Safety=3D3, Space=3D0, Speed=3D2, Debug=3D3
;;;
;;; Internal error:
;;;   ** Error code 1 when executing
;;; (EXT:RUN-PROGRAM &quot;gcc&quot; (&quot;-I.&quot; &quot;-I/usr/local/=
include/&quot; &quot;-D_GNU_SOURCE&quot; &quot;-D_FILE_OFFSET_BITS=3D64&q=
uot; &quot;-g&quot; &quot;-O2&quot; &quot;-fPIC&quot; &quot;-D_THREAD_SAF=
E&quot; &quot;-Dlinux&quot; &quot;-O2&quot; &quot;-c&quot; &quot;/builds/=
asdf/asdf/build/fasls/ecl-24.5.10-linux-x64/asdf/test/monodll-user.c&quot=
; &quot;-o&quot; &quot;/builds/asdf/asdf/build/fasls/ecl-24.5.10-linux-x6=
4/asdf/test/monodll-user.o&quot;)):
;;; 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 y=
ou mean 'L2always_42'? [-Wimplicit-function-declaration]
;;;    21 |    value0 =3D ecl_make_int(always_42());
;;;       |                          ^~~~~~~~~
TEST ABORTED: COMPILE-FILE-ERROR while
              compiling #&lt;cl-source-file &quot;test-asdf/monodll-user&=
quot; &quot;file-type&quot;&gt;
</code></pre>
</blockquote>
<p dir=3D"auto">it seems that you are running the old release of ECL. Las=
t month we've made a new release<br>
ECL 26.3.27 -- perhaps the problem is already fixed there?</p>
<p dir=3D"auto">If not, please provide details how to run this test; pref=
erably on the issue tracker, but<br>
if you can't do that, then the mailing list will do.</p>
<p dir=3D"auto">Best regards,<br>
Daniel</p>
</blockquote>

</div>
</div>
</body>

</html>

--=_MailMate_8F86A870-5EE6-4B40-9588-9B06CC21E1BF_=--