ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Vitaly Lipatov <lav@altlinux.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Cc: Vladimir Didenko <cow@altlinux.org>
Subject: Re: [devel] [#380367] DONE (try 2) cmake.git=4.0.0-alt1
Date: Tue, 08 Apr 2025 13:02:38 +0300
Message-ID: <9e1b9be2470dbb404051d0740144df2b@altlinux.ru> (raw)
In-Reply-To: <m3o6x8z7zz.fsf@altlinux.ru>

Sergey Bolshakov писал(а) 7.4.25 11:33:
...
> Собирается ли майнтайнер cmake/rpm-build-cmake поделиться
> с нами своими планами ? Было бы кстати.

В Сизифе около 140 пакетов не используют макрос %cmake для сборки, 
поэтому по-прежнему не собираются.

Так же есть такие случаи как transmission, где как-то внутри вызывается 
cmake для сборки подпроекта dht.bld.

Вот так делать уже не нужно, %cmake уже включает переопределение 
минимальной версии:
-%cmake -DCMAKE_BUILD_TYPE=Release
+%cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_POLICY_VERSION_MINIMUM=3.5

Вот так исправлять сборку не стоит:
-cmake .
+cmake -DCMAKE_POLICY_VERSION_MINIMUM=3.5 .

в этом случае нужно было перевести на использование макроса 
%cmake_insource, добавив
BuildRequires(pre): rpm-macros-cmake

Некоторые пакеты, версия которых по 10 лет не менялась, видимо, покинут 
Сизиф, например
xtrkcad



-- 
С уважением,
Виталий Липатов,
ALT Linux Team


      parent reply	other threads:[~2025-04-08 10:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-07  7:04   ` Dmitry V. Levin
2025-04-07  7:21     ` Sergey V Turchin
2025-04-07  7:58     ` Anton Farygin
2025-04-07  8:33       ` Sergey Bolshakov
2025-04-07 10:56         ` Vitaly Lipatov
2025-04-08 10:02         ` Vitaly Lipatov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9e1b9be2470dbb404051d0740144df2b@altlinux.ru \
    --to=lav@altlinux.ru \
    --cc=cow@altlinux.org \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git