Ludovic Courtès schreef op ma 23-05-2022 om 17:28 [+0200]: > Hi, > > Allan Adair skribis: > > >    File "/gnu/store/g2x37cxh2ag5h66f0p9zaz9pkz2vcvgg-python-libvirt- > > 7.9.0/lib/python3.9/site-packages/libvirt.py", line 1353, in create > >      raise libvirtError('virDomainCreate() failed') > > libvirt.libvirtError: '/usr/libexec/qemu-bridge-helper' is not a suitable > > bridge helper: No such file or directory > > > > > > Because the package is searching specifically for "/usr/libexec/qemu- > > bridge-helper", I think this is a bug in the package definition. "/usr" > > should probably be a prefix from the store, right? > > > > Any comments or suggestions? > > Presumably that “/usr/libexec/qemu-bridge-helper” reference is > hard-coded in the source.  The solution in situations like this is to > replace it (using ‘substitute*’) by the absolute file name of the > corresponding program in /gnu/store. > >   (substitute* "some/file.py" >     (("/usr/libexec/qemu-bridge-helper") >      (search-input-file inputs "/bin/qemu-bridge-helper"))) Additionally, you can do "grep -RF /usr/libexec /gnu/store/g2x37cxh2ag5h66f0p9zaz9pkz2vcvgg-python-libvirt-7.9.0" in a shell to find the name of the source file to substitutify. Greetings, Maxime.