ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Ivan A. Melnikov" <iv@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: [devel] IA: boost-1.91.0
Date: Tue, 21 Jul 2026 18:15:57 +0400
Message-ID: <al99Z1ZYyPlb9DTW@iv-work> (raw)

Приветсвую.

Дождавшись проползания питона, в Сизиф приехал очередной
boost, 1.91.0.  Прошу всех причастных пересобрать с ним
зависимые пакеты чтобы можно было удалить compat-пакет из
Сизифа.

В результате обновления из-за традиционных разломов обратной
совместимости развалится сборка 60-70 пакетов. В большинстве
случаев это старые новости, и для исправления стоит поискать
новые версии или патчи в апстриме или у коллег, например
в Fedora или Gentoo.

Основные причины разломов.


== Boost.System теперь header-only ==

На самом деле она стала header-only начиная с Boost 1.69.0,
но апстрим какое-то время держал стабы библиотек для
обратной совместимости, а теперь удалил их.

Если вас не волнуют p9 и родственные и/или более старые
ветки, можете смело отрывать '-lboost_system' и аналоги.
В p10, p11 и Сизифе всё должно работать и так.

Примерные сообщения об ошибках:

  /usr/bin/ld.bfd: cannot find -lboost_system: No such file or directory

  Could NOT find Boost: missing: system

  Could not find a package configuration file provided by "boost_system"

  configure: error: cannot find the flags to link with Boost system 

Пример решения для cmake от апстрима ceph:

https://github.com/ceph/ceph/commit/2940938b8c059f683109ef8aa3bb098ac6f998b8


== Boost.Asio ==

Практически каждое обновление Boost.Asio что-нибудь ломает, но
переход на  Asio 1.33.0+/Boost 1.87.0+ оказался особенно жёстким,
так как были удалены многие  deprecated facilities, включая
boost::asio::io_service.

Изменения обычно тривиальны но специфичны для каждой кодовой
базы. Однако Boost 1.87 это уже довольно старые новости, так
что в апсриме точно что-нибудь на эту тему есть.

Много подробностей в документации:

https://www.boost.org/doc/libs/latest/doc/html/boost_asio/history.html


Наиболее популярные сообщения об ошибках:

 error: 'io_service' in namespace 'boost::asio' does not name a type

 error: 'boost::asio::io_service' has not been declared; did you mean  'boost::asio::use_service'?

 error: boost/asio/io_service.hpp: No such file or directory


== Boost.Process v2 is now default ==

v2 довольно сильно отличается от v1, поэтому если Вы
не апстрим, стоит продолжать пользоваться v1, подправив
соответствующие директивы #include.

Почитать:

https://github.com/boostorg/process/issues/480


Пример решения от апстрима ceph:

https://github.com/ceph/ceph/commit/dce2c80dbd500deaaa3846e865e7ae75eb85a35a

-- 
  wbr,
    iv m.


                 reply	other threads:[~2026-07-21 14:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=al99Z1ZYyPlb9DTW@iv-work \
    --to=iv@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