[MacPorts] #23040: ocamlmklib doesn't understand -arch
#23040: ocamlmklib doesn't understand -arch -----------------------------------+---------------------------------------- Reporter: jeremyhu@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: ocaml -----------------------------------+---------------------------------------- Building ocamlimages, we execute ocamlmklib from ocaml which doesn't understand our LDFLAGS (including -arch) {{{ ocamlmklib -oc ci_jpeg -L/opt/local/lib -arch x86_64 jpegread.o jpegwrite.o -ljpeg Unknown option -arch Don't know what to do with x86_64 Usage: ocamlmklib [options] <.cmo|.cma|.cmx|.cmxa|.ml|.mli|.o|.a|.obj|.lib|.dll files> Options are: -cclib <lib> C library passed to ocamlc -a or ocamlopt -a only -ccopt <opt> C option passed to ocamlc -a or ocamlopt -a only }}} -- Ticket URL: <http://trac.macports.org/ticket/23040> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23040: ocamlmklib doesn't understand -arch -----------------------------------+---------------------------------------- Reporter: jeremyhu@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: ocaml -----------------------------------+---------------------------------------- Comment(by ryandesign@…): Has duplicate #24215. -- Ticket URL: <https://trac.macports.org/ticket/23040#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23040: ocamlmklib doesn't understand -arch -----------------------------------+---------------------------------------- Reporter: jeremyhu@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: ocaml -----------------------------------+---------------------------------------- Comment(by fh@…): Path built following #22168 and #71393 to remove the -arch flag that is not supported by ocamlmklib. The package now builds and installs. Notice that the patch also upgrades to version 1.5.9 -- Ticket URL: <https://trac.macports.org/ticket/23040#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23040: ocamlmklib doesn't understand -arch ------------------------------------+--------------------------------------- Reporter: jeremyhu@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: fixed | Keywords: Port: ocaml | ------------------------------------+--------------------------------------- Changes (by mww@…): * status: new => closed * resolution: => fixed Comment: thanks, commited! -- Ticket URL: <https://trac.macports.org/ticket/23040#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23040: ocamlmklib doesn't understand -arch ------------------------------------+--------------------------------------- Reporter: jeremyhu@… | Owner: mww@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: | Keywords: Port: ocaml | ------------------------------------+--------------------------------------- Changes (by jmr@…): * status: closed => reopened * resolution: fixed => Comment: r76475 only fixed caml-sqlite3. This is a general problem; and in fact the description for this ticket only specifically mentions ocamlimages. -- Ticket URL: <https://trac.macports.org/ticket/23040#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23040: ocamlmklib doesn't understand -arch ------------------------------------+--------------------------------------- Reporter: jeremyhu@… | Owner: mww@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: | Keywords: Port: ocaml | ------------------------------------+--------------------------------------- Comment(by jmr@…): Fixed camlimages in r77600. I'd suggest doing it this way for all ports that require it, since clearing the archflags as was done for caml-sqlite3 breaks build_arch support entirely. -- Ticket URL: <https://trac.macports.org/ticket/23040#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts