This repository has been archived by the owner. It is now read-only.

growlnotify malformed object #8316

Closed
junkblocker opened this Issue Oct 26, 2011 · 13 comments

Comments

5 participants
@junkblocker
Contributor

junkblocker commented Oct 26, 2011

% brew install growlnotify 
==> Downloading https://github.com/indirect/growlnotify/tarball/v1.3
File already downloaded in /Users/maso/Library/Caches/Homebrew
==> /usr/bin/gzip growlnotify.1
/usr/bin/strip: for architecture x86_64 object: /usr/brew/Cellar/growlnotify/1.3/bin/growlnotify malformed object (unknown load command 9)
/usr/brew/Cellar/growlnotify/1.3: 3 files, 432K, built in 2 seconds

Then growlnotify fails:

% growlnotify -u -H localhost -s -m "bar" "foo"
dyld: Symbol not found: _kSecRandomDefault
  Referenced from: /usr/brew/bin/growlnotify
  Expected in: /System/Library/Frameworks/Security.framework/Versions/A/Security
 in /usr/brew/bin/growlnotify
[1]    49936 trace trap  growlnotify -u -H localhost -s -m "bar" "foo"
@jacknagel

This comment has been minimized.

Show comment
Hide comment
@jacknagel

jacknagel Oct 26, 2011

Contributor

I see this issue as well; however, all we are doing is copying the pre-compiled binary into place, so this issue should be taken to the growlnotify project.

Contributor

jacknagel commented Oct 26, 2011

I see this issue as well; however, all we are doing is copying the pre-compiled binary into place, so this issue should be taken to the growlnotify project.

@jacknagel

This comment has been minimized.

Show comment
Hide comment
@jacknagel

jacknagel Oct 26, 2011

Contributor

Actually, it looks like 1.3 is a Lion-only build; are you on Snow Leopard, by chance?

Contributor

jacknagel commented Oct 26, 2011

Actually, it looks like 1.3 is a Lion-only build; are you on Snow Leopard, by chance?

@junkblocker

This comment has been minimized.

Show comment
Hide comment
@junkblocker

junkblocker Oct 26, 2011

Contributor

Yes, I am on Snow Leopard.

Contributor

junkblocker commented Oct 26, 2011

Yes, I am on Snow Leopard.

@jacknagel

This comment has been minimized.

Show comment
Hide comment
@jacknagel

jacknagel Oct 26, 2011

Contributor

Okay. Well short of putting a conditional in the formula to fall back to an older version on Leopard/Snow Leopard, the workaround is to:

$ cd $(brew --prefix)
$ brew versions growlnotify
1.3      git checkout 2e23ced /usr/local/Library/Formula/growlnotify.rb
1.2.2    git checkout 5fb24f5 /usr/local/Library/Formula/growlnotify.rb
1.2      git checkout 0476235 /usr/local/Library/Formula/growlnotify.rb
$ git checkout 5fb24f5 /usr/local/Library/Formula/growlnotify.rb
$ brew install growlnotify

(Note that if you have Homebrew installed somewhere besides /usr/local, that part will be different.)

Contributor

jacknagel commented Oct 26, 2011

Okay. Well short of putting a conditional in the formula to fall back to an older version on Leopard/Snow Leopard, the workaround is to:

$ cd $(brew --prefix)
$ brew versions growlnotify
1.3      git checkout 2e23ced /usr/local/Library/Formula/growlnotify.rb
1.2.2    git checkout 5fb24f5 /usr/local/Library/Formula/growlnotify.rb
1.2      git checkout 0476235 /usr/local/Library/Formula/growlnotify.rb
$ git checkout 5fb24f5 /usr/local/Library/Formula/growlnotify.rb
$ brew install growlnotify

(Note that if you have Homebrew installed somewhere besides /usr/local, that part will be different.)

@adamv

This comment has been minimized.

Show comment
Hide comment
@adamv

adamv Oct 28, 2011

Contributor

Can we compile this from source? If not, we should consider removing it from Homebrew given the OS issues.

Contributor

adamv commented Oct 28, 2011

Can we compile this from source? If not, we should consider removing it from Homebrew given the OS issues.

@jacknagel

This comment has been minimized.

Show comment
Hide comment
@jacknagel

jacknagel Oct 28, 2011

Contributor

I don't see a source download anywhere, +1 for removal.

Contributor

jacknagel commented Oct 28, 2011

I don't see a source download anywhere, +1 for removal.

@junkblocker

This comment has been minimized.

Show comment
Hide comment
@junkblocker

junkblocker Nov 30, 2011

Contributor

+1 for removal unless https://bitbucket.org/pmetzger/growl is acceptable and can be made to work for more than just Lion.

Contributor

junkblocker commented Nov 30, 2011

+1 for removal unless https://bitbucket.org/pmetzger/growl is acceptable and can be made to work for more than just Lion.

@adamv

This comment has been minimized.

Show comment
Hide comment
@adamv

adamv Dec 21, 2011

Contributor

Removed.

Contributor

adamv commented Dec 21, 2011

Removed.

@adamv adamv closed this Dec 21, 2011

@partheseas

This comment has been minimized.

Show comment
Hide comment
@adamv

This comment has been minimized.

Show comment
Hide comment
@adamv

adamv Dec 22, 2011

Contributor

Requiring Lion is a non-starter since we currently also support Snow Leopard.

Contributor

adamv commented Dec 22, 2011

Requiring Lion is a non-starter since we currently also support Snow Leopard.

@partheseas

This comment has been minimized.

Show comment
Hide comment
@partheseas

partheseas Dec 22, 2011

Even if it had Snow Leopard support I would be against it. I posted the link purely because @jacknagel said he didn't see one.

partheseas commented Dec 22, 2011

Even if it had Snow Leopard support I would be against it. I posted the link purely because @jacknagel said he didn't see one.

@adamv

This comment has been minimized.

Show comment
Hide comment
@adamv

adamv Dec 22, 2011

Contributor

Gotcha.

Contributor

adamv commented Dec 22, 2011

Gotcha.

@ColinHebert

This comment has been minimized.

Show comment
Hide comment
@ColinHebert

ColinHebert Dec 26, 2011

Contributor

You should take a look at
#8680
#8649

Contributor

ColinHebert commented Dec 26, 2011

You should take a look at
#8680
#8649

simeonwillbanks pushed a commit to simeonwillbanks/homebrew that referenced this issue Oct 30, 2013

@Homebrew Homebrew locked and limited conversation to collaborators Feb 16, 2016

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.