Project

General

Profile

Actions

Bug #1

closed
EJ EJ

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

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

Added by Emmanuel Jubera [SAFT] about 4 years ago. Updated about 4 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.

VR Updated by Vincent Rubiolo about 4 years ago Actions #1

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.

VR Updated by Vincent Rubiolo about 4 years ago Actions #2

  • Description updated (diff)

VR Updated by Vincent Rubiolo about 4 years ago Actions #3

  • Description updated (diff)

VR Updated by Vincent Rubiolo about 4 years ago Actions #4

  • 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)

VR Updated by Vincent Rubiolo about 4 years ago Actions #6

  • Status changed from New to Resolved

VR Updated by Vincent Rubiolo about 4 years ago Actions #7

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

Reassigning for fix confirmation/closure.

EJ Updated by Emmanuel Jubera [SAFT] about 4 years ago Actions #8

  • Status changed from Resolved to Closed

Fix validated.

Actions

Also available in: PDF Atom