recent Botan changes?

Stephen Leake <[email protected]>
Newsgroups gmane.comp.version-control.monotone.devel
Message-ID <[email protected]>
I'm compiling monotone head on Red Hat 5.0 (for work); I need a recent
fix I put in for drop/modified conflicts. 

The Red Hat repository does not have Botan (any version).

Until very recently, monotone compiled with Botan 1.8.13. Then some
change (I have not tried to narrow it down) caused this error:

	if g++  -I. -I../monotone.main -I.            -I/home/stephe/Projects/boost_1_46_1  -g -O2 -Wall -W -Wno-unused -MT src/database.o -MD -MP -MF "$depbase.Tpo" -c -o src/database.o ../monotone.main/src/database.cc; \
	then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
../monotone.main/src/database.cc:226: warning: ‘database_impl’ has a field ‘database_impl::statement_cache’ whose type uses the anonymous namespace
../monotone.main/src/database.cc:226: warning: ‘database_impl’ has a field ‘database_impl::roster_cache’ whose type uses the anonymous namespace
../monotone.main/src/database.cc:226: warning: ‘database_impl’ has a field ‘database_impl::vcache’ whose type uses the anonymous namespace
../monotone.main/src/database.cc: In member function ‘void database::encrypt_rsa(const key_id&, const std::string&, rsa_oaep_sha_data&)’:
../monotone.main/src/database.cc:3444: error: no matching function for call to ‘Botan::PK_Encryptor_MR_with_EME::PK_Encryptor_MR_with_EME(Botan::RSA_PublicKey&, const char [12])’
/usr/include/botan/pubkey.h:305: note: candidates are: Botan::PK_Encryptor_MR_with_EME::PK_Encryptor_MR_with_EME(const Botan::PK_Encryptor_MR_with_EME&)
/usr/include/botan/pubkey.h:301: note:                 Botan::PK_Encryptor_MR_with_EME::PK_Encryptor_MR_with_EME(const Botan::PK_Encrypting_Key&, Botan::EME*)
make: *** [src/database.o] Error 1

I tried upgrading to Botan 1.10.5 (current as of today), but that fails
at configure time with a Python syntax error. Red Hat 5.0 has Python
2.4.3, Botan 10.x apparently requires a later Python version.

On Windows at home, I have Python 2.7, Botan 1.10.1; that works with
monotone head.

monotone configure says we support Botan > 1.6.3, which is apparently
no longer true.

I did not try installing a newer Python from source on Red Hat; I'll do
that tomorrow (actually later today, now :).

I haven't checked what version of Botan is current on Debian; my Debian
box is not cooperating at the moment (I haven't turned it on in quite a
while).

-- 
-- Stephe

_______________________________________________
Monotone-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/monotone-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.