ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Денис Смирнов" <mithraen@freesource.info>
To: Anton Farygin <rider@altlinux.com>
Cc: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] ghc 7.6.1
Date: Mon, 15 Jul 2013 18:01:34 +0400
Message-ID: <20130715140134.GA10912@mw.mithraen.ru> (raw)
In-Reply-To: <51E3E3A5.6090008@altlinux.com>

On Mon, Jul 15, 2013 at 03:57:25PM +0400, Anton Farygin wrote:

> Денис, я чего-то не совсем догоняю. Что теперь принято прописывать в 
> сборочные зависимости для ghc ?
> Раньше было так:
> BuildRequires: ghc-binary ghc-network-
> BuildRequires: ghc-bytestring-show ghc-deepseq
> BuildRequires: ghc-stm ghc-regex-base ghc-mtl ghc-binary 
> ghc-regex-compat ghc-parsec ghc ghc-utf8-string ghc-network 
> ghc-regex-posix ghc-dataenc ghc-hslog

ghc7.6.1-binary, и т.д.

> Но теперь:
> $rpm -q --provides -p 
> /raid/Sisyphus/files/i586/RPMS/ghc7.6.1-stm-2.4.2-alt2.i586.rpm
> ghc7.6.1(stm) = 2.4.2
> ghc7.6.1(stm-2.4.2-81f83a0cc011bf44976a18782d6e07ff)
> ghc7.6.1-stm = 2.4.2-alt2
> Как быть ?

Я начал работу по поддержке нескольких версий ghc в репозитории.
Зависимость на конкретную версию делать приходится, потому как в ghc
ломать обратную совместимость не считается проблемой. Так что зависимость
на ghc без указания версии для чего-то сложнее helloworld.hs очень
сомнительна.

Кроме того, если у нас будет стоять пакет, скажем, ghc-binary от ghc7.6.1,
а ghc-stm от ghc7.6.2, то это, на самом деле, означает что при сборке один
из них совершенно точно использоваться не будет. А может быть и обa не
будут, ежели ghc у нас -- ghc7.6.3.

Так что зависимость на библиотеку без указания версии ghc, которой она был
собран -- стремное дело.

Короче -- в строчках с buildrequires сделай search&replace ' ghc-' на '
ghc7.6.1-'.

-- 
С уважением, Денис

http://mithraen.ru/


  reply	other threads:[~2013-07-15 14:01 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-23 22:46 Денис Смирнов
2012-12-31 10:44 ` REAL
2012-12-31 13:53     ` Michael Shigorin
2013-01-01 22:33       ` Денис Смирнов
2012-12-31 14:59     ` REAL
2013-01-01  7:31       ` [devel] [JT] " Ivan A. Melnikov
2013-01-01 22:31       ` [devel] " Денис Смирнов
2013-07-15 11:57 ` Anton Farygin
2013-07-15 14:01   ` Денис Смирнов [this message]
2013-07-15 15:02     ` Anton Farygin

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=20130715140134.GA10912@mw.mithraen.ru \
    --to=mithraen@freesource.info \
    --cc=devel@lists.altlinux.org \
    --cc=rider@altlinux.com \
    /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