On 7/23/22 20:46, Waldek Hebisch wrote:
>> GCL-2.6.13_pre fails to build on Linux with git HEAD.
>
> I commited GCL patches should make porting to newere GCL-s
> easier, but does not solve main problems. Also, I commited
> only parts compatible with older versions.
OK, not high priority for GCL-2.6.13_pre, but the error
happens when first trying to generate database:
======= it stops somewhere randomly around "JGB". no other error message
)compile JGB.spad
Compiling FriCAS source code from file
/tmp/fricas/src/algebra/JGB.spad using old system compiler.
JGB abbreviates package JetGroebner
------------------------------------------------------------------------
initializing NRLIB JGB for JetGroebner
compiling into NRLIB JGB
****** Domain: JB already in scope
****** Domain: P already in scope
>> System error:
(1) -> mv: cannot stat 'category.daase': No such file or directory
mv: cannot stat 'compress.daase': No such file or directory
mv: cannot stat 'interp.daase': No such file or directory
mv: cannot stat 'operation.daase': No such file or directory
make[3]: *** [Makefile:620: stamp-db] Error 1
make[3]: Leaving directory '/tmp/fricas/src/algebra'
>> ECL fails to build on macOS with git HEAD.
>
> Could you say more about this? Main change is that
> FriCAS now generates extern declarations for C
> functions that we call via FFI. That is supposed
> to replace Sage patch (which IMO is problematic).
Glad to know you are trying to fix this issue.
I'm attaching the failure log and generated
fricas-lisp.c.
> Anyway, with the patches FriCAS build for me
> using gcl-2.6.12, ecl-16.1.2 and ecl-21.2.1.
> So with ECL any problem most likely is OS or
> C compiler. Of course, C compiler can emit
> warnings whenever it wants and if one inserts
> '-Werror' to default C options it may easily
> lead to spurious failures.
>
> BTW: ATM I find Github CI reports kind of useless,
> they does not tell me more than what I already
> know due to Murphy: there is failure somewhere.
> Up to now I was unable to see build logs to get
> more info. One answer to stackoverflow question
> claimed that one has to authenticate as project
> admin to see logs but I saw no docs how this is
> supposed to work.
>
For CI logs, if you are logged into GitHub, you will be able
to see the logs. But recent CI status for macOS build
is "canceled", which is strange. I'm restarting them
and one has passed (they are testing sbcl on macOS after all).
- Qian