jekyll installation and magic number error

Ippoliti, Emiliano e.ippoliti at
Tue Apr 13 10:18:03 UTC 2021

On 13. Apr 2021, at 04:00, Ryan Schmidt <ryandesign at<mailto:ryandesign at>> wrote:

On Apr 12, 2021, at 17:42, Ippoliti, Emiliano wrote:

I have just installed jekyll via macports on my macbook (MacOS 10.13.6).
Before installing it, I run selfupdated and updated the outdated ports.
No errors or warning during the jekyll installation.

When I try to run jekyll I get the error message:

the file '/opt/local/bin/jekyll' has not the right magic number: expected Caml1999X029, got Caml1999X025

Do you know the meaning of this error?
I googled it but i still could not understand where is the origin of the problem and where to look for in order to solve it.

Sounds like maybe you got a binary of the port built on our server for an older version of ocaml.

You could try rebuilding it:

sudo port -ns upgrade --force jekyll

If that works and fixes the problem, let us know and we'll increase the port's revision to rebuild the binary. (This has had to be done for this port several times in the past, and it appears to be usual for ocaml-based software to be sensitive to the specific version of ocaml.)

It's also possible that rebuilding fails. In that case, someone will have to figure out how to make it build again.

I have just tried to rebuild jekyll according to your instructions and it fails with the error message:
--->  Computing dependencies for jekyll
--->  Fetching distfiles for jekyll
--->  Attempting to fetch jekyll-0.30a-src.tar.gz from
--->  Verifying checksums for jekyll
--->  Extracting jekyll
--->  Configuring jekyll
--->  Building jekyll
Error: Failed to build jekyll: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_jekyll/jekyll/main.log for details.
Error: Follow to report a bug.

Let me know if I can/need to do something in order to point out this issue to the corresponding developers.

All the best,

Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir Volker Rieke
Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Frauke Melchior

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-users mailing list