[MacPorts] #72279: geneweb build error: Error: File unavailable: /opt/local/lib/ocaml/camlp5/camlp5.cma
MacPorts
noreply at macports.org
Wed Apr 2 23:30:09 UTC 2025
#72279: geneweb build error: Error: File unavailable:
/opt/local/lib/ocaml/camlp5/camlp5.cma
--------------------------+----------------------
Reporter: barracuda156 | Owner: pguyot
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.10.5
Keywords: | Port: geneweb
--------------------------+----------------------
{{{
---> Configuring geneweb
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_genealogy_geneweb/geneweb/work/geneweb-7.1-beta"
&& ocaml ./configure.ml
---> Building geneweb
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_genealogy_geneweb/geneweb/work/geneweb-7.1-beta"
&& /usr/bin/make -w distrib
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
make: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_genealogy_geneweb/geneweb/work/geneweb-7.1-beta'
Building Geneweb 7.1-beta with The OCaml toplevel, version 4.14.2.
Repository . Branch . Last commit message:
Generating configuration files
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
Patching bin/ged2gwb/dune.in and ged2gwb.ml for camlp5 version 8.03.03 (>=
8.03.00)… Done.
Generating lib/version.ml… Done.
Generating lib/dune… Done.
Generating lib/gwdb/dune… Done.
Generating lib/core/dune… Done.
Generating lib/util/dune… Done.
Generating lib/ancient/dune… Done.
Generating benchmark/dune… Done.
Generating bin/connex/dune… Done.
Generating bin/cache_files/dune… Done.
Generating bin/consang/dune… Done.
Generating bin/fixbase/dune… Done.
Generating bin/ged2gwb/dune… Done.
Generating bin/gwb2ged/dune… Done.
Generating bin/gwc/dune… Done.
Generating bin/gwd/dune… Done.
Generating bin/gwdiff/dune… Done.
Generating bin/gwgc/dune… Done.
Generating bin/gwrepl/dune… Done.
Generating bin/gwrepl/.depend… Done.
Generating bin/gwu/dune… Done.
Generating bin/setup/dune… Done.
Generating bin/update_nldb/dune… Done.
Generating test/dune… Done.
Done.
Building executables.
File "bin/ged2gwb/dune", line 2, characters 8-15:
2 | (name ged2gwb)
^^^^^^^
Error: File unavailable: /opt/local/lib/ocaml/camlp5/camlp5.cma
(cd _build/default && /opt/local/bin/not-ocamlfind preprocess -package
camlp5.extend,camlp5.quotations,camlp5.pr_o -syntax camlp5o
bin/ged2gwb/ged2gwb.ml) > _build/default/bin/ged2gwb/ged2gwb.pp.ml
ocamlfind: [WARNING] Package `camlp5.extend': camlp5.extend SHOULD NOT be
used with syntax camlp5o
(cd _build/default && /opt/local/bin/ocamllex -q -o lib/templ_parser.ml
lib/templ_parser.mll)
File "lib/templ_parser.mll", line 1, character 0: syntax error.
(cd _build/default && /opt/local/bin/ocamllex -q -o
plugins/gwxjg/gwxjg_lexicon_parser.ml
plugins/gwxjg/gwxjg_lexicon_parser.mll)
File "plugins/gwxjg/gwxjg_lexicon_parser.mll", line 1, character 0: syntax
error.
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
Restoring original patched files… Done.
make: *** [distrib] Error 1
make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_genealogy_geneweb/geneweb/work/geneweb-7.1-beta'
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_genealogy_geneweb/geneweb/work/geneweb-7.1-beta"
&& /usr/bin/make -w distrib
Exit code: 2
}}}
Perhaps it tries to build native target with bytecode ocaml?
--
Ticket URL: <https://trac.macports.org/ticket/72279>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list