Bug 27346 - Building the latest version of telegram requires a newer version of cmake
Summary: Building the latest version of telegram requires a newer version of cmake
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: Backports (show other bugs)
Version: 7
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Nicolas Lécureuil
QA Contact:
URL:
Whiteboard:
Keywords: Triaged
Depends on:
Blocks:
 
Reported: 2020-10-02 03:52 CEST by Kristoffer Grundström
Modified: 2021-09-07 14:09 CEST (History)
1 user (show)

See Also:
Source RPM: cmake
CVE:
Status comment:


Attachments

Description Kristoffer Grundström 2020-10-02 03:52:40 CEST
Description of problem: When I download the archive for the latest Telegram version and run cmake .. to build it I get this message:

CMake Error at CMakeLists.txt:7 (cmake_minimum_required):
  CMake 3.16 or higher is required.  You are running version 3.14.3

Version-Release number of selected component (if applicable): 3.18.3

How reproducible: All the time.

Steps to Reproduce:
1. Open a terminal window.
2. Make sure your git credentials are set.
3. Do git clone https://github.com/telegramdesktop/tdesktop.git
4. cd to the tdesktop directory.
5. Create a directory called build.
6. cd to the build directory
7. Run cmake ..
8. Voila! Here's where you get the message stating "CMake Error at CMakeLists.txt:7 (cmake_minimum_required):
  CMake 3.16 or higher is required.  You are running version 3.14.3"
Comment 1 Aurelien Oudelet 2020-10-03 13:23:56 CEST
Hi, thanks reporting this.

As it is a Backport request from an updated version from Cauldron to Mageia 7, this could be done on a voluntary basis from packager, if this can be done without breaking other core packages.

Assigned to the package maintainer.
Packagers: Please set the status to 'assigned' if you are working on it
Please also close this if this can't be done for Mageia 7.

@Reporter,
You have solution from upstream site: https://desktop.telegram.org/
and also flatpak from: org.telegram.desktop in flathub.

Assignee: bugsquad => mageia
Keywords: (none) => Triaged
CC: (none) => ouaurelien

Comment 2 katnatek 2020-11-12 22:06:13 CET
Please do this

i can't build the new version of https://github.com/crow-translate/crow-translate , because it needs more recent cmake https://github.com/crow-translate/crow-translate/blob/master/CMakeLists.txt
Comment 3 Nicolas Lécureuil 2021-01-09 14:32:50 CET
ok i will look to provide you this.
Comment 4 Aurelien Oudelet 2021-05-03 16:25:21 CEST
in 7.1/SRPMS/core/backports_testing/cmake-rpm-macros-8-6.mga7.src.rpm
Comment 5 katnatek 2021-05-04 06:52:50 CEST
(In reply to Aurelien Oudelet from comment #4)
> in 7.1/SRPMS/core/backports_testing/cmake-rpm-macros-8-6.mga7.src.rpm

I migrate this lap to mga 8 and to my PC with mga 7 die the main HD :(
Sorry i can't test
Comment 6 katnatek 2021-05-04 19:19:34 CEST
(In reply to Aurelien Oudelet from comment #4)
> in 7.1/SRPMS/core/backports_testing/cmake-rpm-macros-8-6.mga7.src.rpm

Ok i do some work on my copr, this is not enough i try to backport

cmake-3.19.2-2.mga8.src.rpm but the build fails

Error: 
 Problem: problem with installed package cmake-rpm-macros-1:3.14.3-1.mga7.i586
  - cannot install the best update candidate for package cmake-rpm-macros-1:3.14.3-1.mga7.i586
  - nothing provides rpm-mageia-setup-build >= 2.46-3 needed by cmake-rpm-macros-1:8-6.mga7.noarch
Comment 7 Aurelien Oudelet 2021-07-06 13:14:44 CEST
Mageia 7 is EOL since July 1st 2021.
There will not have any further bugfix for this release.

You are encouraged to upgrade to Mageia 8 as soon as possible.

@reporter, if this bug still apply with Mageia 8, please let us know it.

@packager, if you work on the Mageia 7 version of your package, please check the Mageia 8 package if issue is also present. In this case, please fix the Mageia 8 version instead.

This bug report will be closed OLD if there is no further notice within 1st September 2021.
Comment 8 Marja Van Waes 2021-09-07 14:09:50 CEST
Hi bug reporter and hi assignee and others involved,

Please reopen this bug report if it is still valid for Mageia 8 or 9(cauldron), and change "Version:" in the upper left of this report accordingly.

This report is being closed as OLD because it was filed against Mageia 7, for which  support ended on June 30th 2021.

Thanks,
Marja

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


Note You need to log in before you can comment on or make changes to this bug.