ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Grigory Ustinov <grenka@altlinux.org>
To: devel@lists.altlinux.org
Subject: Re: [devel] [#291302] EPERM (try 3) del=ghc8.6.4 del=ghc8.6.4-adldap del=ghc8.6.4-aeson ...
Date: Mon, 6 Dec 2021 20:49:37 +0300
Message-ID: <76f00f74-cedd-ac78-f796-4794af46d2d8@basealt.ru> (raw)
In-Reply-To: <Ya5IjJJaN42e7BWc@cello>


06.12.2021 20:29, Arseny Maslennikov пишет:
> On Mon, Dec 06, 2021 at 07:40:27PM +0400, Evgeny Sinelnikov wrote:
>> пн, 6 дек. 2021 г. в 19:14, Dmitry V. Levin <ldv@altlinux.org>:
>>> Hi,
>>>
>>> On Mon, Dec 06, 2021 at 07:07:32PM +0400, Evgeny Sinelnikov wrote:
>>>> Привет!
>>>>
>>>> Вообще, где-то посередине застряла сборка ghc-8.10.5.
>>>> Наверное, нужно переехать всё-таки.
>>>>
>>>> Вообще, это уже известная проблема - починим, я думаю:
>>>> https://gitlab.haskell.org/ghc/ghc/-/issues/16440
>>> Если есть готовый фикс для нашей версии
>>> https://gitlab.haskell.org/ghc/ghc/-/commit/d2a284ab461681919cadaed394adebe42c4cc7bb
>>> то почему бы просто его не применить?
>>>
>>> Заодно уберите, пожалуйста, версионированную зависимость %llvm_version,
>>> это больше не работает.
> Видимо, речь про этот отрывок:
>
>       %ifarch armh aarch64
>       BuildRequires: llvm%llvm_version
>       Requires: llvm >= %llvm_version
>       %endif
>
> В спеке llvm-common:
>    41 %package -n llvm
>    42 Summary: Common symlinks for LLVM utilities
>    43 License: Apache-2.0 with LLVM-exception
>    44 Group: Development/C
>    45 BuildArch: noarch
>    46 Provides: llvm-common-util = %EVR
>    47 Requires: llvm%_llvm_version
>
> Так что дефолтный llvm точно вытянется, но прямой связи с определённым в
> начале спека ghc %llvm_version не будет.
>
>> Это сделано не под все архитектуры.
>> # llvm needs for unregisterised architectures
>> %ifarch armh aarch64
>> %define llvm_version 11.0
>> %endif
>>
>> Как оно теперь работает?
> https://git.altlinux.org/gears/l/llvm-common.git?p=llvm-common.git;a=blob;f=alt-packaging-produce-rpm-macros-llvm-common;h=ad7c8ca9ac9be036f4754042095df8662ee4db57;hb=9ebd55ba55ad602185a8ee2af3f4e21ea3e0ac2d
>
> Чтобы привязаться к конкретной версии, в спеке можно указать
> %set_llvm_version 12.0, например. Тогда программа llvm-config будет
> работать с llvm 12.0.x, и в спек добавится BR.
Но реальных пакетов, в которых это бы работало, до сих пор нет. Ни одного.
> Если же не привязываться, то вытянется некоторый дефолтный llvm с
> версией, соответствующей дефолтному значению %_llvm_version.
>
> _______________________________________________
> Devel mailing list
> Devel@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/devel


      parent reply	other threads:[~2021-12-06 17:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-06 14:07 Dmitry V. Levin
2021-12-06 14:52 ` Anton Farygin
2021-12-06 15:07 ` Evgeny Sinelnikov
2021-12-06 15:14   ` Dmitry V. Levin
2021-12-06 15:40     ` Evgeny Sinelnikov
2021-12-06 15:43       ` Dmitry V. Levin
2021-12-06 17:29       ` Arseny Maslennikov
2021-12-06 17:34         ` Dmitry V. Levin
2021-12-06 17:49         ` Grigory Ustinov [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=76f00f74-cedd-ac78-f796-4794af46d2d8@basealt.ru \
    --to=grenka@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