Project

General

Profile

Actions

Bug #1

closed

Redpesk SDK does not install on OpenSUSE 15.3 (afb-client missing dependency on json-c3 library)

Added by Emmanuel Jubera [SAFT] over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Target version:
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

  1. Remove afb-client from the LIST_PACKAGE_RPM variable in install-redpesk-sdk.sh
  2. Perform the install the usual way. This will succeed.
  3. Manually install the afb-client package: zypper install afb-client. Choose option number 2 which is to force the installation, disregarding the package dependency.
  4. The package will work fine as the dependency is spurious and the runtime ones are already satisfied.
Actions #1

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.

Actions #2

Updated by Vincent Rubiolo over 2 years ago

  • Description updated (diff)
Actions #3

Updated by Vincent Rubiolo over 2 years ago

  • Description updated (diff)
Actions #4

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)
Actions #6

Updated by Vincent Rubiolo over 2 years ago

  • Status changed from New to Resolved
Actions #7

Updated by Vincent Rubiolo over 2 years ago

  • Assignee changed from Vincent Rubiolo to Emmanuel Jubera [SAFT]

Reassigning for fix confirmation/closure.

Actions #8

Updated by Emmanuel Jubera [SAFT] over 2 years ago

  • Status changed from Resolved to Closed

Fix validated.

Actions

Also available in: Atom PDF