Boost logo

Boost-Build :

Subject: Re: [Boost-build] bjam error: Empty path passed to 'make-UNIX'
From: Thomas Bretgeld (thomas.bretgeld_at_[hidden])
Date: 2014-01-15 12:17:16


Hi Steven,

I thougt so too, but it doesn't. In my example "ECHO $(headers:D)" expands to "project", which is not a valid path. I guess this one should be "."
instead.

However the problem also remains, if there are subdirectories with header files as well. If you add a "include" subdirectory with another header file
inside, then the headers:D expands to "include project". So definitely is not empty, but at least contains on wrong entry.

Best regards,
Thomas

Am Wed Jan 15 16:53:05 2014 schrieb Steven Watanabe:
> AMDG
>
> On 01/15/2014 06:17 AM, Thomas Bretgeld wrote:
>> <snip>
>> /usr/share/boost-build/util/path.jam:511: in path.make from module path
>> error: Empty path passed to 'make-UNIX'
>> <snip>
>> Today I have invested some time to track it down. I was able to create a
>> very simple workspace with 2 projects "Good" and "Fail" to demonstrate
>> the problem. The problem seems to be that it fails as soon as there is a
>> header file in the projects' root directory. If there is no header or if
>> the header is moved to a subdirectory the compilation works fine.
>>
>> I hope that there are some smart people out here that can fix this
>> error. It may just be something simple, but my understanding of the bjam
>> internals are not good enough to figure it out.
>>
>
> I'm guessing that $(headers:D) expands to "",
> not ".", which is not considered a valid path.
>
> In Christ,
> Steven Watanabe
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
>


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk