Actions
Bug #1
closedRedpesk SDK does not install on OpenSUSE 15.3 (afb-client missing dependency on json-c3 library)
Start date:
03/10/2022
Due date:
% Done:
0%
Estimated time:
Affects Version/s:
Fix Version/s:
Labels:
Description
Description¶
When trying to setup a build host running OpenSuse 15.3, as described by the redpesk online documentation (https://docs.redpesk.bzh/docs/en/master/getting_started/host-configuration/docs/1-Setup-your-build-host.html), script install-redpesk-sdk.sh fails. Reported error is:
Problem: nothing provides 'json-c' needed by the to be installed afb-client-4.0.1+20210711+1+g9702104-arz10.13.1.x86_64
On the host, json-c libraries are as follows:
lrwxrwxrwx 1 root root 18 Jan 14 14:21 /usr/lib64/libjson-c.so -> libjson-c.so.3.0.1
lrwxrwxrwx 1 root root 18 Jan 14 14:21 /usr/lib64/libjson-c.so.3 -> libjson-c.so.3.0.1
-rwxr-xr-x 1 root root 64208 Jan 14 14:21 /usr/lib64/libjson-c.so.3.0.1
Workaround¶
- Remove
afb-client
from theLIST_PACKAGE_RPM
variable ininstall-redpesk-sdk.sh
- Perform the install the usual way. This will succeed.
- Manually install the
afb-client
package:zypper install afb-client
. Choose option number 2 which is to force the installation, disregarding the package dependency. - The package will work fine as the dependency is spurious and the runtime ones are already satisfied.
Actions