Modify

Opened 9 years ago

Last modified 9 years ago

#2952 new Bugs

Windows: path.glob doesn't accept paths at the root of the current drive

Reported by: John <jwbito@…> Owned by: Vladimir Prus
Milestone: To Be Determined Component: build
Version: Boost.Build-M3 Severity: Problem
Keywords: Cc:

Description

Trying to provide a full pathname to boost-build caused
error: Unknown target type EXE
The problem occurs with

boost-build /temp/boost-build ;

Based on the debug output the leading slash of the pathname is removed in util/path.jam:

/temp/boost-build/util\path.jam:54:>>>>|>>>>|>>>>|>>>>| native-NT /temp/boost-build/tools/types/*.jam
/temp/boost-build/util\path.jam:464:>>>>|>>>>|>>>>|>>>>|>> MATCH ^/?(.*) : /temp/boost-build/tools/types/*.jam
/temp/boost-build/util\path.jam:464:>>>>|>>>>|>>>>|>>>>|>> local result = temp/boost-build/tools/types/*.jam
/temp/boost-build/util\path.jam:465:>>>>|>>>>|>>>>|>>>>|>> regex.split temp/boost-build/tools/types/*.jam /

While the equivalent

boost-build c:/temp/boost-build ;

is processed successfully. Note that the boost-build kernel is loaded using the path specified in either case, up to the point of loading the contents of tools/types/.

Attachments (0)

Change History (1)

comment:1 Changed 9 years ago by Steven Watanabe

Component: Nonebuild
Owner: set to Vladimir Prus

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain Vladimir Prus.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.