Bug 30237

Summary: NeoChat cannot be installed due to missing library and it is outdated
Product: Mageia Reporter: Cyril Levet <cyril.levet0780>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: geiger.david68210, mageia
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: neochat-1.1.1-1.mga9.src.rpm CVE:
Status comment:

Description Cyril Levet 2022-04-03 12:13:56 CEST
Description of problem: 
NeoChat cannot be installed on Mageia Cauldron due to missing libcmark.so.0.29.0()(64bit). However, Cauldron distribute libcmark 0.30.2. Moreover, the available version in Mageia is 1.1.1 when last upstream version is 22.02 (https://apps.kde.org/neochat/). 


Version-Release number of selected component (if applicable): neochat-1.1.1, lib64cmark0-0.30.2-3


How reproducible: Always


Steps to Reproduce:
1. urpmi neochat or dnf install neochat
Comment 1 sturmvogel 2022-04-03 13:13:40 CEST
(In reply to Cyril Levet from comment #0)
> last upstream version is 22.02 

Nope. This is the version for Microsoft Windows. The actual linux version is 1.2.0 https://download.kde.org/stable/neochat/

But i can confirm the error on cauldron.
NeoChat cannot be installed on Mageia Cauldron due to missing libcmark.so.0.29.0()(64bit)
Comment 2 sturmvogel 2022-04-03 13:17:07 CEST
Seems that Neoclust already fixed the Neochat spec (for libcmark) but Neochat 1.2.0 was not yet pushed to cauldron.

https://svnweb.mageia.org/packages/cauldron/neochat/current/SPECS/neochat.spec?revision=1789872&view=markup

https://svnweb.mageia.org/packages/cauldron/neochat/current/SPECS/neochat.spec?view=log
Comment 3 sturmvogel 2022-04-03 13:32:03 CEST
cc'ing Neoclust and David. As they maintain a high amount of packages, this might take some time. Lowering the severity as it is cauldron and this package is not a base/imortant package.

CC: (none) => geiger.david68210, mageia
Severity: critical => normal

Comment 4 Cyril Levet 2022-04-03 13:42:43 CEST
(In reply to sturmvogel from comment #1)
> (In reply to Cyril Levet from comment #0)
> > last upstream version is 22.02 
> 
> Nope. This is the version for Microsoft Windows. The actual linux version is
> 1.2.0 https://download.kde.org/stable/neochat/
> 

Flatpak stable version (the one on FlatHub) is 22.02 https://flathub.org/apps/details/org.kde.neochat 

KDE neon stable uses 22.02 too.
Comment 5 Cyril Levet 2022-04-03 13:48:53 CEST
(In reply to sturmvogel from comment #3)
> Lowering the severity as it is cauldron and this
> package is not a base/imortant package.

According to Mageia definition, I think it's more the priority than the severity that have to be decreased. Severity is *critical* because the software cannot be installed, but priority is *low* because it's in Cauldron and not a base package.
Comment 6 sturmvogel 2022-04-03 14:36:43 CEST
This is a matter of interpretation and does not really help here.

I dug a little bit into the Neochat build. Both stable branches (1.2.0 and 22.02) can't be build under cauldron and fail with these message whilst building:

CMake Error at /usr/lib64/cmake/cmark/cmark-targets.cmake:78 (message):
  The imported target "cmark::cmark_static" references the file

     "/usr/lib64/libcmark.a"

  but this file does not exist.  Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained

     "/usr/lib64/cmake/cmark/cmark-targets.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  /usr/lib64/cmake/cmark/cmark-config.cmake:37 (include)
  cmake/Findcmark.cmake:10 (find_package)
  CMakeLists.txt:92 (find_package)


-- Configuring incomplete, errors occurred!
Comment 7 Jani Välimaa 2022-04-03 21:53:11 CEST
Fixed with cmark-0.30.2-4.mga9 and neochat-1.2.0-1.mga9.

Resolution: (none) => FIXED
Status: NEW => RESOLVED