Opened 6 years ago
Closed 6 years ago
#57480 closed defect (fixed)
Failed to build jekyll
Reported by: | OleBo (Olaf Bochmann) | Owned by: | kobold@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | jekyll |
Description (last modified by mf2k (Frank Schima))
:notice:build ---> Building jekyll :debug:build Executing org.macports.build (jekyll) :debug:build port disallows a parallel build :debug:build Environment: :debug:build CC_PRINT_OPTIONS='YES' :debug:build CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_jekyll/jekyll/work/.CC_PRINT_OPTIONS' :debug:build CPATH='/opt/local/include' :debug:build LIBRARY_PATH='/opt/local/lib' :debug:build MACOSX_DEPLOYMENT_TARGET='10.14' :info:build Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_jekyll/jekyll/work/jekyll-ocaml" && /usr/bin/make -w all :debug:build system: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_jekyll/jekyll/work/jekyll-ocaml" && /usr/bin/make -w all :info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_jekyll/jekyll/work/jekyll-ocaml' :info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_jekyll/jekyll/work/jekyll-ocaml' :info:build ocamlc -c -g util.ml :info:build File "util.ml", line 356, characters 12-22: :info:build Warning 3: deprecated: Stdlib.String.set :info:build Use Bytes.set instead. :info:build File "util.ml", line 358, characters 9-22: :info:build Warning 3: deprecated: Stdlib.String.create :info:build Use Bytes.create instead. :info:build File "util.ml", line 371, characters 13-24: :info:build Warning 3: deprecated: Stdlib.String.copy :info:build File "util.ml", line 373, characters 2-12: :info:build Warning 3: deprecated: Stdlib.String.set :info:build Use Bytes.set instead. :info:build File "util.ml", line 373, characters 13-18: :info:build Error: This expression has type string but an expression was expected of type :info:build bytes :info:build make[1]: *** [util.cmo] Error 2 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_jekyll/jekyll/work/jekyll-ocaml' :info:build make: *** [debug-code] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_jekyll/jekyll/work/jekyll-ocaml' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_jekyll/jekyll/work/jekyll-ocaml" && /usr/bin/make -w all :info:build Exit code: 2 :error:build Failed to build jekyll: command execution failed :debug:build Error code: CHILDSTATUS 16450 2 :debug:build Backtrace: command execution failed :debug:build while executing :debug:build "system {*}$notty {*}$nice $fullcmdstring" :debug:build invoked from within :debug:build "command_exec build" :debug:build (procedure "portbuild::build_main" line 8) :debug:build invoked from within :debug:build "$procedure $targetname"
Attachments (1)
Change History (7)
Changed 6 years ago by OleBo (Olaf Bochmann)
comment:1 Changed 6 years ago by mf2k (Frank Schima)
comment:2 Changed 6 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Keywords: | jekyll removed |
Owner: | set to kobold@… |
Status: | new → assigned |
comment:3 Changed 6 years ago by borwick (John Borwick)
This is a total kludge but, after the build failed, I did this to get jekyll installed:
sudo -s # become root cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_jekyll/jekyll/work/jekyll-ocaml export OCAMLPARAM="safe-string=0,_" make port install jekyll
I did this based on this OCaml build error on another project: https://github.com/facebook/flow/issues/5270
comment:4 Changed 6 years ago by mf2k (Frank Schima)
@borwick: I can confirm that adding the following to the Portfile allows it to build for me (on Mojave). Thank you! I will commit this change soon.
build.env-append OCAMLPARAM="safe-string=0,_"
comment:6 Changed 6 years ago by mf2k (Frank Schima)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
In the future, please use WikiFormatting and add the port maintainer(s) to Cc (
port info --maintainers jekyll
), if any.