update fricas0-ecl and fricas0-data#5950
Conversation
I am confused. The build works nicely on my machine. I checked the workflow file. It uses 64bit ubuntu. I need to build 32bit ecl on host before building wasm version of ecl. If this cannot be fixed. I had to use the raw lisp file. |
| build: | ||
| - ${{ compiler("c") }} | ||
| - make | ||
| - pkg-config |
There was a problem hiding this comment.
| - pkg-config | |
| - gcc | |
| - gxx |
There was a problem hiding this comment.
I am confused. The build works nicely on my machine.
On your machine it's likely using your system compilers.
From the config.log
cannot find libgcc_s.so.1: No such file or directory
cannot find -lgcc: No such file or directory
You probably need to point $LDFLAGS to the $BUILD_PREFIX
There was a problem hiding this comment.
Thanks. I updated $LDFLAGS. But it still says "checking whether the C compiler works... no". I tested again on my machine after block host gcc by alias. It works.
How do you get the config.log from github action? Maybe that will help.
There was a problem hiding this comment.
An easy way is to add this to the failing command
<failed command> || cat config.logYou just need to check where the config log is if it's not in the current directory. But you could probably easily find it in your machine.
Co-authored-by: Isabel Paredes <isabel.paredes@quantstack.net>
|
I removed -m32 flag. It builds but it is 64bit ecl: |
|
My mistake. Ecl need not to be 32bit. The version number of ecl that compiles fricas should be the same as the ecl that execute it. I guess now it should work. |
Template B: Checklist for updating a package
PR Formatting
Add [package-name]orUpdate [package-name] to [version]Package Details
Build Notes
This is a fix for fricas0-ecl and fricas0-data. The fricas0 compiled lisp code must match the architecture of wasm version of ecl. So the new recipe will build the 32bit host version of ecl and compile the lisp code. I have tested the local build.