Hi,
> > [ ERROR ]: 09:41:59 | KiwiBootStrapPhaseFailed: Bootstrap package
> > installation failed: Installation of
> > cuda-license-10-1-10.1.243-1.x86_64 failed:
> > Error: Subprocess failed. Error: RPM failed: warning:
> > /result/build/image-root/var/cache/kiwi/packages/NVIDIA
> > CUDA/cuda-license-10-1-10.1.243-1.x86_64.rpm: Header V4 RSA/SHA512
> > Signature, key ID 7fa2af80: NOKEY
> > /bin/sh: error while loading shared libraries: libreadline.so.7:
> > cannot open shared object file: No such file or directory
> > error: %prein(cuda-license-10-1-10.1.243-1.x86_64) scriptlet failed,
> > exit status 127
> > error: cuda-license-10-1-10.1.243-1.x86_64: install failed
> >
> > I suspect it is because the cuda-license rpm wants to show me
> > something that I have to accept. Not sure.
> >
> > Any ideas on what this might be?
> >
> > The specific package that I am wanting to install is cuda-nvcc-10-2,
> > and I guess it pulls in the cuda-license package.
> >
> > I am building for Leap 15.2 on a Tumbleweed host, using buildbox.
>
> I bit more information. The error is happening when the repository is
> added.
That I don't believe because the above error makes it pretty
clear that the pre-install script of cuda-license calls something
that needs libreadline.so.7 which does not exist at that time
probably because of a wrong pre-req config of the package
I suggest you do the following:
Place all of the nvidia packages into:
<packages type="image"/>
<package name="nvidia..."/>
</packages>
Don't place anything in the bootstrap section that can also
be installed as part of the image(chrooted) install section
In general the bootstrap section should be as small as possible.
As the name says it's bootstrap meaning it uses the package
manager on the host to get to a minimal system from which
chroot works
Again this is not a boxbuild issue, you should see the same
problem when building from a host that does not provide
the needed libraries
Let me know if that helps
Regards,
Marcus
--
Public Key available via:
https://keybase.io/marcus_schaefer/key.asc
keybase search marcus_schaefer
-------------------------------------------------------
Marcus Schäfer (Res. & Dev.) SUSE Software Solutions Germany GmbH
Tel: 0911-740 53 0 Maxfeldstrasse 5
FAX: 0911-740 53 479 D-90409 Nürnberg
HRB: 21284 (AG Nürnberg) Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton
http://www.suse.de
-------------------------------------------------------