LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - ARM (https://www.linuxquestions.org/questions/slackware-arm-108/)
-   -   OCaml SlackBuild fails on -current (https://www.linuxquestions.org/questions/slackware-arm-108/ocaml-slackbuild-fails-on-current-4175590392/)

Linux.tar.gz 09-29-2016 04:48 AM

OCaml SlackBuild fails on -current
 
Hi !

Here's the log :
gcc -I../byterun -DCAML_NAME_SPACE -DNATIVE_CODE -DTARGET_none -DMODEL_default -DSYS_unknown -std=gnu99 -O2 -fno-strict-aliasing -fwrapv -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O2 -c -o dynlink.o dynlink.c
gcc -I../byterun -DCAML_NAME_SPACE -DNATIVE_CODE -DTARGET_none -DMODEL_default -DSYS_unknown -std=gnu99 -O2 -fno-strict-aliasing -fwrapv -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -O2 -c -o clambda_checks.o clambda_checks.c
make[4]: *** No rule to make target 'none.o', needed by 'libasmrun.a'. Stop.
make[4]: Leaving directory '/tmp/SBo/ocaml-4.03.0/asmrun'
Makefile:618: recipe for target 'makeruntimeopt' failed
make[3]: *** [makeruntimeopt] Error 2
make[3]: Leaving directory '/tmp/SBo/ocaml-4.03.0'
Makefile:163: recipe for target 'opt-core' failed
make[2]: *** [opt-core] Error 2
make[2]: Leaving directory '/tmp/SBo/ocaml-4.03.0'
Makefile:175: recipe for target 'opt.opt' failed
make[1]: *** [opt.opt] Error 2
make[1]: Leaving directory '/tmp/SBo/ocaml-4.03.0'
Makefile:48: recipe for target 'world.opt' failed
make: *** [world.opt] Error 2

Googled around, nothing useful.

drmozes 09-29-2016 09:10 AM

Quote:

Originally Posted by Linux.tar.gz (Post 5611362)
Hi !

Here's the log :


It works for me, although I removed parallel jobs -j1 (I don't know if it works without it - the build script is not at the standard it ought to be - it should retry without parallel builds, and fail if it breaks).
I also set the "host" properly

Code:

-  --host $ARCH-slackware-linux
+  --host $ARCH-slackware-linux-gnueabi || exit 1


Linux.tar.gz 09-29-2016 05:08 PM

+ --host $ARCH-slackware-linux-gnueabi

Did the trick, -j1 is ok.

I'll feedback the maintainer.
Thanks !

drmozes 09-30-2016 01:44 AM

Quote:

Originally Posted by Linux.tar.gz (Post 5611741)
+ --host $ARCH-slackware-linux-gnueabi

Did the trick, -j1 is ok.

I'll feedback the maintainer.
Thanks !

The host quadlet example is here:
ftp://ftp.slackware.org.uk/slackware...gin.SlackBuild


All times are GMT -5. The time now is 06:54 PM.