IRC channel logs

2024-08-22.log

back to list of logs

<taeaad>nckx: Sorry I was away too, the package is the one above; I do guix import pypi lightgbm, and then try to create a python-lightgbm.scm file, then I call guix build -f python-lightgbm.scm. It then gives the cmake error above. If you do reply I'll check again here later.
<taeaad>I have been able to do this with guix import cran adegraphics, followed by same steps, creating r-adegraphics.
<nckx>taeaad: OK… Awkward to ask for the file a third time, and faster to duplicate your work of adding all required module imports, but it was tedious and rather pointless.
<nckx>Building it gives a different error than the one you report: python-scikit-build-core is missing, not cmake. My guess is you added that input manually, but forgot you did? Another good reason for sharing your WIP instead of describing it. :-)
<nckx>After adding (arguments (list #:tests? #f)) (native-inputs (list cmake python-scikit-build-core)) the package builds fine here. That's what I meant above: 'guix import' gives you a minimal template that may or may not build. It's not clear to me how lightgbm declares this cmake requirement, or whether all packages using scikit-build expect cmake to be available, which seems most likely.
<nckx> https://tobias.gr/python-lightgbm.scm