What is MacPort 1.5 trying to pipe the gzip output to?

Jesse Ohlsson ohlssons at skynet.be
Mon Nov 26 22:57:56 PST 2007


Ryan,  I installed it from the dmg file from macports.org here:   
MacPorts-1.5.0-10.5.dmg.

Here is my /usr/local:

[g5:/usr/local] jess% ls -la
total 8
drwxr-xr-x  12 root  admin  408 Nov 12 13:01 .
drwxr-xr-x@ 15 root  wheel  510 Nov 25 12:51 ..
drwxr-xr-x   3 root  wheel  102 Oct 17 20:05 OpenSourceLicenses
drwxr-xr-x   3 root  wheel  102 Oct 17 20:05 OpenSourceVersions
drwxr-xr-x   7 root  admin  238 Apr 28  2005 bin
drwxr-xr-x   2 root  admin   68 Feb 17  2007 lib
drwxr-xr-x   4 root  admin  136 May  5  2005 libexec
lrwxr-xr-x   1 root  admin   47 Aug 11  2005 mysql -> mysql- 
standard-4.0.24-apple-darwin7.7.0-powerpc
drwxr-xr-x  19 root  wheel  646 Mar  5  2005 mysql-standard-4.0.24- 
apple-darwin7.7.0-powerpc
drwxr-xr-x  11 root  staff  374 Apr  4  2005 php5
drwxr-xr-x   2 root  staff   68 Oct  9  2005 sbin
drwxr-xr-x   4 root  admin  136 Feb 17  2007 share

I don't have a /sw directory in the root, and I have never installed  
Fink.  A find / -name /sw found nothing, either.

I hope there is some interesting or useful information here..

Thanks.

Jess


On Nov 25, 2007, at 9:20 PM, Ryan Schmidt wrote:

> Don't forget to Reply To All so that your reply goes to the list too.
>
> On Nov 25, 2007, at 14:09, Jesse Ohlsson wrote:
>
>> 	I am running MacPorts 1.520 on a PowerPC G5 under Mac OS X 10.5.1.
>>
>> 	It appears that whatever script is extracting the expat package  
>> (whatever that is!), or the fping package for that matter, is  
>> missing the "tar" command, but has the switches intended to follow  
>> it.
>>
>> 	Thanks for the quick response, I hope this is something we can  
>> find the solution for...
>
> Did you build MacPorts from source or install it from a disk image?  
> (Which disk image?)
>
> Do you have anything installed in /usr/local? Do you have Fink  
> installed in /sw? Both of those could conflict with MacPorts in  
> weird and exciting ways.
>
> The expat port doesn't say anything about the tar command. That's a  
> global MacPorts extraction mechanism, so I would expect all ports to  
> be equally broken for you at this point. The relevant code, I think,  
> from portextract.tcl:
>
> default extract.post_args {"| ${portutil::autoconf::tar_command} -xf  
> -"}
>
> So ${portutil::autoconf::tar_command} is empty for you. I don't know  
> why yet.
>
>
>> On Nov 25, 2007, at 7:48 PM, Ryan Schmidt wrote:
>>
>>> On Nov 25, 2007, at 12:12, Jesse Ohlsson wrote:
>>>
>>>> 	I installed the Xcode and X11, then the latest MacPorts and  
>>>> successfully updated it as well.  I am ultimately trying to get  
>>>> wireshark running.  This is the failure message I get:
>>>>
>>>>
>>>> [g5:~] jess% sudo port install wireshark
>>>> --->  Extracting expat
>>>> Error: Target org.macports.extract returned: shell command " cd "/ 
>>>> opt/local/var/macports/build/ 
>>>> _opt_local_var_macports_sources_rsync 
>>>> .macports.org_release_ports_textproc_expat/work" && gzip -dc /opt/ 
>>>> local/var/macports/distfiles/expat/expat-2.0.1.tar.gz | -xf - "  
>>>> returned error 127
>>>> Command output: sh: -xf: command not found
>>>>
>>>> gzip: stdout: Broken pipe
>>>>
>>>> Error: The following dependencies failed to build: glib2 gettext  
>>>> expat libiconv pkgconfig gtk2 atk cairo fontconfig freetype zlib  
>>>> libpng render xrender jpeg pango Xft2 xorg-xproto xorg-util- 
>>>> macros tiff libpcap openssl
>>>> Error: Status 1 encountered during processing.
>>>>
>>>>
>>>>
>>>> I tried installing port fping and got the same error.
>>>>
>>>> Is this a simple fix?  Has anyone else seen this?  I'd sure  
>>>> appreciate any help.
>>>
>>> Haven't seen this problem before. That's supposed to be a tar  
>>> command the output of gzip is being piped to.
>>>
>>> Exactly what version of MacPorts do you have? What version of  
>>> Xcode? What version of Mac OS X? What kind of Mac (Intel or  
>>> PowerPC)?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20071127/3bce64e7/attachment.html


More information about the macports-users mailing list