Opened 6 years ago

#7249 new Bugs

tools/build/v2/test/ fails if boost-build is already installed

Reported by: dev-zero@… Owned by: Vladimir Prus
Milestone: To Be Determined Component: build
Version: Boost 1.51.0 Severity: Problem
Keywords: Cc:


I got the following error after I installed boost-build and tried to rerun the tests in temporary build directory:

startup_v2 : DIFFERENCE --- /var/tmp/paludis/dev-util-boost-build-1.50.0/temp/tmp7UjRdwexpected 2012-08-19 11:44:11.236819301 +0200 +++ /var/tmp/paludis/dev-util-boost-build-1.50.0/temp/tmpA2P_sAactual 2012-08-19 11:44:11.236819301 +0200 @@ -1,2 +1,3 @@ -Unable to load Boost\.Build: could not find "boost-build.jam" -.*Attempted search from .* up to the root \ No newline at end of file + +error: error: no Jamfile in current directory found, and no target references specified. + Unable to compute difference: diff -u /var/tmp/paludis/dev-util-boost-build-1.50.0/temp/tmp7UjRdwexpected /var/tmp/paludis/dev-util-boost-build-1.50.0/temp/tmpA2P_sAactual FAILED

Reason is: passing the empty string to bjam lets it fallback to the default which is not what is wanted in that test. Attached patch changes the path to something invalid.

Attachments (1)

boost-build-1.50.0-fix-test.patch (428 bytes) - added by dev-zero@… 6 years ago.

Download all attachments as: .zip

Change History (1)

Changed 6 years ago by dev-zero@…

Note: See TracTickets for help on using tickets.