Bug 241880 - security/botan2 fails to build: openssl_rc4.cpp:78:7: error: unknown type name 'RC4_KEY'
Summary: security/botan2 fails to build: openssl_rc4.cpp:78:7: error: unknown type nam...
Status: Closed Works As Intended
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
Depends on:
Reported: 2019-11-11 13:34 UTC by p5B2E9A8F
Modified: 2020-01-07 12:05 UTC (History)
1 user (show)

See Also:
tremere: maintainer-feedback+

Poudriere build log file (51.41 KB, text/plain)
2019-11-11 13:34 UTC, p5B2E9A8F
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description p5B2E9A8F 2019-11-11 13:34:49 UTC
Created attachment 209057 [details]
Poudriere build log file

Poudriere build fails on 12.1 i386 with:
src/lib/prov/openssl/openssl_rc4.cpp:78:7: error: unknown type name 'RC4_KEY'; did you mean 'EC_KEY'?
      RC4_KEY m_rc4;

See attached build log
Comment 1 Ralf van der Enden 2019-11-12 12:51:06 UTC

I've built security/botan2 (current version 2.12.1) in both my amd64 and i386 jails. Also tried the slightly older version 2.12.0. The only difference with my build, is your version of openssl. I see in the supplied log it install openssl111 from ports, where I build against openssl from base (both 1.1.1d). I'm assuming there's a difference between the two due to selected configure options. My best guess is you unchecked RC4, which is obviously required by the botan2 port. Since it builds fine against openssl from base I don't think there's much I can do to fix this. Especially since the RC4 option is ON by default.

Hope that helps in fixing it on your end.