workaround for ruamel.yaml.clib error (it fails to compile with clang > =16) #3791
tingox
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Environment
nikola running in a Python venv
Python Version:
Nikola Version:
Operating System:
Description:
There is a bug in ruamel.yaml.clib #22 it fails to compile with clang 16 (or newer). This makes it hard to install nikola on FreeBSD, which has clang as default compiler. FreeBSD 13.4 has clang 18
a patch for ruamel.yaml.clib exists in the FreeBSD port, but is not currently in upstream. Until this issue is fixed, the following workaround can be used:
pip download
for example, also download or get the patch file from FreeBSD.bin/python -m pip install -U "Nikola[extras]" ./ruamel.yaml.clib-0.2.8
(refer to the location of your locally patched ruamel.yaml.clib source)
Beta Was this translation helpful? Give feedback.
All reactions