Paul Eipper created JENKINS-13885:
-------------------------------------

             Summary: Failures not copied when path contains whitespaces
                 Key: JENKINS-13885
                 URL: https://issues.jenkins-ci.org/browse/JENKINS-13885
             Project: Jenkins
          Issue Type: Bug
          Components: clang-scanbuild
    Affects Versions: current
            Reporter: Paul Eipper
            Assignee: Josh Kennedy


The scan-build step fails to write to paths that contain spaces:

{code}
EXECUTING COMMAND:[/Volumes/Overmind HD/Jenkins/checker-264/scan-build, -k, -v, 
-v, -o, /Volumes/Overmind HD/Jenkins/Home/jobs/Project 
Example-Develop/workspace/clangScanBuildReports, xcodebuild, -target, 
ProjectExample, -configuration, Debug, -sdk, iphonesimulator, clean, build]
[workspace] $ "/Volumes/Overmind HD/Jenkins/checker-264/scan-build" -k -v -v -o 
"/Volumes/Overmind HD/Jenkins/Home/jobs/Project 
Example-Develop/workspace/clangScanBuildReports" xcodebuild -target 
ProjectExample -configuration Debug -sdk iphonesimulator clean build
scan-build: Emitting reports for this run to '/Volumes/Overmind 
HD/Jenkins/Home/jobs/Project 
Example-Develop/workspace/clangScanBuildReports/2012-05-23-1'.

(...)

scan-build: 0 bugs found.
scan-build: The analyzer encountered problems on some source files.
scan-build: Preprocessed versions of these sources were deposited in 
'/Volumes/Overmind HD/Jenkins/Home/jobs/Project 
Example-Develop/workspace/clangScanBuildReports/2012-05-23-1/failures'.
scan-build: Please consider submitting a bug report using these files:
scan-build:   http://clang-analyzer.llvm.org/filing_bugs.html
{code}

Checking /Volumes after the build there is an file named "Overmind" containing 
various scan-build path error related messages, as in:

{code}
usage: uname [-amnprsv]
Apple clang version 3.1 (tags/Apple/clang-318.0.58) (based on LLVM 3.1svn)
Target: x86_64-apple-darwin11.4.0
Thread model: posix
clang: error: no such file or directory: 'HD/Jenkins/Home/jobs/Project'
clang: error: no such file or directory: 
'Example-Develop/workspace/clangScanBuildReports/2012-05-23-1/failures/clang_other_error_khPht3.mi.info.txt'
(...)
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to