[cmake-developers] [CMake 0015202]: BundleUtilities.cmake - function fixup_bundle_item fails with very long path
Mantis Bug Tracker
mantis at public.kitware.com
Fri Oct 10 16:59:05 EDT 2014
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=15202
======================================================================
Reported By: Mark Manthei
Assigned To:
======================================================================
Project: CMake
Issue ID: 15202
Category: CMake
Reproducibility: always
Severity: block
Priority: normal
Status: new
======================================================================
Date Submitted: 2014-10-10 16:59 EDT
Last Modified: 2014-10-10 16:59 EDT
======================================================================
Summary: BundleUtilities.cmake - function fixup_bundle_item
fails with very long path
Description:
when fixing up a very long exe inside of a bundle, the code attempts to figure
out if the item is embedded in the bundle. The current logic fails because the
SUBSTRING search starts at offset 0 and can fail to find the embedded item in
the given length.
>From debug output of BundleUtilities.cmake:
-- 22/42: fixing up
'/Users/autobuild/hudson/workspace/Product-Mac/build/Installed/Really Long App
Name.app/Contents/MacOS/embeddeditem
exe_dotapp_dir/='Installed/Really Long App Name.app/'
item_substring='/Users/autobuild/hudson/workspace/R'
Steps to Reproduce:
Use long paths.
Additional Information:
Patch to fix issue, CMake version 3.0.2 attached
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2014-10-10 16:59 Mark Manthei New Issue
2014-10-10 16:59 Mark Manthei File Added: BundleUtilities.patch
======================================================================
More information about the cmake-developers
mailing list