sudo port install mldonkey
$ sudo port -f clean --dist --archive --work ocmal Error: Port ocmal not found $ sudo port -d sync DEBUG: Synchronizing ports tree(s) Synchronizing local ports tree from rsync://rsync.macports.org/ release/ports/ DEBUG: /usr/bin/rsync -rtzv --delete-after rsync://rsync.macports.org/ release/ports/ /opt/local/var/macports/sources/rsync.macports.org/ release/ports receiving file list ... done archivers/bzip2/ devel/apr/ devel/apr-util/ devel/atk/ graphics/ImageMagick/ graphics/cairo/ net/bmon/ net/bwm-ng/ net/curl/ shells/bash/ textproc/aspell/ www/apache2/ x11/Xft2/ sent 74 bytes received 292538 bytes 16720.69 bytes/sec total size is 16277463 speedup is 55.63 $ sudo port -f install ocmal Error: Port ocmal not found $ sudo port -f install ocaml ---> Fetching ocaml ---> Attempting to fetch ocaml-3.10.0.tar.bz2 from http:// caml.inria.fr/pub/distrib/ocaml-3.10/ ---> Verifying checksum(s) for ocaml ---> Extracting ocaml ---> Configuring ocaml 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_oc aml/work/ocaml-3.10.0" && ./configure -prefix /opt/local -no-tk " returned error 2 Command output: sed: 1: "s/-[^-]*$//": RE error: brackets ([ ]) not balanced ../gnu/config.sub: line 128: [: !=: unary operator expected Invalid configuration `powerpc-apple-darwin8.11.0': machine `' not recognized Please specify the correct host type with the -host option Error: Status 1 encountered during processing. $ # where do I get the fixed version from? Begin forwarded message:
From: "MacPorts" <trac@macosforge.org> Date: January 4, 2008 2:17:32 PM EST (CA) To: ryandesign@macports.org, pguyot@kallisys.net Cc: macports-tickets@lists.macosforge.org, bfulgham@macports.org, ajmas@sympatico.ca, macports.users@gmail.com Subject: Re: [MacPorts] #13583: ocaml 3.10.0 build failure on Tiger: 'struct mcontext' has no member named '__ss' Reply-To: noreply@macosforge.org
#13583: ocaml 3.10.0 build failure on Tiger: 'struct mcontext' has no member named '__ss' -------------------------------------- +------------------------------------- Reporter: ryandesign@macports.org | Owner: pguyot@kallisys.net Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Resolution: fixed | Keywords: -------------------------------------- +------------------------------------- Changes (by ryandesign@macports.org):
* status: new => closed * resolution: => fixed
Comment:
Since the maintainer is not responding, I'll deal with this.
r31240 broke ocaml. When the patch was originally attached to ticket #13308, the patchfiles were wrapped in a "`platform darwin 9`" section, but as committed, the patchfiles apply on all platforms. I am changing this in r32486 so that the patchfiles only apply on darwin 9, so that it builds again on earlier systems.
-- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/ 13583#comment:3> MacPorts </projects/macports> Ports system for Mac OS
On Jan 4, 2008, at 2:55 PM, Charlse Darwin wrote:
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_ocaml/work/ocaml-3.10.0" && ./ configure -prefix /opt/local -no-tk " returned error 2 Command output: sed: 1: "s/-[^-]*$//": RE error: brackets ([ ]) not balanced ../gnu/config.sub: line 128: [: !=: unary operator expected Invalid configuration `powerpc-apple-darwin8.11.0': machine `' not recognized Please specify the correct host type with the -host option
That's not the same error as mentioned in the ticket you quoted below.
# where do I get the fixed version from?
From your other posts, it sounds like you have created a unique state on your machine that no one here is likely to be able to help you fix. If you cannot figure out how to undo the changes you have made that make your system differ from a 'normal' install, you may be best off reinstalling Mac OS X and starting again. -- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+
On Jan 4, 2008, at 13:55, Charlse Darwin wrote:
$ sudo port -f clean --dist --archive --work ocmal Error: Port ocmal not found
It's called ocaml...
$ sudo port -d sync DEBUG: Synchronizing ports tree(s) Synchronizing local ports tree from rsync://rsync.macports.org/ release/ports/ DEBUG: /usr/bin/rsync -rtzv --delete-after rsync:// rsync.macports.org/release/ports/ /opt/local/var/macports/sources/ rsync.macports.org/release/ports receiving file list ... done archivers/bzip2/ devel/apr/ devel/apr-util/ devel/atk/ graphics/ImageMagick/ graphics/cairo/ net/bmon/ net/bwm-ng/ net/curl/ shells/bash/ textproc/aspell/ www/apache2/ x11/Xft2/
sent 74 bytes received 292538 bytes 16720.69 bytes/sec total size is 16277463 speedup is 55.63 $ sudo port -f install ocmal Error: Port ocmal not found
Still called ocaml...
$ sudo port -f install ocaml ---> Fetching ocaml ---> Attempting to fetch ocaml-3.10.0.tar.bz2 from http:// caml.inria.fr/pub/distrib/ocaml-3.10/ ---> Verifying checksum(s) for ocaml ---> Extracting ocaml ---> Configuring ocaml 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_ ocaml/work/ocaml-3.10.0" && ./configure -prefix /opt/local -no-tk " returned error 2 Command output: sed: 1: "s/-[^-]*$//": RE error: brackets ([ ]) not balanced ../gnu/config.sub: line 128: [: !=: unary operator expected Invalid configuration `powerpc-apple-darwin8.11.0': machine `' not recognized Please specify the correct host type with the -host option
Error: Status 1 encountered during processing. $
# where do I get the fixed version from?
As you see from the output of "port sync" above, you did not receive an updated portfile for ocaml. You need to wait 30 minutes after a commit is made to the repository before it shows up on the rsync server. However, the errors you are experiencing are different from the errors reported in the ticket. The errors you are experiencing may be related to your experiments in installing a new xnu kernel. You may need to reinstall Xcode or Mac OS X to resolve those issues. But first, let's start with your sed. There's nothing that I can see that's wrong with "s/-[^-]*$//"; looks perfectly balanced to me. What can you tell me about your sed? Here's info about mine, from my MacBook Pro running 10.4.11: $ ls -l /usr/bin/sed -r-xr-xr-x 1 root wheel 68388 Dec 7 2006 /usr/bin/sed $ file /usr/bin/sed /usr/bin/sed: Mach-O universal binary with 2 architectures /usr/bin/sed (for architecture i386): Mach-O executable i386 /usr/bin/sed (for architecture ppc): Mach-O executable ppc $ Your info will be different because you're on PowerPC but I'm curious to see if it has about the same modification date (indicating it's from Apple), or if it's newer (indicating it was replaced with something else at some point).
participants (3)
-
Charlse Darwin
-
Daniel J. Luke
-
Ryan Schmidt