obs build error on leap : ModuleNotFoundError: No module named 'yaml'
Hello sir, I'm trying to build this <https://build.opensuse.org/package/show/home:ahmedmoselhi2:kernel/kernel-default:kernel-docs> on leap 15.5 but every time I got this build error: [ 101s] + make O=/home/abuild/rpmbuild/BUILD/kernel-docs-6.8~rc3/linux-6.8-rc3/html PYTHON=python3 htmldocs [ 101s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/kernel-docs-6.8~rc3/linux-6.8-rc3/html' [ 101s] Traceback (most recent call last): [ 101s] File "/home/abuild/rpmbuild/BUILD/kernel-docs-6.8~rc3/linux-6.8-rc3/html/../tools/net/ynl/ynl-gen-rst.py", line 26, in <module> [ 101s] import yaml [ 101s] ModuleNotFoundError: No module named 'yaml' [ 101s] make[3]: *** [../Documentation/Makefile:112: ../Documentation/networking/netlink_spec/tc.rst] Error 1 [ 101s] make[2]: *** [/home/abuild/rpmbuild/BUILD/kernel-docs-6.8~rc3/linux-6.8-rc3/Makefile:1722: htmldocs] Error 2 [ 101s] make[1]: *** [/home/abuild/rpmbuild/BUILD/kernel-docs-6.8~rc3/linux-6.8-rc3/Makefile:240: __sub-make] Error 2 [ 101s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/kernel-docs-6.8~rc3/linux-6.8-rc3/html' [ 101s] make: *** [Makefile:240: __sub-make] Error 2 [ 101s] error: Bad exit status from /var/tmp/rpm-tmp.UHs9ow (%build)
Hi, On 06.02.24 07:21 ahmed moselhi wrote:
Hello sir,
And Madams? ;-)
I'm trying to build this <https://build.opensuse.org/package/show/home:ahmedmoselhi2:kernel/kernel-default:kernel-docs> on leap 15.5 but every time I got this build error:
"/home/abuild/rpmbuild/BUILD/kernel-docs-6.8~rc3/linux-6.8-rc3/html/../tools/net/ynl/ynl-gen-rst.py", line 26, in <module> [ 101s] import yaml [ 101s] ModuleNotFoundError: No module named 'yaml'
I guess you are missing a python package for YAML, maybe python3-PyYAML, as a build dependency? Kind Regards, Johannes
participants (2)
-
ahmed moselhi
-
Johannes Kastl