[cmake-developers] [CMake 0013833]: fixup_bundle fails with libraries that aren't writable
Mantis Bug Tracker
mantis at public.kitware.com
Fri Jan 4 01:04:36 EST 2013
The following issue has been SUBMITTED.
======================================================================
http://www.cmake.org/Bug/view.php?id=13833
======================================================================
Reported By: Matt Arsenault
Assigned To:
======================================================================
Project: CMake
Issue ID: 13833
Category: CMake
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2013-01-04 01:04 EST
Last Modified: 2013-01-04 01:04 EST
======================================================================
Summary: fixup_bundle fails with libraries that aren't
writable
Description:
I'm having the same problem described here with 2.8.9, so this looks like a
regression: http://www.cmake.org/Bug/view.php?id=9284
-- 26/34: fixing up
'install_prefix/example.app/Contents/MacOS/libcrypto.1.0.0.dylib'
install_name_tool: can't open input file:
install_prefix/example.app/Contents/MacOS/libcrypto.1.0.0.dylib for writing
(Permission denied)
install_name_tool: can't lseek to offset: 0 in file:
install_prefix/example.app/Contents/MacOS/libcrypto.1.0.0.dylib for writing (Bad
file descriptor)
install_name_tool: can't write new headers in file:
install_prefix/example.app/Contents/MacOS/libcrypto.1.0.0.dylib (Bad file
descriptor)
install_name_tool: can't close written on input file:
install_prefix/example.app/Contents/MacOS/libcrypto.1.0.0.dylib (Bad file
descriptor)
$ ls -l /opt/local/lib/libcrypto.1.0.0.dylib
-r-xr-xr-x 1 root admin 1.6M Jul 27 04:40
/opt/local/lib/libcrypto.1.0.0.dylib
Steps to Reproduce:
1. Try to use fixup_bundle with a library dependency that isn't writable, e.g.
libcrypto and libssl from macports.
2. It fails with a permission error
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2013-01-04 01:04 Matt Arsenault New Issue
======================================================================
More information about the cmake-developers
mailing list