Hi all,
Package qbittorrent needs a rebuild since boost 1.77 was checked in, currently available version in Factory is still built against 1.76 and crashes:
https://bugzilla.opensuse.org/show_bug.cgi?id=1191150
But mostly why I posting on the list is to understand why this was not automatic, the package has an explicit BuildRequires on boost (libboost_system-devel >= 1.65). Is this a build system bug, an oversight, or a misunderstanding?
Tejas
On 10/6/21 10:35 PM, Tejas Guruswamy wrote:
Hi all,
Package qbittorrent needs a rebuild since boost 1.77 was checked in, currently available version in Factory is still built against 1.76 and crashes:
https://bugzilla.opensuse.org/show_bug.cgi?id=1191150
But mostly why I posting on the list is to understand why this was not automatic, the package has an explicit BuildRequires on boost (libboost_system-devel >= 1.65). Is this a build system bug, an oversight, or a misunderstanding?
The easiest is to require the boost version it was compiled against - as Jan writes in the bug this is normally done through library dependencies. But if it's known to be a problem, make use of an artifical require. E.g.
Requires: %(rpm -q --queryformat '%{NAME} = %{VERSION}' --whatprovides boost-license)
(untested)
Greetings, Stephan
On Thursday 2021-10-07 08:27, Stephan Kulow wrote:
On 10/6/21 10:35 PM, Tejas Guruswamy wrote:
Package qbittorrent needs a rebuild since boost 1.77 was checked in, currently available version in Factory is still built against 1.76 and crashes:
The easiest is to require the boost version it was compiled against [..] if it's known to be a problem, make use of an artifical require. E.g.
Requires: %(rpm -q --queryformat '%{NAME} = %{VERSION}' --whatprovides boost-license)
Easy but fragile: this hack requires that there is _at most_ one provider for the symbol you are asking for.
openSUSE:Factory has just one boost source package right now, but it is SLPP-conforming, so somebody could legitimately submit openSUSE:Factory/boost1_76, thereby accidentally satisfying qbittorrent's boost-license=1.76 and thus inhibiting its rebuild.