ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Sergey Y. Afonin" <asy@altlinux.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Принудительно установить версию GCC в SPEC
Date: Thu, 10 Apr 2014 01:46:27 +0400
Message-ID: <201404100146.27487.asy@altlinux.ru> (raw)
In-Reply-To: <20140324123350.GB12757@altlinux.org>

On Monday 24 March 2014, Dmitry V. Levin wrote:

> Базовый чрут формируется до обработки сборочных зависимостей пакета.
> Поскольку в него входит gcc, то самая актуальная версия gcc оказывается
> в сборочном чруте в любом случае.  Так у нас было всегда.

Может, делать удаление gcc/gcc-c++, отличных от X.Y, если макрос есть ?
Или что-то мешает ?

> Использование макроса "%set_gcc_version X.Y" приводит к следующему:
> - в сборочные зависимости попадает gccX.Y;
 
А gccX.Y-с++ ? Или, в этом случае, "BuildRequires: gccX.Y-c++" требуется
всё равно, если c++ надо ?

Вот два практически идентичных src.rpm:

#117960 TESTED #1 [test-only] t6 srpm=xorp-1.8.6-alt0.0.20130830.M60T.1.src.rpm
#117935 FAILED #4 [test-only] sisyphus srpm=xorp-1.8.6-alt0.20130830.1.src.rpm

Который для sisyphus, содержит %set_gcc_version 4.5 и BuildRequires gcc4.5-c++.

Или это вот

Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed!
ldd: ERROR: ./usr/lib/xorp/bin/rip_show_stats: trace failed

последствие не gcc4.8, а чего-то другого ? Хотя, если посмотреть в xorp-овский
git https://github.com/greearb/xorp.ct/tree/master/xorp, видно, что какие-то
исправления для 4.8 были уже, правда давно.

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


  reply	other threads:[~2014-04-09 21:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-21  9:12 Roman Savochenko
2014-03-21 16:06 ` Roman Savochenko
2014-03-21 16:30 ` Gleb Fotengauer-Malinovskiy
2014-03-24 11:43   ` Sergei Epiphanov
2014-03-24 12:33     ` Dmitry V. Levin
2014-04-09 21:46       ` Sergey Y. Afonin [this message]
2014-04-10  6:25         ` Sergey Y. Afonin
2014-04-10 16:35         ` Gleb Fotengauer-Malinovskiy
2014-04-10 22:03           ` Sergey Y. Afonin
2014-04-11  8:37           ` [devel] сборка xorp, glibc-kernheaders и gcc4.7 Sergey Y. Afonin

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=201404100146.27487.asy@altlinux.ru \
    --to=asy@altlinux.ru \
    --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