Boost logo

Boost :

From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2021-08-03 11:50:35


On 8/3/21 11:55 AM, Andrey Semashev wrote:
> On 8/3/21 3:58 AM, Gavin Lambert via Boost wrote:
>> On 3/08/2021 11:57 am, Andrey Semashev wrote:
>>>> The docker image that the tools get run from doesn’t have
>>>> “linux/magic.h”
>>>>
>>>> More as we discover it.
>>>
>>> I would like to know more about this issue. In particular, what Linux
>>> system lacks this file (distro, kernel version, etc.). Maybe, this is
>>> worth fixing before the release.
>>
>> Git history suggests that the file started existing in linux kernel
>> 2.6.19 and remains since.
>>
>> Although it moved from one folder to another in the internal kernel
>> source tree in kernel 3.7, but that shouldn't affect its existence in
>> the userspace include dirs, unless something is using the wrong
>> include paths.
>
> Thanks. 2.6.19 was released nearly 15 years ago, I wouldn't think such
> old systems would be building new Boost. I can add a workaround if
> that's needed.

Here is the workaround:

https://github.com/boostorg/filesystem/commit/9794725bda2e612f1fdcadd98cdce5b7bfb548f1

I would like to merge it to master please.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk