[MacPorts] #48672: lablgtk2 build fails with ocaml-camlp4 4.02-6_0
MacPorts
noreply at macports.org
Sat Aug 22 09:21:23 PDT 2015
#48672: lablgtk2 build fails with ocaml-camlp4 4.02-6_0
----------------------------+--------------------------------
Reporter: james.cheney@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Keywords: | Port: lablgtk2
----------------------------+--------------------------------
Hi,
Attempting to do
{{{
port install lablgtk2
}}}
fails with an error for me:
{{{
$ sudo port install lablgtk2
---> Computing dependencies for lablgtk2
---> Dependencies to be installed: ocaml-camlp4
---> Fetching archive for ocaml-camlp4
---> Attempting to fetch ocaml-camlp4-4.02-6_0.darwin_14.x86_64.tbz2 from
http://mse.uk.packages.macports.org/sites/packages.macports.org/ocaml-
camlp4
---> Attempting to fetch ocaml-
camlp4-4.02-6_0.darwin_14.x86_64.tbz2.rmd160 from
http://mse.uk.packages.macports.org/sites/packages.macports.org/ocaml-
camlp4
---> Installing ocaml-camlp4 @4.02-6_0
---> Activating ocaml-camlp4 @4.02-6_0
---> Cleaning ocaml-camlp4
---> Building lablgtk2
Error: org.macports.build for port lablgtk2 returned: command execution
failed
Please see the log file for port lablgtk2 for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_lablgtk2/lablgtk2/main.log
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Error: Processing of port lablgtk2 failed
}}}
The culprit seems to be a recent change in ocaml-camlp4 (see the attached
complete log file for details):
{{{
:info:build Camlp4: Uncaught exception: DynLoader.Error
("Camlp4MacroParser.cmo", "file not found in path")
}}}
Installing a previous version of both packages works:
{{{
$ svn checkout -r 131008
https://svn.macports.org/repository/macports/trunk/dports/lang/ocaml-
camlp4
$ cd ocaml-camlp4 ; sudo port install ; cd ..
---> Computing dependencies for ocaml-camlp4
---> Fetching archive for ocaml-camlp4
---> Attempting to fetch ocaml-camlp4-4.02.0.1_0.darwin_14.x86_64.tbz2
from http://mse.uk.packages.macports.org/sites/packages.macports.org
/ocaml-camlp4
---> Attempting to fetch ocaml-
camlp4-4.02.0.1_0.darwin_14.x86_64.tbz2.rmd160 from
http://mse.uk.packages.macports.org/sites/packages.macports.org/ocaml-
camlp4
---> Installing ocaml-camlp4 @4.02.0.1_0
---> Activating ocaml-camlp4 @4.02.0.1_0
---> Cleaning ocaml-camlp4
---> Updating database of binaries
---> Scanning binaries for linking errors
---> No broken files found.
$ svn checkout -r 131008
https://svn.macports.org/repository/macports/trunk/dports/x11/lablgtk2
$ cd lablgtk2 ; sudo port install ; cd ..
---> Computing dependencies for lablgtk2
---> Fetching archive for lablgtk2
---> Attempting to fetch lablgtk2-2.18.3_0+x11.darwin_14.x86_64.tbz2 from
http://mse.uk.packages.macports.org/sites/packages.macports.org/lablgtk2
---> Attempting to fetch
lablgtk2-2.18.3_0+x11.darwin_14.x86_64.tbz2.rmd160 from
http://mse.uk.packages.macports.org/sites/packages.macports.org/lablgtk2
---> Installing lablgtk2 @2.18.3_0+x11
---> Activating lablgtk2 @2.18.3_0+x11
---> Cleaning lablgtk2
---> Updating database of binaries
---> Scanning binaries for linking errors
---> No broken files found.
}}}
--
Ticket URL: <https://trac.macports.org/ticket/48672>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list