View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010925CMakeCMakepublic2010-07-01 16:472012-03-06 08:37
ReporterRobert Maynard 
Assigned ToDavid Cole 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake-2-8 
Target VersionCMake 2.8.6Fixed in VersionCMake 2.8.6 
Summary0010925: QT4_WRAP_UI CustomBuild failure with source and build directories on different drives.
DescriptionWhen the source and build directories for ParaView are on different drives the pqComponent project fails to compile with the following message:

Error 1 error MSB4018: The "CustomBuild" task failed unexpectedly.
System.NotSupportedException: The given path's format is not supported.
   at System.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean needFullPath)
   at System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] str, Boolean needFullPath)
   at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList)
   at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath)
   at System.IO.Path.GetFullPath(String path)
   at Microsoft.Build.CPPTasks.CustomBuild.GetInputs(ITaskItem item)
   at Microsoft.Build.CPPTasks.CustomBuild.BuildExecutionGraph()
   at Microsoft.Build.CPPTasks.CustomBuild.GenerateCommandLineCommands()
   at Microsoft.Build.Utilities.ToolTask.Execute()
   at Microsoft.Build.CPPTasks.TrackedVCToolTask.Execute()
   at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
   at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask, Boolean& taskResult) C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets 151 pqComponents

The problem is in the QT4_WRAP_UI command.
Steps To ReproducePlace ParaView Source and Build directories on different drives.
Compile pqComponents project with Visual Studio 2010.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0027657)
David Cole (manager)
2011-10-26 16:06

Trying to reproduce this today.

ParaView source tree is at:

  C:\Users\davidcole\Dashboards\My Tests\ParaView
  (at git commit f3bfaeff)

ParaView build tree is at:

  D:\pv-b1

Using CMake 'master' as of today at:

  http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=2b0f8c7de0c922c98753a3a13d251306aabc9bdb [^]

Using the 32-bit Visual Studio 10 generator, using Qt/qmake from C:\Qt\4.6.3-vs2008\bin

.... and .... you guessed it:

It worked:

83> moc_pqXYChartOptionsEditor.cxx
83> moc_pqComponentsTestUtility.cxx
83> qrc_pqComponents.cxx
83> qrc_pqExtraResources.cxx
83> Generating Code...
83> pqComponents.vcxproj -> D:\pv-b1\bin\Debug\pqComponents.lib
========== Build: 83 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========


I will try again with a new build tree, and with CMake 2.8.6 as released. It may have been fixed along the way (since it was reported) along with the many, many VS10-specific issues we've fixed as we've moved forward.
(0027658)
David Cole (manager)
2011-10-26 17:12

This works with CMake 2.8.6 as well:

83> moc_pqXYChartOptionsEditor.cxx
83> moc_pqComponentsTestUtility.cxx
83> qrc_pqComponents.cxx
83> qrc_pqExtraResources.cxx
83> Generating Code...
83> pqComponents.vcxproj -> D:\pv-b2\bin\Debug\pqComponents.lib
========== Build: 83 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

I'm going to mark this as resolved/fixed in CMake 2.8.6. Feel free to re-open this issue if further evidence suggests there is still a problem. Please attach specific steps to reproduce if simply building pqComponents on a different drive letter from the source tree is not sufficient to reproduce.

Thanks!
(0028839)
David Cole (manager)
2012-03-06 08:37

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2010-07-01 16:47 Robert Maynard New Issue
2010-07-01 16:47 Robert Maynard Status new => assigned
2010-07-01 16:47 Robert Maynard Assigned To => David Cole
2011-10-25 22:47 David Cole Target Version => CMake 2.8.7
2011-10-26 16:06 David Cole Note Added: 0027657
2011-10-26 17:12 David Cole Note Added: 0027658
2011-10-26 17:12 David Cole Status assigned => resolved
2011-10-26 17:12 David Cole Fixed in Version => CMake 2.8.6
2011-10-26 17:12 David Cole Resolution open => fixed
2011-10-26 17:12 David Cole Target Version CMake 2.8.7 => CMake 2.8.6
2012-03-06 08:37 David Cole Note Added: 0028839
2012-03-06 08:37 David Cole Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team