Bug #1
closedRedpesk SDK does not install on OpenSUSE 15.3 (afb-client missing dependency on json-c3 library)
0%
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.
Updated by Vincent Rubiolo over 2 years ago
Thanks for reporting !
The issue is due to an incorrect dependency expressed in the afb-client
package at the RPM level (the Require
tag has the json-c
value, whereas the library is named json-c3
on Opensuse). We are respinning a package with the fix.
Updated by Vincent Rubiolo over 2 years ago
- Subject changed from Can't build microservices natively: when setting up the build host (easy setup), a json-c dependency fails to Redpesk SDK does not install on OpenSUSE 15.3 (afb-client missing dependency on json-c3 library)
Updated by Vincent Rubiolo over 2 years ago
Updated by Vincent Rubiolo over 2 years ago
- Assignee changed from Vincent Rubiolo to Emmanuel Jubera [SAFT]
Reassigning for fix confirmation/closure.
Updated by Emmanuel Jubera [SAFT] over 2 years ago
- Status changed from Resolved to Closed
Fix validated.