ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Andrey Savchenko <bircoph@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Q: пересборка пакетов под видом сборки с новым бустом
Date: Sat, 13 Jun 2020 21:48:20 +0300
Message-ID: <20200613214820.3a2372573842e610c9c16003@altlinux.org> (raw)
In-Reply-To: <20200613173312.GA22306@altlinux.org>

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

On Sat, 13 Jun 2020 20:33:12 +0300 Dmitry V. Levin wrote:
> On Sat, Jun 13, 2020 at 08:33:03PM +0400, Alexey Sheplyakov wrote:
> > Добрый день, коллеги!
> > 
> >  > Все эти пакеты не зависят от boost
> > 
> > http://git.altlinux.org/gears/c/clementine.git?p=clementine.git&a=search&h=HEAD&st=grep&s=boost
> > 
> > Скорее зависит, чем нет.
> > 
> > http://git.altlinux.org/gears/w/websocketpp.git?p=websocketpp.git&a=search&h=f2c77f250e81ae2e3453fb38ec747a0417efbf34&st=grep&s=boost
> > 
> > Использует boost.asio
> > 
> > http://git.altlinux.org/gears/w/wvstreams.git?p=wvstreams.git;a=blob;f=configure.ac;h=f94f5b77a185d4576695a49bc48220b599cf3c9f;hb=4af75af74dbc7d7d4bba0c20fc0fd3feed42747b#l537
> > 
> > Использует boost::shared_ptr, boost::bind, и прочие "мелочи".
> > 
> > Так что по крайней мере три пакета из приведенного списка зависят от boost.
> > 
> > Нужно ли пересобирать софтину, использующую boost::shared_ptr, просто 
> > потому, что вышел новый boost? Если в новом boost нет
> > каких-то исправлений в shared_ptr, то нет. А сколько времени
> > займет детальный анализ каждого пакета? С этой точки зрения
> > пересобрать надежнее и быстрее выйдет.
> > 
> >  > и в результате пересборки не были собраны "with_new_boost".
> > 
> > Поделитесь, пожалуйста, какими-нибудь подтверждениями этой гипотезы.
> > 
> > P.S.
> > 
> > boost чуть менее чем полностью состоит из заголовочных файлов.
> > Потому достаточно много приложений, использующих boost, не слинкованы с
> > libboost_{date_time,filesystem,iostreams,locale,python,regex,thread,system}.so
> > 
> > По бинарникам такого приложения обнаружить зависимость бывает не вполне 
> > просто. Но она есть!
> 
> Т.е. фактически это разновидность статической линковки с boost?
> Отвратительно!

Так работают *любые* шаблоны C++ и, следовательно, любые
абстрактные алгоритмы by design. Welcome to the real world.

Best regards,
Andrew Savchenko

[-- Attachment #2: Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2020-06-13 18:48 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-13 14:54                                                                                                                                                                                                                               ` Dmitry V. Levin
2020-06-13 16:33                                                                                                                                                                                                                                 ` Alexey Sheplyakov
2020-06-13 17:33                                                                                                                                                                                                                                   ` Dmitry V. Levin
2020-06-13 18:48                                                                                                                                                                                                                                     ` Andrey Savchenko [this message]
2020-06-13 18:49                                                                                                                                                                                                                                     ` Alexey Sheplyakov
2020-06-14 11:07                                                                                                                                                                                                                                 ` [devel] boost: что то пошло не так Валерий Иноземцев
2020-06-14 14:25                                                                                                                                                                                                                                   ` Dmitry V. Levin
2020-06-15  7:24                                                                                                                                                                                                                                     ` Aleksei Nikiforov
2020-06-15  7:37                                                                                                                                                                                                                                       ` Alexey V. Vissarionov
2020-06-15  9:18                                                                                                                                                                                                                                       ` Dmitry V. Levin
2020-06-15 11:02                                                                                                                                                                                                                                         ` Aleksei Nikiforov
2020-06-15 13:00                                                                                                                                                                                                                                           ` Vladimir D. Seleznev
2020-06-15 13:09                                                                                                                                                                                                                                             ` Dmitry V. Levin
2020-06-15 13:15                                                                                                                                                                                                                                               ` Vladimir D. Seleznev
2020-06-15 13:18                                                                                                                                                                                                                                                 ` Alexey V. Vissarionov
2020-06-15 13:19                                                                                                                                                                                                                                                 ` Anton Farygin
2020-06-15 13:36                                                                                                                                                                                                                                                 ` Vladimir D. Seleznev

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=20200613214820.3a2372573842e610c9c16003@altlinux.org \
    --to=bircoph@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