This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: build failure: No rule to make target '/usr/include/linux/limits.h'
On 06/09/17 12:57, Andreas Schwab wrote:
> On Sep 06 2017, Szabolcs Nagy <szabolcs.nagy@arm.com> wrote:
>
>> On 06/09/17 11:58, Andreas Schwab wrote:
>>> On Sep 06 2017, Szabolcs Nagy <szabolcs.nagy@arm.com> wrote:
>>>
>>>> stracing make it seems make fstats about 400 different
>>>> paths ending in /linux before it finds
>>>>
>>>> D/build/../include/linux/limits.h
>>>
>>> Where does that file come from?
>>>
>>
>> there must be a broken
>>
>> $(prefix)/include/%.h: ../include/%.h
>> install ...
>>
>> rule somewhere that is invoked from D/build.
>
> No, that rule does not create that file.
>
D/build/../include/linux/limits.h already exists
(it's a file outside of the build dir hence it
should not affect anything)