Opened 15 years ago
Closed 14 years ago
#23364 closed defect (fixed)
Cannot install Geneweb after migration from Leopard to Snow Leopard
Reported by: | forums@… | Owned by: | bfulgham@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.2 |
Keywords: | Cc: | ||
Port: | geneweb |
Description (last modified by mf2k (Frank Schima))
I tried to install geneweb after I went through the migration process, but it failed. The log is shown below:
[Users/jeffery] > install geneweb -d ---> Computing dependencies for geneweb ---> Building geneweb Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_genealogy_geneweb/work/geneweb-5.01" && /usr/bin/make -j2 all " returned error 2 Command output: cd wserver; /usr/bin/make opt make[1]: Nothing to be done for `opt'. cd dag2html; /usr/bin/make opt make[1]: Nothing to be done for `opt'. cd src; /usr/bin/make PREFIX=/usr opt camlp5r pa_extend.cmo q_MLast.cmo pa_macro.cmo -DUNIX -o def.syn.ppo def.syn.ml camlp5r pa_macro.cmo -DUNIX -o argl.ppo argl.ml ocamlc.opt -warn-error A -I ../wserver -I ../dag2html -I +camlp5 -c -impl def.syn.ppo File "def.syn.ppo", line 1, characters 0-1: Warning X: bad source file name: "Def.syn" is not a valid module name. ocamlopt.opt -warn-error A -I ../wserver -I ../dag2html -I +camlp5 -c -impl argl.ppo File "def.syn.ml", line 1, characters 0-1: Error: Error-enabled warnings (1 occurrences) make[1]: *** [def.syn.cmo] Error 2 make[1]: *** Waiting for unfinished jobs.... /bin/rm -f argl.ppo make: *** [opt] Error 2 Error: Status 1 encountered during processing.
Before reporting a bug, first run the command again with the -d flag to get complete output. Goodbye
Attachments (1)
Change History (7)
Changed 15 years ago by forums@…
Attachment: | geneweb.txt added |
---|
comment:1 Changed 15 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to bfulgham@… |
Port: | geneweb added |
comment:2 Changed 15 years ago by forums@…
comment:3 Changed 15 years ago by forums@…
sorry forgot to mention, this latest build was on a fresh install of macports
comment:5 Changed 14 years ago by mhlambert@…
I had the same problem. I was able to get it to build after noticing the master site now has version 5.02 instead of 5.01. I put the patch file http://cristal.inria.fr/~ddr/GeneWeb/ftp/Src/patch-5.02-1 in the files directory, applied this patch to the Portfile
# diff -u Portfile.sav Portfile --- Portfile.sav 2009-05-14 16:01:20.000000000 -0400 +++ Portfile 2011-02-13 15:51:11.000000000 -0500 @@ -3,7 +3,7 @@ PortSystem 1.0 name geneweb -version 5.01 +version 5.02 revision 0 categories genealogy maintainers bfulgham @@ -17,12 +17,19 @@ master_sites ftp://ftp.inria.fr/INRIA/Projects/cristal/${name}/Src \ http://www.sartorelli.gen.nz/GeneWeb/Src distfiles ${name}-${version}.tgz -checksums md5 a1a763213d08bc0e0f547dff9b6f2ee4 +checksums md5 e8c6c789a9dd2f9155bf6eefa8786d01 \ + sha1 e040496b3ce106cc7a508360cd0e4268bcb3e7b1 \ + rmd160 fd284630e11957cf1265bfce9207e46d449a83ec + +patchfiles patch-5.02-1 + platforms darwin depends_build port:ocaml \ port:camlp5 +use_parallel_build no + destroot.target distrib set gwuser ${name}
It then built as expected. I had to turn off parallel build because of a suspected missing dependency line in the Makefile--I didn't bother tracking it down.
comment:6 Changed 14 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
[Users/jeffery] > install geneweb ---> Computing dependencies for geneweb ---> Fetching ocaml ---> Attempting to fetch ocaml-3.11.2.tar.bz2 from http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/ocaml ---> Verifying checksum(s) for ocaml ---> Extracting ocaml ---> Configuring ocaml ---> Building ocaml ---> Staging ocaml into destroot ---> Installing ocaml @3.11.2_0 ---> Activating ocaml @3.11.2_0 ---> Cleaning ocaml ---> Fetching camlp5 ---> Attempting to fetch camlp5-5.12.tgz from http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/camlp5 ---> Verifying checksum(s) for camlp5 ---> Extracting camlp5 ---> Configuring camlp5 Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_camlp5/work/camlp5-5.12" && ./configure --prefix /opt/local --mandir /opt/local/share/man " returned error 2 Command output: Sorry: the compatibility with ocaml version "3.11.2" is not yet implemented. Please report.
Configuration failed.
Error: The following dependencies failed to build: camlp5 Error: Status 1 encountered during processing. Before reporting a bug, first run the command again with the -d flag to get complete output. Goodbye