$ sudo port -fvd install mldonkey DEBUG: Found port in file:///opt/local/var/macports/sources/ rsync.macports.org/release/ports/net/mldonkey DEBUG: Changing to port directory: /opt/local/var/macports/sources/ rsync.macports.org/release/ports/net/mldonkey DEBUG: Requested variant powerpc is not provided by port mldonkey. DEBUG: Requested variant darwin is not provided by port mldonkey. DEBUG: Requested variant macosx is not provided by port mldonkey. DEBUG: Found port in file:///opt/local/var/macports/sources/ rsync.macports.org/release/ports/lang/ocaml DEBUG: Changing to port directory: /opt/local/var/macports/sources/ rsync.macports.org/release/ports/lang/ocaml DEBUG: Requested variant powerpc is not provided by port ocaml. DEBUG: Requested variant darwin is not provided by port ocaml. DEBUG: Requested variant macosx is not provided by port ocaml. DEBUG: Searching for dependency: ocaml DEBUG: Found Dependency: receipt exists for ocaml DEBUG: Found port in file:///opt/local/var/macports/sources/ rsync.macports.org/release/ports/x11/lablgtk DEBUG: Changing to port directory: /opt/local/var/macports/sources/ rsync.macports.org/release/ports/x11/lablgtk DEBUG: Requested variant powerpc is not provided by port lablgtk. DEBUG: Requested variant darwin is not provided by port lablgtk. DEBUG: Requested variant macosx is not provided by port lablgtk. DEBUG: Searching for dependency: lablgtk DEBUG: Found Dependency: receipt exists for lablgtk DEBUG: Found port in file:///opt/local/var/macports/sources/ rsync.macports.org/release/ports/textproc/expat DEBUG: Changing to port directory: /opt/local/var/macports/sources/ rsync.macports.org/release/ports/textproc/expat DEBUG: Requested variant powerpc is not provided by port expat. DEBUG: Requested variant darwin is not provided by port expat. DEBUG: Requested variant macosx is not provided by port expat. DEBUG: Searching for dependency: expat DEBUG: Found Dependency: receipt exists for expat DEBUG: Found port in file:///opt/local/var/macports/sources/ rsync.macports.org/release/ports/graphics/fontconfig DEBUG: Changing to port directory: /opt/local/var/macports/sources/ rsync.macports.org/release/ports/graphics/fontconfig DEBUG: Requested variant powerpc is not provided by port fontconfig. DEBUG: Requested variant darwin is not provided by port fontconfig. DEBUG: Executing variant macosx provides macosx DEBUG: Searching for dependency: fontconfig DEBUG: Found Dependency: receipt exists for fontconfig DEBUG: Found port in file:///opt/local/var/macports/sources/ rsync.macports.org/release/ports/print/freetype DEBUG: Changing to port directory: /opt/local/var/macports/sources/ rsync.macports.org/release/ports/print/freetype DEBUG: Requested variant powerpc is not provided by port freetype. DEBUG: Requested variant darwin is not provided by port freetype. DEBUG: Requested variant macosx is not provided by port freetype. DEBUG: Searching for dependency: freetype DEBUG: Found Dependency: receipt exists for freetype DEBUG: Found port in file:///opt/local/var/macports/sources/ rsync.macports.org/release/ports/graphics/gd2 DEBUG: Changing to port directory: /opt/local/var/macports/sources/ rsync.macports.org/release/ports/graphics/gd2 DEBUG: Requested variant powerpc is not provided by port gd2. DEBUG: Requested variant macosx is not provided by port gd2. DEBUG: Executing variant darwin provides darwin DEBUG: Searching for dependency: gd2 DEBUG: Found Dependency: receipt exists for gd2 DEBUG: Found port in file:///opt/local/var/macports/sources/ rsync.macports.org/release/ports/graphics/jpeg DEBUG: Changing to port directory: /opt/local/var/macports/sources/ rsync.macports.org/release/ports/graphics/jpeg DEBUG: Requested variant powerpc is not provided by port jpeg. DEBUG: Requested variant darwin is not provided by port jpeg. DEBUG: Requested variant macosx is not provided by port jpeg. DEBUG: Searching for dependency: jpeg DEBUG: Found Dependency: receipt exists for jpeg DEBUG: Found port in file:///opt/local/var/macports/sources/ rsync.macports.org/release/ports/textproc/libiconv DEBUG: Changing to port directory: /opt/local/var/macports/sources/ rsync.macports.org/release/ports/textproc/libiconv DEBUG: Requested variant powerpc is not provided by port libiconv. DEBUG: Requested variant darwin is not provided by port libiconv. DEBUG: Requested variant macosx is not provided by port libiconv. DEBUG: Executing variant darwin_8 provides darwin_8 DEBUG: Searching for dependency: libiconv DEBUG: Found Dependency: receipt exists for libiconv DEBUG: Found port in file:///opt/local/var/macports/sources/ rsync.macports.org/release/ports/graphics/libpng DEBUG: Changing to port directory: /opt/local/var/macports/sources/ rsync.macports.org/release/ports/graphics/libpng DEBUG: Requested variant powerpc is not provided by port libpng. DEBUG: Requested variant darwin is not provided by port libpng. DEBUG: Requested variant macosx is not provided by port libpng. DEBUG: Executing variant darwin_8 provides darwin_8 DEBUG: Searching for dependency: libpng DEBUG: Found Dependency: receipt exists for libpng DEBUG: Executing org.macports.main (mldonkey) ---> Fetching mldonkey DEBUG: Executing org.macports.fetch (mldonkey) ---> mldonkey-2.8.5.tar.bz2 doesn't seem to exist in /opt/local/var/ macports/distfiles/mldonkey ---> Attempting to fetch mldonkey-2.8.5.tar.bz2 from http:// downloads.sourceforge.net/mldonkey % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- 0:01:39 --:--:-- 0 DEBUG: Fetching failed:: server returned nothing (no headers, no data) ---> Attempting to fetch mldonkey-2.8.5.tar.bz2 from http:// easynews.dl.sourceforge.net/mldonkey % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 2600k 100 2600k 0 0 277k 0 0:00:09 0:00:09 --:--:-- 262k ---> Verifying checksum(s) for mldonkey DEBUG: Executing org.macports.checksum (mldonkey) ---> Checksumming mldonkey-2.8.5.tar.bz2 DEBUG: Correct (md5) checksum for mldonkey-2.8.5.tar.bz2 DEBUG: Correct (sha1) checksum for mldonkey-2.8.5.tar.bz2 DEBUG: Correct (rmd160) checksum for mldonkey-2.8.5.tar.bz2 DEBUG: setting option extract.cmd to /opt/local/bin/bzip2 ---> Extracting mldonkey DEBUG: Executing org.macports.extract (mldonkey) ---> Extracting mldonkey-2.8.5.tar.bz2 DEBUG: setting option extract.args to /opt/local/var/macports/ distfiles/mldonkey/mldonkey-2.8.5.tar.bz2 DEBUG: Environment: DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_net_mld onkey/work" && /opt/local/bin/bzip2 -dc /opt/local/var/macports/ distfiles/mldonkey/mldonkey-2.8.5.tar.bz2 | /usr/bin/gnutar --no-same- owner -xf -' DEBUG: Executing org.macports.patch (mldonkey) ---> Configuring mldonkey DEBUG: Executing org.macports.configure (mldonkey) DEBUG: Using compiler 'Mac OS X gcc 4.0' DEBUG: Environment: CFLAGS='-O2' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2' CPP='/usr/bin/cpp-4.0' CXX='/usr/bin/g++-4.0' F90FLAGS='-O2' LDFLAGS='-L/opt/local/lib' FCFLAGS='-O2' OBJC='/usr/ bin/gcc-4.0' INSTALL='/usr/bin/install' OBJCFLAGS='-O2' FFLAGS='-O2' CC='gcc' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_net_mld onkey/work/mldonkey-2.8.5" && ./configure --prefix=/opt/local' Arguments to configure: '--prefix=/opt/local' 'CC=gcc' 'CFLAGS=-O2' 'LDFLAGS=-L/opt/local/lib' 'CPPFLAGS=-I/opt/local/include' 'CPP=/usr/ bin/cpp-4.0' 'CXX=/usr/bin/g++-4.0' 'CXXFLAGS=-O2' checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... /usr/bin/cpp-4.0 checking build system type... powerpc-apple-darwin8.11.0 checking host system type... powerpc-apple-darwin8.11.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... /opt/local/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... /opt/local/bin/camlp4 Need build ******** Objective-Caml 3.09.3 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 4612: read: read error: 0: Bad file descriptor 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_net_mld onkey/work/mldonkey-2.8.5" && ./configure --prefix=/opt/local " returned error 1 Command output: -------------------------------- 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... /opt/local/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... /opt/local/bin/camlp4 Need build ******** Objective-Caml 3.09.3 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 4612: read: read error: 0: Bad file descriptor Warning: the following items did not execute (for mldonkey): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. $ Begin forwarded message:
From: Ryan Schmidt <ryandesign@macports.org> Date: January 4, 2008 5:12:13 PM EST (CA) To: Charlse Darwin <macports.users@gmail.com> Cc: Users MacPorts <macports-users@delta.macosforge.org> Subject: Re: sudo port install mldonkey
Please keep the discussion on the mailing list using Reply All when you reply.
On Jan 4, 2008, at 15:55, Charlse Darwin wrote:
$ sudo port install mldonkey Password: ---> Configuring mldonkey 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_net_ mldonkey/work/mldonkey-2.8.5" && ./configure --prefix=/opt/local " returned error 1 Command output: -------------------------------- 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... /opt/local/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... /opt/local/bin/camlp4 Need build ******** Objective-Caml 3.09.3 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 4612: read: read error: 0: Bad file descriptor
Error: Status 1 encountered during processing. $ port -q info --version ocaml 3.10.0 $
I agree. I get the same thing. Maybe mldonkey 2.8.5 just does not work with ocaml 3.10.0 (since it says it needs "3.09.3" (and not "3.09.3 or later")). You should file a ticket in our issue tracker and assign it to the maintainer of the mldonkey port. Maybe updating the port to the current version of mldonkey, 2.9.2, would help. You could edit the portfile yourself and test whether updating to 2.9.2 works; if it does, you can attach your diff to the ticket.