Bug 258105 - #[bin_dir] not expanded in paths - Regression?
Summary: #[bin_dir] not expanded in paths - Regression?
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: Build tools: CMake (show other bugs)
Version: git master
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: 4.2.0
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-27 20:12 UTC by Milian Wolff
Modified: 2012-12-01 15:09 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Milian Wolff 2010-11-27 20:12:08 UTC
Version:           SVN
OS:                Linux

  Hey all, did anyone ever see these warnings? #[bin_dir] should be replaced by 
the CMakeManager it seems... And I wonder about the .../CmakeLists.txt/... 
path - that is obviously not a directory!

kdevelop(17407)/kdevelop (cpp support) KDevelop::ParseJob::readContents: Could 
not open file 
"/home/development/sources/kdevplatform/shell/#[bin_dir]/ui_sessiondialog.h" 
(path 
"/home/development/sources/kdevplatform/shell/#[bin_dir]/ui_sessiondialog.h" ) 
kdevelop(17407)/kdevelop (cpp support) KDevelop::ParseJob::readContents: Could 
not open file 
"/home/development/sources/kdevplatform/vcs/#[bin_dir]/ui_vcseventwidget.h" 
(path 
"/home/development/sources/kdevplatform/vcs/#[bin_dir]/ui_vcseventwidget.h" ) 
kdevelop(17407)/kdevelop (cpp support) KDevelop::ParseJob::readContents: Could 
not open file 
"/home/development/sources/kdevplatform/vcs/#[bin_dir]/ui_importmetadatawidget.h" 
(path 
"/home/development/sources/kdevplatform/vcs/#[bin_dir]/ui_importmetadatawidget.h" 
) 
kdevelop(17407)/kdevelop (cpp support) KDevelop::ParseJob::readContents: Could 
not open file 
"/home/development/sources/kdevplatform/CMakeLists.txt/tests/modeltest.cpp" 
(path 
"/home/development/sources/kdevplatform/CMakeLists.txt/tests/modeltest.cpp" ) 
kdevelop(17407)/kdevelop (cpp support) KDevelop::ParseJob::readContents: Could 
not open file 
"/home/development/sources/kdevplatform/language/#[bin_dir]/ui_licensechooser.h" 
(path 
"/home/development/sources/kdevplatform/language/#[bin_dir]/ui_licensechooser.h" 
) 
File does not exist: 
/home/development/sources/kdevplatform/plugins/reviewboard/tests/#[bin_dir]/ui_reviewpatch.hin 
working dir /home/development/sources/kdevelop
kdevelop(17407)/kdevelop (cpp support) KDevelop::ParseJob::readContents: Could 
not open file 
"/home/development/sources/kdevplatform/plugins/reviewboard/tests/#[bin_dir]/ui_reviewpatch.h" 
(path 
"/home/development/sources/kdevplatform/plugins/reviewboard/tests/#[bin_dir]/ui_reviewpatch.h" 
) 
File does not exist: 
/home/development/sources/kdevplatform/shell/settings/#[bin_dir]/ccconfig.hin 
working dir /home/development/sources/kdevelop
kdevelop(17407)/kdevelop (cpp support) KDevelop::ParseJob::readContents: Could 
not open file 
"/home/development/sources/kdevplatform/shell/settings/#[bin_dir]//ccconfig.h" 
(path 
"/home/development/sources/kdevplatform/shell/settings/#[bin_dir]//ccconfig.h" 
) 
kdevelop(17407)/kdevelop (cpp support) KDevelop::ParseJob::readContents: Could 
not open file 
"/home/development/sources/kdevplatform/plugins/cvs/#[bin_dir]/ui_importmetadatawidget.h" 
(path 
"/home/development/sources/kdevplatform/plugins/cvs/#[bin_dir]/ui_importmetadatawidget.h" 
) 
File does not exist: 
/home/development/sources/kdevplatform/plugins/projectmanagerview/#[bin_dir]/ui_projectbuildsetwidget.hin 
working dir /home/development/sources/kdevelop
kdevelop(17407)/kdevelop (cpp support) KDevelop::ParseJob::readContents: Could 
not open file 
"/home/development/sources/kdevplatform/plugins/projectmanagerview/#[bin_dir]/ui_projectbuildsetwidget.h" 
(path 
"/home/development/sources/kdevplatform/plugins/projectmanagerview/#[bin_dir]/ui_projectbuildsetwidget.h" 
) 
kdevelop(17407)/kdevelop (cpp support) KDevelop::ParseJob::readContents: Could 
not open file 
"/home/development/sources/kdevplatform/documentation/#[bin_dir]/ui_documentationfindwidget.h" 
(path 
"/home/development/sources/kdevplatform/documentation/#[bin_dir]/ui_documentationfindwidget.h" 
)

Reproducible: Always

Steps to Reproduce:
kdevelop master (4.2)
Comment 1 Dmitry 2011-03-17 21:55:10 UTC
The /CmakeLists.txt/ thing was fixed in 4.2 and master.
#[bin_dir] in path - cannot reproduce.
Is this still valid?
Comment 2 Milian Wolff 2011-03-17 22:49:11 UTC
assume it's fixed until I find a project that reproduces the issue.
Comment 3 Kevin Funk 2012-12-01 15:09:47 UTC
Git commit 9239c7a9aed260dbd75c43a19660c2c1a87bd59c by Kevin Funk.
Committed on 01/12/2012 at 15:51.
Pushed by kfunk into branch 'master'.

CTestUtils: Do not create invalid parse jobs

Some parse jobs indirectly created by CTestUtils::createTestSuites()
still contained the '#[bin_dir]' macro.

M  +4    -1    projectmanagers/cmake/testing/ctestutils.cpp

http://commits.kde.org/kdevelop/9239c7a9aed260dbd75c43a19660c2c1a87bd59c