Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Oct 2018 22:23:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 232548] cryptopp 7.0.0 breaks compilation of urbackup 2.3.3 and 2.3.4
Message-ID:  <bug-232548-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232548

            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@FreeBSD.org
          Reporter: aldumas10@gmail.com

I=E2=80=99m 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 =E2=80=98make=E2=80=99 urbacku=
p successfully by
reverting cryptopp from 7.0.0 to 5.6.5_4. I still get those warnings though.
Here the error when I =E2=80=98make install=E2=80=99.

In file included from Server.cpp:44:
./md5.h:149:2: error: unknown type name =E2=80=98byte=E2=80=99; did you mea=
n =E2=80=98CryptoPP::byte=E2=80=99?
byte digest[CryptoPP::Weak::MD5::DIGESTSIZE];
^~~~
CryptoPP::byte
/usr/local/include/cryptopp/config.h:237:23: note: =E2=80=98CryptoPP::byte=
=E2=80=99 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: =E2=80=98&=E2=80=99 within =E2=80=98=
|=E2=80=99
[-Wbitwise-op-parentheses]
*(result++) =3D static_cast<uint8_t>((cp >> 6) & 0x3f | 0x80);
~~~~~~^~ ~
./utf8/utf8/checked.h:120:58: note: place parentheses around the =E2=80=98&=
=E2=80=99 expression
to silence this warning
*(result++) =3D static_cast<uint8_t>((cp >> 6) & 0x3f | 0x80);
^
( )
./utf8/utf8/checked.h:125:58: warning: =E2=80=98&=E2=80=99 within =E2=80=98=
|=E2=80=99
[-Wbitwise-op-parentheses]
*(result++) =3D static_cast<uint8_t>((cp >> 12)& 0x3f | 0x80);
~~~~~~^~ ~
./utf8/utf8/checked.h:125:58: note: place parentheses around the =E2=80=98&=
=E2=80=99 expression
to silence this warning
*(result++) =3D static_cast<uint8_t>((cp >> 12)& 0x3f | 0x80);
^
( )
./utf8/utf8/checked.h:126:58: warning: =E2=80=98&=E2=80=99 within =E2=80=98=
|=E2=80=99
[-Wbitwise-op-parentheses]
*(result++) =3D static_cast<uint8_t>((cp >> 6) & 0x3f | 0x80);
~~~~~~^~ ~
./utf8/utf8/checked.h:126:58: note: place parentheses around the =E2=80=98&=
=E2=80=99 expression
to silence this warning
*(result++) =3D 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: =E2=80=98&=E2=80=99 within =E2=80=
=98|=E2=80=99
[-Wbitwise-op-parentheses]
*(result++) =3D static_cast<uint8_t>((cp >> 6) & 0x3f | 0x80);
~~~~~~^~ ~
./utf8/utf8/unchecked.h:48:62: note: place parentheses around the =E2=80=98=
&=E2=80=99
expression to silence this warning
*(result++) =3D static_cast<uint8_t>((cp >> 6) & 0x3f | 0x80);
^
( )
./utf8/utf8/unchecked.h:53:62: warning: =E2=80=98&=E2=80=99 within =E2=80=
=98|=E2=80=99
[-Wbitwise-op-parentheses]
*(result++) =3D static_cast<uint8_t>((cp >> 12)& 0x3f | 0x80);
~~~~~~^~ ~
./utf8/utf8/unchecked.h:53:62: note: place parentheses around the =E2=80=98=
&=E2=80=99
expression to silence this warning
*(result++) =3D static_cast<uint8_t>((cp >> 12)& 0x3f | 0x80);
^
( )
./utf8/utf8/unchecked.h:54:62: warning: =E2=80=98&=E2=80=99 within =E2=80=
=98|=E2=80=99
[-Wbitwise-op-parentheses]
*(result++) =3D static_cast<uint8_t>((cp >> 6) & 0x3f | 0x80);
~~~~~~^~ ~
./utf8/utf8/unchecked.h:54:62: note: place parentheses around the =E2=80=98=
&=E2=80=99
expression to silence this warning
*(result++) =3D static_cast<uint8_t>((cp >> 6) & 0x3f | 0x80);

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-232548-7788>