ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] Q: %set_gcc_version
@ 2019-11-26  8:55 Sergey Afonin
  2019-11-26  9:28 ` Alexey V. Vissarionov
  0 siblings, 1 reply; 5+ messages in thread
From: Sergey Afonin @ 2019-11-26  8:55 UTC (permalink / raw)
  To: devel

Приветствую.

А работает ли сейчас %set_gcc_version? Есть необходимость собрать
пакет посредством gcc8, и такое впечатление, что конструкция 

%set_gcc_version 8

не применяется в Sisyphus. Или я её не так применяю:
http://git.altlinux.org/tasks/241660

-- 
С уважением, Сергей Афонин.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [devel] Q: %set_gcc_version
  2019-11-26  8:55 [devel] Q: %set_gcc_version Sergey Afonin
@ 2019-11-26  9:28 ` Alexey V. Vissarionov
  2019-11-26  9:32   ` Dmitry V. Levin
  0 siblings, 1 reply; 5+ messages in thread
From: Alexey V. Vissarionov @ 2019-11-26  9:28 UTC (permalink / raw)
  To: ALT Linux Team development discussions

On 2019-11-26 12:55:35 +0400, Sergey Afonin wrote:

 > А работает ли сейчас %set_gcc_version? Есть необходимость собрать
 > пакет посредством gcc8, и такое впечатление, что конструкция
 > %set_gcc_version 8
 > не применяется в Sisyphus. Или я её не так применяю:
 > http://git.altlinux.org/tasks/241660

BuildRequires: gcc8


-- 
Alexey V. Vissarionov
gremlin ПРИ altlinux ТЧК org; +vii-cmiii-ccxxix-lxxix-xlii
GPG: 0D92F19E1C0DC36E27F61A29CD17E2B43D879005 @ hkp://keys.gnupg.net


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [devel] Q: %set_gcc_version
  2019-11-26  9:28 ` Alexey V. Vissarionov
@ 2019-11-26  9:32   ` Dmitry V. Levin
  2019-11-26 12:14     ` Michael Shigorin
  2019-11-26 12:47     ` Sergey Afonin
  0 siblings, 2 replies; 5+ messages in thread
From: Dmitry V. Levin @ 2019-11-26  9:32 UTC (permalink / raw)
  To: ALT Devel discussion list

[-- Attachment #1: Type: text/plain, Size: 629 bytes --]

On Tue, Nov 26, 2019 at 12:28:46PM +0300, Alexey V. Vissarionov wrote:
> On 2019-11-26 12:55:35 +0400, Sergey Afonin wrote:
> 
>  > А работает ли сейчас %set_gcc_version? Есть необходимость собрать
>  > пакет посредством gcc8, и такое впечатление, что конструкция
>  > %set_gcc_version 8
>  > не применяется в Sisyphus. Или я её не так применяю:
>  > http://git.altlinux.org/tasks/241660
> 
> BuildRequires: gcc8

Это неправильный совет, он работать не будет.

%set_gcc_version работает, но у вас g++, поэтому нужно добавить
BuildRequires: gcc8-c++

Вообще очень странно, что clamav не умеет gcc9.


-- 
ldv

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [devel] Q: %set_gcc_version
  2019-11-26  9:32   ` Dmitry V. Levin
@ 2019-11-26 12:14     ` Michael Shigorin
  2019-11-26 12:47     ` Sergey Afonin
  1 sibling, 0 replies; 5+ messages in thread
From: Michael Shigorin @ 2019-11-26 12:14 UTC (permalink / raw)
  To: devel

On Tue, Nov 26, 2019 at 12:32:33PM +0300, Dmitry V. Levin wrote:
> %set_gcc_version работает, но у вас g++, поэтому нужно добавить
> BuildRequires: gcc8-c++

Поправил http://altlinux.org/SpecTips/ToolChain и заодно
http://altlinux.org/Особенности_написания_спек_файлов_в_ALT_Linux
(не знал про такую, добавил взаимные ссылки со [[spec]]).

-- 
 ---- WBR, Michael Shigorin / http://altlinux.org
  ------ http://opennet.ru / http://anna-news.info


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [devel] Q: %set_gcc_version
  2019-11-26  9:32   ` Dmitry V. Levin
  2019-11-26 12:14     ` Michael Shigorin
@ 2019-11-26 12:47     ` Sergey Afonin
  1 sibling, 0 replies; 5+ messages in thread
From: Sergey Afonin @ 2019-11-26 12:47 UTC (permalink / raw)
  To: ALT Linux Team development discussions

On Tuesday 26 November 2019, Dmitry V. Levin wrote:

> %set_gcc_version работает, но у вас g++, поэтому нужно добавить
> BuildRequires: gcc8-c++

Ещё вспомнил про весеннее обсуждение slang и export CC=%__cc,
добавил export CXX=%__cxx. Версия gcc/g++, судя по всему, меняется.

> Вообще очень странно, что clamav не умеет gcc9.

Да, проблема не в gcc9. Проблема в libcheck 20180202:0.13.0-alt1,
который приехал 25/10/2019, на следующий день после gcc9.

-- 
С уважением, Сергей Афонин.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-11-26 12:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-26  8:55 [devel] Q: %set_gcc_version Sergey Afonin
2019-11-26  9:28 ` Alexey V. Vissarionov
2019-11-26  9:32   ` Dmitry V. Levin
2019-11-26 12:14     ` Michael Shigorin
2019-11-26 12:47     ` Sergey Afonin

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