New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dune failed to be built on bytecode-only archs #637
Comments
Yeah, that's a bummer. I suppose that we shouldn't require an assembler for bytecode only. Would you mind posting the output of |
Here is the output I got from a mips docker image (multiarch/debian-debootstrap:mips-stretch):
|
Should be fixed in master. |
I've just tried with beta19.1, but it gave the same error as before. You may find it useful to test it yourself:
|
Andy Li <notifications@github.com> writes:
I've just tried with beta19.1, but it gave the same error as before.
You may find it useful to test it yourself:
But I need a mips machine or VM for this, right?
I will investigate this issue further regardless
|
Nop, the docker image can be run on a normal x86_64 host. It uses qemu under the hook. |
I get this error using it on docker for mac:
|
Hmmm.. I only ran it in a Ubuntu host. |
Hello, I just tried to build dune 1.0-beta19.1 on a mips machine: tar xf dune-1.0-beta19.1.tar.gz This fails with: '/usr/bin/ocamldep' -modules src/usexp/usexp.ml src/usexp/parser_automaton_internal.ml src/usexp/sexp_ast.ml src/usexp/table.ml > boot-depends.txt -Ralf. |
You will have to use master until the next release. 19.1 failed to address
the issue
…On Thu, Mar 22, 2018, 5:44 AM Ralf Treinen ***@***.***> wrote:
Hello,
I just tried to build dune 1.0-beta19.1 on a mips machine:
tar xf dune-1.0-beta19.1.tar.gz
cd dune-1.0-beta19.1
make release
This fails with:
'/usr/bin/ocamldep' -modules src/usexp/usexp.ml src/usexp/
parser_automaton_internal.ml src/usexp/sexp_ast.ml src/usexp/table.ml >
boot-depends.txt
'/usr/bin/ocamldep' -modules src/xdg/xdg.ml > boot-depends.txt
'/usr/bin/ocamlc' -g -w -40 -o boot.exe unix.cma boot.ml
./boot.exe
Failed to parse the output of '/usr/bin/ocamlc -config':
Variable "asm" contains only spaces.
make: *** [Makefile:10: release] Error 1
-Ralf.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#637 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAIe--O6QCPnQXffFjNzDu04FWgsyDBdks5tgsmfgaJpZM4SxIl8>
.
|
Actually, we'll just defer this fix to beta20 and release it promptly (very little reason to wait for beta20 anyway) |
OK, f8225b1 compiles fine on mips. Thanks -Ralf. |
@rgrinberg Gentle ping on the beta 20 release :) |
On bytecode-only archs (e.g. armel, mips, ia64), building dune failed with the error:
This affects updating the debian package from 1.0 beta18 to 1.0 beta19.
1.0 beta18 can be built successfully.
The text was updated successfully, but these errors were encountered: