Chloe Kudryavtsev wrote:
> On 2/28/2019 2:02 PM, Riccardo Mottola wrote:
> Hi Riccardo,
>> how to detect AlpineLinux sources compared to standard Linux
> I'm afraid that's not quite the issue you're running into.
> Alpine includes all of the standard *linux* headers under the
> linux-headers package.
> The problem you are running into is that glibc is not linux, and not
> necessarily standard.
>> fatal error: sys/queue.h: No such file or directory
> Alpine uses the musl libc.
> musl does not include sys/queue.h.
> As mentioned, you can find it in bsd-compat-headers (as per the
> recommendation of the musl author).
>> sys/sysctl.h: No such file or directory
> sysctl(2) is deprecated in linux, and should not be used.
> As such, musl removed it (5 years ago).
> Any application using it should be modified to not use it.
>> how did you get FireFox running?
> I'm not sure on that one, I can't find the mention of sysctl under
> testing/firefox, so I assume upsteam has added the ability to detect
> this header's presence.
I checked the code and found out that the include is conditional:
so if everything is working as expected it should be included only when
I do not fully understand if the configure is actually called or not my
the mozilla build system!
As a test, I tried just to remove that headers, we can understand what
to patch later. However, compilation just delays failure:
2:17.29 In file included from
2:17.30 ../../dist/system_wrappers/fts.h:4:15: fatal error: fts.h: No
such file or directory
2:17.31 #include_next <fts.h>
Received on Tue Mar 05 2019 - 22:45:12 UTC