FS#54055 - [botan] Unnecessary dependency: asio

Attached to Project: Community Packages
Opened by Baptiste (zorun) - Sunday, 14 May 2017, 22:47 GMT
Last edited by Alexander F. Rødseth (xyproto) - Sunday, 28 May 2017, 11:56 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

botan currently depends on asio, but it's not actually used.

The only usage of asio is done using boost::asio, see https://paste.swordarmor.fr/J6mf

Also, this part of botan is not even enabled by default, as shown in the configure step:

INFO: Skipping, requires external dependency - boost bzip2 lzma openssl sqlite3 tpm zlib

So, removing the asio dependency does not make any change to the final package (verified with diffoscope on the binary package).

Additionally, if the botan feature that uses boost::asio is desired, adding boost as makedepends and boost-libs as dependency is enough, asio is not necessary (verified by building in a clean chroot).
This task depends upon

Closed by  Alexander F. Rødseth (xyproto)
Sunday, 28 May 2017, 11:56 GMT
Reason for closing:  Fixed
Comment by Alexander F. Rødseth (xyproto) - Friday, 19 May 2017, 13:26 GMT
Thanks for reporting, will remove the dependency on asio.

Loading...