Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-111467

FTBFS: symbol clash in QCryptographicHash with OpenSSL: SHA1 "redeclared as different kind of entity"

XMLWordPrintable

    • e388d219a (dev), 080f2654b (6.5)
    • Foundation Sprint 76

      In file included from /home/tjmaciei/src/qt/qt6-release/qtbase/src/corelib/tools/qcryptographichash.cpp:119:
      /usr/include/openssl/sha.h:55:72: error: ‘unsigned char* SHA1(const unsigned char*, size_t, unsigned char*)’ redeclared as different kind of entity
         55 | unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md);
            |                                                                        ^
      In file included from /home/tjmaciei/src/qt/qt6-release/qtbase/src/corelib/tools/qcryptographichash.cpp:23:
      /home/tjmaciei/src/qt/qt6-release/qtbase/src/corelib/tools/../../3rdparty/rfc6234/sha.h:123:5: note: previous declaration ‘SHAversion SHA1’
        123 |     SHA1, SHA224, SHA256, SHA384, SHA512
            |     ^~~~
      

        For Gerrit Dashboard: QTBUG-111467
        # Subject Branch Project Status CR V

            mmutz Marc Mutz
            thiago Thiago Macieira
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes