monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-devel] recent Botan changes?


From: Stephen Leake
Subject: [Monotone-devel] recent Botan changes?
Date: Tue, 26 Mar 2013 03:59:42 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (windows-nt)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]