crossdirect seems broken
Related:
Describe your issue
What's the expected behaviour?
Building mutter for arm works with pmbootstrap's crossdirect setup.
What's the current behaviour?
from here:
Header "sys/random.h" has symbol "getrandom" : NO
Header "linux/random.h" has symbol "getrandom" : NO
meson.build:548:4: ERROR: Problem encountered: Required function getrandom not found
A full log can be found at /home/pmos/build/src/mutter-913655c03539fb03ff691dc5192acb03c7f0c011/output/meson-logs/meson-log.txt
>>> ERROR: mutter-mobile: build failed
Additional information
Apparently it works with crossdirect disabled, so adding !pmb:crossdirect
as apkbuild option should work around it.
Seems to relate to a recent gcc upgrade.
Edited by Administrator