ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Igor Vlasenko <vlasenko@imath.kiev.ua>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Выборка из 20 недособранных пакетов (buildreq-src).
Date: Sat, 19 Mar 2016 12:30:06 +0200
Message-ID: <20160319103006.GA5156@dad.imath.kiev.ua> (raw)
In-Reply-To: <201603191202.10923.asy@altlinux.ru>

On Sat, Mar 19, 2016 at 12:02:10PM +0400, Sergey Y. Afonin wrote:
> On Friday 18 March 2016, Igor Vlasenko wrote:
> 
> > c-icap-modules:
> > # BEGIN SourceDeps(oneline):
> > BuildRequires: bzlib-devel
> > # END SourceDeps(oneline)
> > опять хотело бы слинковался с -lbz, да никто не дал.
> 
> Да, gear-buildreq то же самое сказал:

Вряд ли он сам сказал ;)

Сергей, воспользуюсь случаем и поясню для тех, кто 
читает тред, но не вникал в работу gear-buildreq/buildreq. 

gear-buildreq/buildreq 
__НИКОГДА НЕ ДОБАВЛЯЕТ__ пакеты в BuildRequires: 
Сколько gear-buildreq не запускай, тот же bzlib-devel
сам не появится в BuildRequires:. Его Сергей добавил
в BuildRequires руками, а затем проверил с помощью
gear-buildreq/buildreq.

Кстати, проверки через gear-buildreq/buildreq
не слишком надежная. Лучше посмотреть в исходники,
ведь иногда приходится еще ручки дергать 
наподобие --enable-bz2.

 
> # Automatically added by buildreq on Sat Mar 19 2016
> # optimized out: c-icap libcom_err-devel libkrb5-devel libssl-devel python3 python3-base
> BuildRequires: bzlib-devel c-icap-devel libclamav-devel libdb4-devel python3.3-site-packages zlib-devel
> 
> Но вот что я не понял, так это зачем тут python...

Ни при чем, конечно, но таков алгоритм gear-buildreq.
Напомню, gear-buildreq не добавляет недостающих пакетов
в BuildRequires:. 

Вместо этого, она __УБИРАЕТ__ пакеты из созданного chroot,
если к файлам этих пакетов в процессе сборки не было 
обращений.
При этом захватывается и мусор, если к его файлам
были обращения, даже случайные `ls /usr/bin | grep poo`.
в частности таким мусором есть python3,
который был затянут в chroot другими пакетами
и чем-то затронут в процессе сборки.

Нужно осмысливать выхлоп утилит.

Еще одна потенциальная в ногу самострельная вещь
это # optimized out: от gear-buildreq/buildreq.

Но это тема для отдельного письма.



-- 

I V


  reply	other threads:[~2016-03-19 10:30 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-17 21:14 Igor Vlasenko
2016-03-17 21:54 ` Dmitry V. Levin
2016-03-17 22:38   ` Igor Vlasenko
2016-03-18  5:37     ` Dmitry V. Levin
2016-03-18 11:51       ` Igor Vlasenko
2016-03-18  9:37 ` Andrey Cherepanov
2016-03-18 12:00   ` Igor Vlasenko
2016-03-19  8:02 ` Sergey Y. Afonin
2016-03-19 10:30   ` Igor Vlasenko [this message]
2016-03-19 11:18     ` Sergey Y. Afonin
2016-03-19 12:50   ` Dmitry V. Levin
2016-03-19 13:34     ` Sergey Y. Afonin
2016-03-19 14:18       ` Dmitry V. Levin

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=20160319103006.GA5156@dad.imath.kiev.ua \
    --to=vlasenko@imath.kiev.ua \
    --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