Opened 4 years ago

Last modified 4 years ago

#62014 new defect

mldonkey @3.1.6: Objective-Caml 3.12.0 is required

Reported by: harlock59300 (Bruno DOUTRIAUX) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: Cc:
Port: mldonkey

Description

Hello,

i tried cleaning mldonkey port by typing the following command:

port clean mldonkey
--->  Cleaning mldonkey

then i retried to install mldonkey, but there is something i might be missing.

# port install mldonkey
--->  Computing dependencies for mldonkey
--->  Fetching archive for mldonkey
--->  Attempting to fetch mldonkey-3.1.6_0.darwin_19.x86_64.tbz2 from https://lil.fr.packages.macports.org/mldonkey
--->  Attempting to fetch mldonkey-3.1.6_0.darwin_19.x86_64.tbz2 from https://mse.uk.packages.macports.org/mldonkey
--->  Attempting to fetch mldonkey-3.1.6_0.darwin_19.x86_64.tbz2 from https://packages.macports.org/mldonkey
--->  Fetching distfiles for mldonkey
--->  Verifying checksums for mldonkey
--->  Extracting mldonkey
--->  Configuring mldonkey
Error: Failed to configure mldonkey: lablgtk2 must be installed with +rsvg.
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_mldonkey/mldonkey/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port mldonkey failed

i think i should do this: lablgtk2 must be installed with +rsvg

should i just type:

sudo port install labgtk2 rsvg

??

Change History (9)

comment:1 Changed 4 years ago by harlock59300 (Bruno DOUTRIAUX)

i've tried

sudo port install lablgtk2 +rsvg

and it made things but i still can't install mldonkey

comment:2 Changed 4 years ago by harlock59300 (Bruno DOUTRIAUX)

though, i don't have the same error message:

port install mldonkey
--->  Computing dependencies for mldonkey
--->  Fetching archive for mldonkey
--->  Attempting to fetch mldonkey-3.1.6_0.darwin_19.x86_64.tbz2 from https://lil.fr.packages.macports.org/mldonkey
--->  Attempting to fetch mldonkey-3.1.6_0.darwin_19.x86_64.tbz2 from https://mse.uk.packages.macports.org/mldonkey
--->  Attempting to fetch mldonkey-3.1.6_0.darwin_19.x86_64.tbz2 from https://packages.macports.org/mldonkey
--->  Configuring mldonkey
Error: Failed to configure mldonkey: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_mldonkey/mldonkey/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port mldonkey failed

comment:3 Changed 4 years ago by harlock59300 (Bruno DOUTRIAUX)

here is the end of the main.log file

:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! python38 3.8.7_0 >= python38 3.8.7_0
:debug:main epoch: in tree: 1 installed: 1
:debug:main openssl 1.1.1i_0 exists in the ports tree
:debug:main openssl 1.1.1i_0  is the latest installed
:debug:main openssl 1.1.1i_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants:
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/openssl
:debug:main OS darwin/19.6.0 (macOS 10.15) arch i386
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main universal variant already exists, so not adding the default one
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! openssl 1.1.1i_0 >= openssl 1.1.1i_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main sqlite3 3.34.0_0 exists in the ports tree
:debug:main sqlite3 3.34.0_0  is the latest installed
:debug:main sqlite3 3.34.0_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants:
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/databases/sqlite3
:debug:main OS darwin/19.6.0 (macOS 10.15) arch i386
:debug:main Sourcing PortGroup clang_dependency 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! sqlite3 3.34.0_0 >= sqlite3 3.34.0_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main python_select 0.3_9 exists in the ports tree
:debug:main python_select 0.3_9  is the latest installed
:debug:main python_select 0.3_9  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants:
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/sysutils/python_select
:debug:main OS darwin/19.6.0 (macOS 10.15) arch i386
:debug:main Sourcing PortGroup select 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/select-1.0.tcl
:debug:main universal_variant is false, so not adding the default universal variant
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! python_select 0.3_9 >= python_select 0.3_9
:debug:main epoch: in tree: 0 installed: 0
:debug:main python3_select 0.0_2 exists in the ports tree
:debug:main python3_select 0.0_2  is the latest installed
:debug:main python3_select 0.0_2  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants:
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/sysutils/python3_select
:debug:main OS darwin/19.6.0 (macOS 10.15) arch i386
:debug:main Sourcing PortGroup select 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/select-1.0.tcl
:debug:main universal_variant is false, so not adding the default universal variant
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! python3_select 0.0_2 >= python3_select 0.0_2
:debug:main epoch: in tree: 0 installed: 0
:debug:main py38-setuptools 50.3.1_0 exists in the ports tree
:debug:main py38-setuptools 50.3.1_0  is the latest installed
:debug:main py38-setuptools 50.3.1_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants:
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/python/py-setuptools
:debug:main OS darwin/19.6.0 (macOS 10.15) arch i386
:debug:main Re-registering default for distname
:debug:main Re-registering default for build.cmd
:debug:main Re-registering default for build.target
:debug:main Re-registering default for destroot.cmd
:debug:main Re-registering default for destroot.destdir
:debug:main Re-registering default for destroot.target
:debug:main Sourcing PortGroup python 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/python-1.0.tcl
:debug:main only one arch supported, so not adding the default universal variant
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Running callback portstartupitem::add_notes
Last edited 4 years ago by harlock59300 (Bruno DOUTRIAUX) (previous) (diff)

comment:4 Changed 4 years ago by harlock59300 (Bruno DOUTRIAUX)

and when i run

sudo port -d install mldonkey

i can see what's wrong but i've installed ocaml and opam but i can't install rpm properly

comment:5 Changed 4 years ago by harlock59300 (Bruno DOUTRIAUX)

and even after having installed ocaml and opam i still get this at the end of

sudo port -d install mldonkey
checking for gcc... /usr/bin/clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/clang accepts -g... yes
checking for /usr/bin/clang option to accept ISO C89... none needed
checking how to run the C preprocessor... /usr/bin/clang -E
checking build system type... x86_64-apple-darwin19.6.0
checking host system type... x86_64-apple-darwin19.6.0
checking for sed... sed

--------------------------------
     Checking system tools.
--------------------------------
checking for ranlib... ranlib
checking for gmake... gmake
checking for make... (cached) gmake
checking if gmake is GNU make ... yes
checking for bzip2... bzip2
checking for gzip... (cached) bzip2
checking for perl... /usr/bin/perl
checking for rpmbuild... no
checking for rpm... no
checking for wget... wget
----------------------------------------
     Checking system tools finished.
----------------------------------------

--------------------------------
     Checking OCaml compiler.
--------------------------------
checking for ocamlc.opt... /opt/local/bin/ocamlc.opt
checking for ocamlc... /opt/local/bin/ocamlc.opt
checking for camlp4... no
********  Objective-Caml 3.12.0 is required  *********
*******  Check http://caml.inria.fr/  ********
Do you want this script to try to download and install ocaml
LOCALLY in mldonkey directory ?
./configure: line 5016: read: read error: 0: Bad file descriptor
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_mldonkey/mldonkey/work/mldonkey-3.1.6" && ./configure --prefix=/opt/local --enable-gui=newgui2 
Exit code: 1
Error: Failed to configure mldonkey: configure failure: command execution failed
DEBUG: Error code: NONE
DEBUG: Backtrace: configure failure: command execution failed
    while executing
"$procedure $targetname"
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_mldonkey/mldonkey/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port mldonkey failed

comment:6 Changed 4 years ago by jmroot (Joshua Root)

Keywords: edk removed
Milestone: MacPorts 2.7.0
Summary: processing of port mldonkey failedmldonkey configure failure
Type: submissiondefect

comment:7 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: mldonkey configure failuremldonkey @3.1.6: Objective-Caml 3.12.0 is required

comment:8 Changed 4 years ago by bestlem

The title is misleading - we now have ocaml 4.12.0 and mldonkey still fails to build

On macOS 11.2.2 and macports 2.6.4 it still fails First (and not shown in this ticket) gtk-doc is needed as a dependency see ticket #62405

Then you get a lablgtk2 error - although mine does differ see ticket #62406

comment:9 Changed 4 years ago by bestlem

lablgtk2 will now build (when the version is updated in the Portfile)

Using latest mldonkey 3.1.7-2 then fails, First with missing camlp4 whic is fixed by adding port:ocaml-camlp4 as adependency

Then I think, with upstream issue https://github.com/ygrek/mldonkey/issues/46

Last edited 4 years ago by bestlem (previous) (diff)
Note: See TracTickets for help on using tickets.