My favorites | Sign in
Logo
waf
Project hosting will be READ-ONLY Wednesday, 7AM PST due to brief network maintenance
                
New issue | Search
for
| Advanced search | Search tips
Issue 453: boost tool tries to use boost-build.jam as an include dir
3 people starred this issue and may be notified of changes. Back to list
Status:  PatchesWelcome
Owner:  ----
Type-Enhancement


Sign in to add a comment
 
Reported by imbaczek, May 11, 2009
>> operating system:
XP SP3

>> python version:
2.6.2

>> waf version (or svn revision):
1.5.6

>> observed output and expected output:
[1/2] cxx: output\.wscript-trybuild\test.cpp ->
output\.wscript-trybuild\testbuild\default\test_1.o
cc1plus.exe: error: k:\progz\boost_1_39_0\boost-build.jam: not a directory
['g:\\MinGW\\bin\\g++.exe', '-Ik:\\progz\\boost_1_39_0\\boost-build.jam',
'..\\test.cpp', '-c', '-o', 'default\\test_1.o']

it shouldn't use boost-build.jam as an include dir; it should use simply
k:\\progz\\boost_1_39_0, which is what I passed in --boost-includes=... --
and it actually works earlier, config.log proves that:

==>

#include <iostream>
#include <boost/version.hpp>
int main() { std::cout << BOOST_VERSION << std::endl; }

<==
[1/2] cxx: output\.wscript-trybuild\test.cpp ->
output\.wscript-trybuild\testbuild\default\test_1.o
['g:\\MinGW\\bin\\g++.exe', '-Ik:\\progz\\boost_1_39_0', '..\\test.cpp',
'-c', '-o', 'default\\test_1.o']
[2/2] cxx_link: output\.wscript-trybuild\testbuild\default\test_1.o ->
output\.wscript-trybuild\testbuild\default\testprog.exe
['g:\\MinGW\\bin\\g++.exe', 'default\\test_1.o', '-o', 'default\\testprog.exe']
==>

#include <iostream>
#include <boost/version.hpp>
int main() { std::cout << BOOST_VERSION << std::endl; }

<==
[1/2] cxx: output\.wscript-trybuild\test.cpp ->
output\.wscript-trybuild\testbuild\default\test_1.o
cc1plus.exe: error: k:\progz\boost_1_39_0\boost-build.jam: not a directory
['g:\\MinGW\\bin\\g++.exe', '-Ik:\\progz\\boost_1_39_0\\boost-build.jam',
'..\\test.cpp', '-c', '-o', 'default\\test_1.o']
command returned 'Traceback (most recent call last):\n  File
"K:\\progz\\spring\\AI\\Skirmish\\BaczekKPAI\\waf-1.5.6-e1c65173fccca84bf0fdea53141afb2d\\wafadmin\\Tools\\config_c.py",
line 326, in run_c_code\n    bld.compile()\n  File
"K:\\progz\\spring\\AI\\Skirmish\\BaczekKPAI\\waf-1.5.6-e1c65173fccca84bf0fdea53141afb2d\\wafadmin\\Build.py",
line 154, in compile\n    raise
BuildError(self,self.task_manager.tasks_done)\nBuildError: Build failed\n
-> task failed (err #1): \n\t{task: cxx test.cpp -> test_1.o}\n'library
boost_signals

>> how to reproduce the problem?

    conf.check_tool('boost')
    conf.check_boost(lib='signals filesystem python system thread',
           kind='STATIC_BOTH', 
           score_version=(-1000, 1000),
           tag_minscore=1000,
           mandatory=True)


>> testcase - how to reproduce? (provide attachments for testcase files)

Comment 1 by tnagy1024, Jul 25, 2009
(No comment was entered for this change.)
Status: PatchesWelcome
Labels: -Type-Other Type-Enhancement
Sign in to add a comment

Hosted by Google Code