Skip to content

Instantly share code, notes, and snippets.

@larryv
Created February 1, 2013 22:50
Show Gist options
  • Save larryv/4694727 to your computer and use it in GitHub Desktop.
Save larryv/4694727 to your computer and use it in GitHub Desktop.
that's not right
[23:21:55] *** LordDeath has joined #macports
[23:22:04] <LordDeath> hi, is macports 2.1.3 out?
[23:22:19] <neverpanic> yes
[23:22:28] <LordDeath> I can't install it :-S
[23:22:31] <neverpanic> Raim: jmr_mp: can one of you fix the topic?
[23:22:42] <neverpanic> LordDeath: any error message?
[23:25:54] <LordDeath> http://pastebin.com/0mgBYNJH
[23:27:04] <larryv> can you run "port -d selfupdate" instead
[23:27:16] <LordDeath> as root?
[23:27:30] <larryv> as whatever you were doing before
[23:28:10] <larryv> it'll give us more info to work with
[23:30:46] <LordDeath> http://pastebin.com/zXfxMTH3
[23:31:21] <LordDeath> I think it begins with line 120
[23:32:33] <LordDeath> which grep shows me that I am using gnu grep, which is in /opt/local/bin/grep
[23:32:39] <larryv> o_O "checking for grep that handles long lines and -e... configure: error: no acceptable grep could be found in /bin:/sbin:/usr/bin:/usr/sbin:/usr/xpg4/bin"
[23:33:08] <neverpanic> MacPorts can't depend on itself, so ignores everything in /opt/local
[23:33:33] <LordDeath> should I remove this from my system? https://trac.macports.org/browser/trunk/dports/sysutils/grep/Portfile
[23:33:58] <LordDeath> I installed it because apparently GNU grep is much faster than BSD grep
[23:35:13] <larryv> "/usr/bin/grep: line 1: lrwxr-xr-x: command not found"
[23:35:16] <larryv> this is really weird
[23:35:21] <neverpanic> LordDeath: No, keep it.
[23:35:59] <neverpanic> LordDeath: Please run and paste the output of echo foo | /usr/bin/sed -e s/foo+/OK/ 2>&1 | /usr/bin/grep OK
[23:36:53] <neverpanic> also, please provide the output of file /usr/bin/grep
[23:36:53] <LordDeath> just executing /usr/bin/grep seems to be broken O_o
[23:37:15] <neverpanic> yeah, that's what I expected
[23:37:22] <neverpanic> it seems your /usr/bin/grep isn't the default one
[23:37:32] <neverpanic> did you replace it?
[23:37:43] <larryv> it looks like a shell script
[23:38:22] <LordDeath> http://pastebin.com/fhZhijUD
[23:38:39] <geekosaur> sounds like someone used > where they meant |
[23:38:40] <LordDeath> just 10 minutes ago I installed the new JDK 7u13
[23:38:55] <neverpanic> please paste the contents of /usr/bin/grep
[23:40:31] <LordDeath> like this? http://pastebin.com/kx4J1JAY
[23:40:56] <geekosaur> *blink*
[23:40:58] <larryv> yeah that's
[23:41:01] <larryv> that's not right.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment