Homebrew / legacy-homebrew

💀 The former home of Homebrew/homebrew (deprecated)
https://brew.sh
26.97k stars 11.34k forks source link

libxml2 make install fails #16008

Closed ghost closed 12 years ago

ghost commented 12 years ago

Error: No such file or directory - /private/tmp/libxml2-M8xv/libxml2-2.8.0/Copyright

HOMEBREW_VERSION: 0.9.3
HEAD: 3ffbd258c0e3f0abc40ab0562a38233bd7d6018e
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: dual-core 64-bit penryn
OS X: 10.7.5-i386
Xcode: 4.5.2
CLT: 4.5.0.0.1.1249367152
LLVM-GCC: build 2336
Clang: 4.1 build 421
X11: 2.6.4 => /usr/X11
System Ruby: 1.8.7-358
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
brew doctor
Warning: Your XQuartz (2.6.4) is outdated
Please install XQuartz 2.7.4.
jacknagel commented 12 years ago

Error: No such file or directory - /private/tmp/libxml2-M8xv/libxml2-2.8.0/Copyright

Build logs, please.

ghost commented 12 years ago

Possibly related to: https://github.com/mxcl/homebrew/commit/1bcf5af975f2b2c079963b2c3718431567f97fc7

jacknagel commented 12 years ago

ping @adamv

ghost commented 12 years ago

Here are complete logs: https://gist.github.com/4063454

adamv commented 12 years ago

That's... weird. Looking into it.

adamv commented 12 years ago

ls -li doesn't think these files have the same inode, but our resolved_path extension seems to think they are the same file. So moving the first one works, and the "second one" fails, and one of these wasn't in the metafiles list before.

new: /private/tmp/libxml2-xemB/libxml2-2.8.0/AUTHORS - false
old: /private/tmp/libxml2-xemB/libxml2-2.8.0/AUTHORS - false
new: /private/tmp/libxml2-xemB/libxml2-2.8.0/ChangeLog - false
old: /private/tmp/libxml2-xemB/libxml2-2.8.0/ChangeLog - false
new: /private/tmp/libxml2-xemB/libxml2-2.8.0/Copyright - false
old: /private/tmp/libxml2-xemB/libxml2-2.8.0/COPYING - true
new: /private/tmp/libxml2-xemB/libxml2-2.8.0/Copyright - false
old: /private/tmp/libxml2-xemB/libxml2-2.8.0/Copyright - false

The boolean is symlink? The pairs of files are actual children and resolved paths.

ghost commented 12 years ago

It works! Thank you!

adamv commented 12 years ago

Sorry I broke it.

ghost commented 12 years ago

It works fine! :-)