[tahoe-lafs-trac-stream] [pycryptopp] #78: compile failure on Fedora: "CheckSize"

pycryptopp trac at tahoe-lafs.org
Fri Jan 6 17:47:00 UTC 2012


#78: compile failure on Fedora: "CheckSize"
------------------------+-----------------
     Reporter:  warner  |      Owner:
         Type:  defect  |     Status:  new
     Priority:  major   |  Milestone:
      Version:  0.5.29  |   Keywords:
Launchpad Bug:          |
------------------------+-----------------
 Ruben's buildslave (recently back from a world tour of intra-buildbot-
 incompatibilities) is throwing compiler errors:

  https://tahoe-lafs.org/buildbot-
 pycryptopp/builders/Ruben%20Fedora/builds/1/steps/compile/logs/stdio

 {{{
 gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall
 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-
 size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g
 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param
 =ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC
 -I. -I/usr/include/python2.7 -c embeddedcryptopp/cpu.cpp -o build/temp
 .linux-x86_64-2.7/embeddedcryptopp/cpu.o -w
 gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall
 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-
 size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g
 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param
 =ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC
 -I. -I/usr/include/python2.7 -c embeddedcryptopp/pubkey.cpp -o build/temp
 .linux-x86_64-2.7/embeddedcryptopp/pubkey.o -w
 In file included from embeddedcryptopp/integer.h:7:0,
                  from embeddedcryptopp/modarith.h:8,
                  from embeddedcryptopp/pubkey.h:35,
                  from embeddedcryptopp/pubkey.cpp:7:
 embeddedcryptopp/secblock.h: In instantiation of
 ‘CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer
 CryptoPP::AllocatorWithCleanup<T,
 T_Align16>::allocate(CryptoPP::AllocatorWithCleanup<T,
 T_Align16>::size_type, const void*) [with T = long long unsigned int; bool
 T_Align16 = false; CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer =
 long long unsigned int*; CryptoPP::AllocatorWithCleanup<T,
 T_Align16>::size_type = long unsigned int]’:
 embeddedcryptopp/secblock.h:285:23:   required from ‘CryptoPP::SecBlock<T,
 A>::SecBlock(const CryptoPP::SecBlock<T, A>&) [with T = long long unsigned
 int; A = CryptoPP::AllocatorWithCleanup<long long unsigned int>]’
 embeddedcryptopp/modarith.h:122:7:   required from here
 embeddedcryptopp/secblock.h:97:3: error: ‘CheckSize’ was not declared in
 this scope, and no declarations were found by argument-dependent lookup at
 the point of instantiation [-fpermissive]
 embeddedcryptopp/secblock.h:97:3: note: declarations in dependent base
 ‘CryptoPP::AllocatorBase<long long unsigned int>’ are not found by
 unqualified lookup
 embeddedcryptopp/secblock.h:97:3: note: use ‘this->CheckSize’ instead
 embeddedcryptopp/secblock.h: In instantiation of
 ‘CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer
 CryptoPP::AllocatorWithCleanup<T,
 T_Align16>::allocate(CryptoPP::AllocatorWithCleanup<T,
 T_Align16>::size_type, const void*) [with T = unsigned char; bool
 T_Align16 = false; CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer =
 unsigned char*; CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type =
 long unsigned int]’:
 embeddedcryptopp/secblock.h:283:19:   required from ‘CryptoPP::SecBlock<T,
 A>::SecBlock(CryptoPP::SecBlock<T, A>::size_type) [with T = unsigned char;
 A = CryptoPP::AllocatorWithCleanup<unsigned char>; CryptoPP::SecBlock<T,
 A>::size_type = long unsigned int]’
 embeddedcryptopp/algparam.h:17:2:   required from here
 embeddedcryptopp/secblock.h:97:3: error: ‘CheckSize’ was not declared in
 this scope, and no declarations were found by argument-dependent lookup at
 the point of instantiation [-fpermissive]
 embeddedcryptopp/secblock.h:97:3: note: declarations in dependent base
 ‘CryptoPP::AllocatorBase<unsigned char>’ are not found by unqualified
 lookup
 embeddedcryptopp/secblock.h:97:3: note: use ‘this->CheckSize’ instead
 error: command 'gcc' failed with exit status 1
 }}}

-- 
Ticket URL: <http://tahoe-lafs.org/trac/pycryptopp/ticket/78>
pycryptopp <https://tahoe-lafs.org/trac/pycryptopp>



More information about the tahoe-lafs-trac-stream mailing list