Opened 5 years ago

Closed 5 years ago

#58513 closed update (fixed)

botan: Update to version 2.10.0

Reported by: stanimura Owned by: yan12125 (Chih-Hsuan Yen)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: yan12125 (Chih-Hsuan Yen), marka63
Port: botan, qca, monotone, qt4-creator-mac, qt5-qtcreator

Description

botan @1.10.17_2 is incompatible to openssl11 @1.1.1b.

:info:build src/engine/openssl/ossl_bc.cpp:12:4: error: "OpenSSL 1.1 API not supported in Botan 1.10, upgrade to 2.x"
:info:build   #error "OpenSSL 1.1 API not supported in Botan 1.10, upgrade to 2.x"

botan is unable to compile any longer after shifting OpenSSL from 1.0 to 1.1.

Botan 2.x has released on 2017-01-06, and now the current version is 2.10.0. May have botan2 port.

Attachments (1)

main.log (53.4 KB) - added by stanimura 5 years ago.

Download all attachments as: .zip

Change History (17)

Changed 5 years ago by stanimura

Attachment: main.log added

comment:1 Changed 5 years ago by yan12125 (Chih-Hsuan Yen)

Cc: yan12125 added

comment:2 Changed 5 years ago by mf2k (Frank Schima)

Keywords: openssl11 removed
Type: requestupdate
Version: 2.5.4

Let's just update the current port to the latest version.

comment:3 Changed 5 years ago by mf2k (Frank Schima)

Summary: request: botan2botan: Update to version 2.10.0

comment:4 Changed 5 years ago by marka63

Cc: marka63 added

comment:5 Changed 5 years ago by yan12125 (Chih-Hsuan Yen)

I'm working on upgrading botan to 2.10.0; WIP can be found at https://github.com/yan12125/macports-ports/tree/botan2.

comment:6 Changed 5 years ago by yan12125 (Chih-Hsuan Yen)

The last botan2-incompatible port qca is somewhat complex for me, so I'd like to left the update to its maintainer. That is tracked in ticket:58567.

comment:7 Changed 5 years ago by mouse07410 (Mouse)

And failure of botan port breaks a whole bunch of other ports, such as qt5-qtcreator.

If possible, could you please speed up the release of botan2?

comment:8 Changed 5 years ago by yan12125 (Chih-Hsuan Yen)

botan can't be upgraded to 2.x until an update for qca is ready. Fortunately qtcreator ports can be updated separately. I've opened https://github.com/macports/macports-ports/pull/4554 for them.

comment:9 Changed 5 years ago by yan12125 (Chih-Hsuan Yen)

Port: qca monotone qt4-creator-mac qt5-qtcreator added

comment:10 Changed 5 years ago by mouse07410 (Mouse)

Fortunately qtcreator ports can be updated separately

Excellent!

But how would it work? qt5-qtcreator depends on the botan-1.10 port, which in turn depends on the openssl-1.0.2 port (and won't work with openssl-1.1.1).

It seems to me that the best would be pushing https://github.com/macports/macports-ports/pull/4554/commits/f2b4d4e69d8504c1cda518e3ea1c710bd10d45fd as that would re-enable qt5-qtcreator, and on my system would completely resolve the issues with the move to OpenSSL-1.1.1:

$ port rdependents botan
The following ports are dependent on botan:
  qt5-qtcreator
$ 

comment:11 Changed 5 years ago by yan12125 (Chih-Hsuan Yen)

In bfd8d256cde2822dbc22ec681fd8414f397a518c/macports-ports (master):

qt4-creator-mac: use bundled botan 1.10

Incompatible with botan2

Ref: #58513

comment:12 Changed 5 years ago by yan12125 (Chih-Hsuan Yen)

comment:13 Changed 5 years ago by mouse07410 (Mouse)

Please excuse me if I'm being dense - but when would you expect the Macports to pull this from upstream (and update from 4.9.0 to 4.9.1)? The current qt5-qtcreator still shows botan as a dependency:

$ port info qt5-qtcreator
qt5-qtcreator @4.9.0 (devel, aqua)
Sub-ports:            qt5-qtcreator-docs
Variants:             debug, qtwebengine

Description:          Qt Creator is a cross-platform integrated development environment (IDE) tailored to
                      the needs of Qt developers.
Homepage:             http://qt-project.org/wiki/Category:Tools::QtCreator

Build Dependencies:   pkgconfig, python27
Library Dependencies: botan, qbs, llvm-8.0, clang-8.0, qt5-qtbase, qt5-qtscript, qt5-qtdeclarative,
                      qt5-qttools, qt5-qtmacextras, qt5-qtquickcontrols, qt5-qtsvg
Platforms:            darwin
License:              GPL-3
Maintainers:          Email: mcalhoun@macports.org, GitHub: MarcusCalhoun-Lopez
                      Policy: openmaintainer
$ 
Last edited 5 years ago by mouse07410 (Mouse) (previous) (diff)

comment:14 Changed 5 years ago by mouse07410 (Mouse)

oh, thank you!

$ port info qt5-qtcreator
qt5-qtcreator @4.9.1 (devel, aqua)
Sub-ports:            qt5-qtcreator-docs
Variants:             debug, qtwebengine

Description:          Qt Creator is a cross-platform integrated development environment (IDE) tailored to
                      the needs of Qt developers.
Homepage:             http://qt-project.org/wiki/Category:Tools::QtCreator

Build Dependencies:   pkgconfig, python27
Library Dependencies: qbs, llvm-8.0, clang-8.0, qt5-qtbase, qt5-qtscript, qt5-qtdeclarative, qt5-qttools,
                      qt5-qtmacextras, qt5-qtquickcontrols, qt5-qtsvg
Platforms:            darwin
License:              GPL-3
Maintainers:          Email: mcalhoun@macports.org, GitHub: MarcusCalhoun-Lopez
                      Policy: openmaintainer
$ 

comment:15 Changed 5 years ago by yan12125 (Chih-Hsuan Yen)

I created https://github.com/macports/macports-ports/pull/4571 for actually updating botan and fixing remaining ports using botan. Please test it, thanks!

comment:16 Changed 5 years ago by yan12125 (Chih-Hsuan Yen)

Owner: set to yan12125
Resolution: fixed
Status: newclosed

In 1671e3244f3fc130c64c65dd8a219b3849c4acbb/macports-ports (master):

botan: update to 2.10.0

This is a preparation step for the OpenSSL 1.1 migration. botan 1.x has
reached EOL in the end of 2018 [1] and will not be compatible with
OpenSSL 1.1.

Many thanks to @RJVB for suggestions about certstor_system_macos and
ccache!

Closes: #58513
Ref: https://github.com/macports/macports-ports/pull/3822

[1] https://github.com/randombit/botan/tree/release-1_10

Note: See TracTickets for help on using tickets.