Port Selfupdate failed - Mountain Lion OS X

Gregory Shenaut gkshenaut at ucdavis.edu
Sat Aug 30 16:29:46 PDT 2014


If you have a file, call it X, containing the following:

> '/bin/echo -n "$IFS" | hexdump'
> cc

and you then run the command « sh < X », you get:

> sh: line 1: /bin/echo -n "$IFS" | hexdump: No such file or directory
> clang: error: no input files

on my 10.9.4 system (which is having no problems I am aware of). This is quite similar to the error message being discussed.

Furthermore, the command « cmp -b /bin/sh /bin/bash » produces

> /bin/sh /bin/bash differ: byte 23, line 1 is 130 X 127 W

Greg Shenaut

On Aug 30, 2014, at 14:02 , Brandon Allbery <allbery.b at gmail.com> wrote:

> You have a problem.
> 
> That /bin/sh appears to not be a shell at all, but gcc (based on the error messages). I'm not even sure how that system is still *running*. Depending on what else got replaced with unexpected things, you may be looking at an OS reinstall.
> 
> On Sat, Aug 30, 2014 at 4:54 PM, vignesh babu <jvigneshbabu at gmail.com> wrote:
> Apples-MacBook-Pro:/ apple$ type sh
> sh is hashed (/bin/sh)
> 
> 
> On Sun, Aug 31, 2014 at 2:22 AM, Brandon Allbery <allbery.b at gmail.com> wrote:
> On Sat, Aug 30, 2014 at 4:47 PM, vignesh babu <jvigneshbabu at gmail.com> wrote:
> Apples-MacBook-Pro:/ apple$ sh -c '/bin/echo -n "$IFS" | hexdump'
> sh: error: /bin/echo -n "$IFS" | hexdump: No such file or directory
> 
> *facepalm*
> 
> What does "type sh" say? Because that's not Apple's /bin/sh.
> 
> 
> -- 
> brandon s allbery kf8nh                               sine nomine associates
> allbery.b at gmail.com                                  ballbery at sinenomine.net
> unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
> 
> 
> 
> 
> -- 
> brandon s allbery kf8nh                               sine nomine associates
> allbery.b at gmail.com                                  ballbery at sinenomine.net
> unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/macports-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20140830/7282d57b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4207 bytes
Desc: not available
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20140830/7282d57b/attachment.p7s>


More information about the macports-users mailing list