FS#73099 - [jsoncpp] update 1.9.4-1 -> 1.9.5-1 breaks packages

Attached to Project: Arch Linux
Opened by sekret (sekret) - Monday, 20 December 2021, 22:37 GMT
Last edited by Evangelos Foutras (foutrelis) - Monday, 20 December 2021, 23:38 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The jsoncpp update causes problems with other packages. I'm not sure if this issue lies with jsoncpp or with those packages, but system updates break.

Here's the output I get when my system wants to update jsoncpp:

[…]
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing jsoncpp (1.9.5-1) breaks dependency 'libjsoncpp.so=24-64' required by libopenshot
error: no targets specified (use -h for help)

After removing libopenshot with all of its dependencies (pacman -Rcns libopenshot) I can install the update of jsoncpp. But I cannot reinstall openshot with its dependency libopenshot afterwards. Here's the output:

# pacman -S openshot
resolving dependencies...
warning: cannot resolve "libjsoncpp.so=24-64", a dependency of "libopenshot"
warning: cannot resolve "libopenshot", a dependency of "openshot"
:: The following package cannot be upgraded due to unresolvable dependencies:
openshot

:: Do you want to skip the above package for this upgrade? [y/N]

The same happens with e.g. cmake:

# pacman -S cmake
resolving dependencies...
warning: cannot resolve "libjsoncpp.so=24-64", a dependency of "cmake"
:: The following package cannot be upgraded due to unresolvable dependencies:
cmake

:: Do you want to skip the above package for this upgrade? [y/N]


Additional info:
* package version(s)
jsoncpp 1.9.5-1
libopenshot 0.2.7-4
cmake 3.22.1-2
(and possibly many others)

* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:

Try to pacman -Syu and (if nothing happens) try to install libopenshot or cmake afterwards.
This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Monday, 20 December 2021, 23:38 GMT
Reason for closing:  Fixed
Additional comments about closing:  A soname bump was missed; all affected packages should be rebuilt soon.
Comment by Invarianz (Invarianz) - Monday, 20 December 2021, 22:54 GMT
Same problem with waybar i.e.:

installing jsoncpp (1.9.5-1) breaks dependency 'libjsoncpp.so=24-64' required by waybar
Comment by Chmouel B (chmouel) - Monday, 20 December 2021, 23:38 GMT
Sames goes for cmake, installing jsoncpp (1.9.5-1) breaks dependency 'libjsoncpp.so=24-64' required by cmake

(which breaks a whole lot with it)

Loading...