[MacPorts] #35713: wyrd @ 1.4.4 configure halts with ocaml 4.0.0
#35713: wyrd @ 1.4.4 configure halts with ocaml 4.0.0 -----------------------------------+---------------------------------------- Reporter: bxf4@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: wyrd, ocaml | Port: wyrd-1.4.4 -----------------------------------+---------------------------------------- Hello, I tried to install wyrd yesterday and it halted in configure when checking the OCAML version. It is looking for 3.0.8 or greater, but the logic in configure.in looks weird. (I don't know bash testing logic well, though.) Here's the error section from the log: {{{ ... :debug:configure Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_wyrd/wyrd/work/wyrd-1.4.4" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man' :debug:configure Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_wyrd/wyrd/work/wyrd-1.4.4" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man :info:configure checking for ocamlc... ocamlc :info:configure ocaml version is 4.00.0 :info:configure ocaml library path is /opt/local/lib/ocaml :info:configure configure: error: Wyrd requires OCaml version 3.08 or greater. :info:configure Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_wyrd/wyrd/work/wyrd-1.4.4" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man :info:configure Exit code: 1 :error:configure org.macports.configure for port wyrd returned: configure failure: command execution failed }}} I installed macports autoconf, tried to sensibly alter the OCAML version checking in configure.in, but didn't succeed. I then commented the OCAML version checking logic in configure.in, ran autoconf, and then re-ran port install wyrd. It appears to have worked. -- Ticket URL: <https://trac.macports.org/ticket/35713> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35713: wyrd @ 1.4.4 configure halts with ocaml 4.0.0 -----------------------------------+---------------------------------------- Reporter: bxf4@… | Owner: henry@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: wyrd -----------------------------------+---------------------------------------- Changes (by macsforever2000@…): * keywords: wyrd, ocaml => * owner: macports-tickets@… => henry@… * port: wyrd-1.4.4 => wyrd Comment: In the future, please Cc the port maintainer(s). -- Ticket URL: <https://trac.macports.org/ticket/35713#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35713: wyrd @ 1.4.4 configure halts with ocaml 4.0.0 ---------------------+--------------------- Reporter: bxf4@… | Owner: henry@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: wyrd | ---------------------+--------------------- Comment (by jmr@…): See if the attached patch to the configure script works for you. -- Ticket URL: <https://trac.macports.org/ticket/35713#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35713: wyrd @ 1.4.4 configure halts with ocaml 4.0.0 ---------------------+---------------------- Reporter: bxf4@… | Owner: henry@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: haspatch Port: wyrd | ---------------------+---------------------- Changes (by jmr@…): * keywords: => haspatch -- Ticket URL: <https://trac.macports.org/ticket/35713#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35713: wyrd @ 1.4.4 configure halts with ocaml 4.0.0 ---------------------+---------------------- Reporter: bxf4@… | Owner: henry@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: haspatch Port: wyrd | ---------------------+---------------------- Comment (by bxf4@…): I finally had time to try it and yes, it worked. I couldn't figure out how to get port to find and use configure.patch, but I applied it by hand and wyrd built successfully. Thank you! -- Ticket URL: <https://trac.macports.org/ticket/35713#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts