[Bug 232548] cryptopp 7.0.0 breaks compilation of urbackup 2.3.3 and 2.3.4
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Oct 22 22:23:55 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232548
Bug ID: 232548
Summary: cryptopp 7.0.0 breaks compilation of urbackup 2.3.3
and 2.3.4
Product: Ports & Packages
Version: Latest
Hardware: amd64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs at FreeBSD.org
Reporter: aldumas10 at gmail.com
I’m on FreeNAS 11.2 RC1 and unable to compile Urbackup 2.3.3 or 2.3.4. This
problem only happened recently. I managed to ‘make’ urbackup successfully by
reverting cryptopp from 7.0.0 to 5.6.5_4. I still get those warnings though.
Here the error when I ‘make install’.
In file included from Server.cpp:44:
./md5.h:149:2: error: unknown type name ‘byte’; did you mean ‘CryptoPP::byte’?
byte digest[CryptoPP::Weak::MD5::DIGESTSIZE];
^~~~
CryptoPP::byte
/usr/local/include/cryptopp/config.h:237:23: note: ‘CryptoPP::byte’ declared
here
typedef unsigned char byte;
^
In file included from Server.cpp:52:
In file included from ./utf8/utf8.h:31:
./utf8/utf8/checked.h:120:58: warning: ‘&’ within ‘|’
[-Wbitwise-op-parentheses]
*(result++) = static_cast<uint8_t>((cp >> 6) & 0x3f | 0x80);
~~~~~~^~ ~
./utf8/utf8/checked.h:120:58: note: place parentheses around the ‘&’ expression
to silence this warning
*(result++) = static_cast<uint8_t>((cp >> 6) & 0x3f | 0x80);
^
( )
./utf8/utf8/checked.h:125:58: warning: ‘&’ within ‘|’
[-Wbitwise-op-parentheses]
*(result++) = static_cast<uint8_t>((cp >> 12)& 0x3f | 0x80);
~~~~~~^~ ~
./utf8/utf8/checked.h:125:58: note: place parentheses around the ‘&’ expression
to silence this warning
*(result++) = static_cast<uint8_t>((cp >> 12)& 0x3f | 0x80);
^
( )
./utf8/utf8/checked.h:126:58: warning: ‘&’ within ‘|’
[-Wbitwise-op-parentheses]
*(result++) = static_cast<uint8_t>((cp >> 6) & 0x3f | 0x80);
~~~~~~^~ ~
./utf8/utf8/checked.h:126:58: note: place parentheses around the ‘&’ expression
to silence this warning
*(result++) = static_cast<uint8_t>((cp >> 6) & 0x3f | 0x80);
^
( )
In file included from Server.cpp:52:
In file included from ./utf8/utf8.h:32:
./utf8/utf8/unchecked.h:48:62: warning: ‘&’ within ‘|’
[-Wbitwise-op-parentheses]
*(result++) = static_cast<uint8_t>((cp >> 6) & 0x3f | 0x80);
~~~~~~^~ ~
./utf8/utf8/unchecked.h:48:62: note: place parentheses around the ‘&’
expression to silence this warning
*(result++) = static_cast<uint8_t>((cp >> 6) & 0x3f | 0x80);
^
( )
./utf8/utf8/unchecked.h:53:62: warning: ‘&’ within ‘|’
[-Wbitwise-op-parentheses]
*(result++) = static_cast<uint8_t>((cp >> 12)& 0x3f | 0x80);
~~~~~~^~ ~
./utf8/utf8/unchecked.h:53:62: note: place parentheses around the ‘&’
expression to silence this warning
*(result++) = static_cast<uint8_t>((cp >> 12)& 0x3f | 0x80);
^
( )
./utf8/utf8/unchecked.h:54:62: warning: ‘&’ within ‘|’
[-Wbitwise-op-parentheses]
*(result++) = static_cast<uint8_t>((cp >> 6) & 0x3f | 0x80);
~~~~~~^~ ~
./utf8/utf8/unchecked.h:54:62: note: place parentheses around the ‘&’
expression to silence this warning
*(result++) = static_cast<uint8_t>((cp >> 6) & 0x3f | 0x80);
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list