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

Details

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

    Description

      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
            |     ^~~~
      

      Attachments

        Issue Links

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

          Activity

            People

              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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes