mxcl/homebrew — Issue #10117: lib.install sometimes moves target before symbolic link
Author: k3ns
Created: 2012-02-12 06:32:22+00:00
State: open

smpeg does:
lib.install Dir[".libs/*.dylib"]

which produces:
mv: cannot resolve .libs/libsmpeg.dylib: /private/tmp/homebrew-smpeg-HEAD-mZOV/.libs/libsmpeg-0.4.0.dylib

on my 4 core mac pro (it installs fine on my 2 core macbook pro)

this happens because libsmpeg-0.4.0.dylib is moved before the symbolic link is moved

i've worked around this by changing smpeg.rb:
lib.install [".libs/libsmpeg.dylib"]
lib.install [".libs/libsmpeg-0.4.0.dylib"]

but it looks like the real issue is in Homebrew/extend/pathname.rb