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
======================================================================
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers