RESOLVED FIXED Bug 133317
[GTK] Adds dependency on GnuTLS 3.0+ for the implementation of subtle crypto algorithms
https://bugs.webkit.org/show_bug.cgi?id=133317
Summary [GTK] Adds dependency on GnuTLS 3.0+ for the implementation of subtle crypto ...
Eduardo Lima Mitev
Reported 2014-05-27 12:05:42 PDT
[GTK] Adds dependency on GnuTLS 3.0+ for the implementation of subtle crypto algorithms
Attachments
Patch (5.12 KB, patch)
2014-05-27 12:08 PDT, Eduardo Lima Mitev
no flags
Patch (5.18 KB, patch)
2014-05-28 03:22 PDT, Eduardo Lima Mitev
no flags
Patch (2.70 KB, patch)
2014-05-28 09:21 PDT, Eduardo Lima Mitev
no flags
Patch (2.74 KB, patch)
2014-08-11 02:39 PDT, Eduardo Lima Mitev
no flags
Patch (2.59 KB, patch)
2014-08-11 11:44 PDT, Eduardo Lima Mitev
no flags
Eduardo Lima Mitev
Comment 1 2014-05-27 12:08:03 PDT
WebKit Commit Bot
Comment 2 2014-05-27 12:10:45 PDT
Attachment 232142 [details] did not pass style-queue: ERROR: Source/WebCore/ChangeLog:1: ChangeLog entry has no bug number [changelog/bugnumber] [5] ERROR: ChangeLog:1: ChangeLog entry has no bug number [changelog/bugnumber] [5] Total errors found: 2 in 5 files If any of these errors are false positives, please file a bug against check-webkit-style.
Eduardo Lima Mitev
Comment 3 2014-05-28 02:06:09 PDT
(In reply to comment #2) > Attachment 232142 [details] did not pass style-queue: > > > ERROR: Source/WebCore/ChangeLog:1: ChangeLog entry has no bug number [changelog/bugnumber] [5] > ERROR: ChangeLog:1: ChangeLog entry has no bug number [changelog/bugnumber] [5] > Total errors found: 2 in 5 files > The bug was created during patch upload using '--open-bug'. This doesn't seem neither a 'style-check' bug nor a 'webkit-patch' bug, so I don't really know what to do other than upload a new patch with the bug URL updated, which is unfortunate :(
Eduardo Lima Mitev
Comment 4 2014-05-28 03:22:47 PDT
Raphael Kubo da Costa (:rakuco)
Comment 5 2014-05-28 05:29:38 PDT
CMake itself has had a FindGnuTLS.cmake since version 2.8.0, doesn't that one work for your purposes?
Eduardo Lima Mitev
Comment 6 2014-05-28 09:20:24 PDT
(In reply to comment #5) > CMake itself has had a FindGnuTLS.cmake since version 2.8.0, doesn't that one work for your purposes? That works for me, I was unaware of that. Will update the patch removing that. Thank you.
Eduardo Lima Mitev
Comment 7 2014-05-28 09:21:24 PDT
Martin Robinson
Comment 8 2014-06-23 07:15:54 PDT
Comment on attachment 232202 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=232202&action=review It doesn't look like ENABLE_SUBTLE_CRYPTO listed in WebKitFeatures.cmake yet or cmakeconfig.h.cmake yet? > Source/WebCore/PlatformGTK.cmake:727 > +if (ENABLE_SUBTLE_CRYPTO) > + list(APPEND WebCore_INCLUDE_DIRECTORIES > + ${GNUTLS_INCLUDE_DIRS} > + ) > + list(APPEND WebCore_LIBRARIES > + ${GNUTLS_LIBRARIES} > + ) You don't need to make this conditional. If you don't look for the package these will be empty.
Eduardo Lima Mitev
Comment 9 2014-08-08 03:02:15 PDT
(In reply to comment #8) > > It doesn't look like ENABLE_SUBTLE_CRYPTO listed in WebKitFeatures.cmake yet or cmakeconfig.h.cmake yet? > Right, ENABLE_SUBTLE_CRYPTO is added in a previous patch of this serie, for bug 133316, which is also pending review. > > Source/WebCore/PlatformGTK.cmake:727 > > +if (ENABLE_SUBTLE_CRYPTO) > > + list(APPEND WebCore_INCLUDE_DIRECTORIES > > + ${GNUTLS_INCLUDE_DIRS} > > + ) > > + list(APPEND WebCore_LIBRARIES > > + ${GNUTLS_LIBRARIES} > > + ) > > You don't need to make this conditional. If you don't look for the package these will be empty. Ok, though the conditional is also introduced in patch for bug 133316. Perhaps I should not have separated this patch from the other. To avoid these issues, I'm making this bug depend on bug 133316. After that is fixed I will update this patch accordingly. Thank you.
Eduardo Lima Mitev
Comment 10 2014-08-11 02:39:55 PDT
Philippe Normand
Comment 11 2014-08-11 02:43:49 PDT
Comment on attachment 236360 [details] Patch LGTM, thanks!
WebKit Commit Bot
Comment 12 2014-08-11 03:24:08 PDT
Comment on attachment 236360 [details] Patch Clearing flags on attachment: 236360 Committed r172393: <http://trac.webkit.org/changeset/172393>
WebKit Commit Bot
Comment 13 2014-08-11 03:24:14 PDT
All reviewed patches have been landed. Closing bug.
WebKit Commit Bot
Comment 14 2014-08-11 03:33:33 PDT
Re-opened since this is blocked by bug 135796
Eduardo Lima Mitev
Comment 15 2014-08-11 11:33:40 PDT
Finally a decision was made to upgrade GnuTLS version to 3.x (gnutls28-dev) in the release and test bots. It is done now so I will re-submit the previous patch.
Eduardo Lima Mitev
Comment 16 2014-08-11 11:44:05 PDT
WebKit Commit Bot
Comment 17 2014-08-12 01:03:22 PDT
Comment on attachment 236388 [details] Patch Clearing flags on attachment: 236388 Committed r172433: <http://trac.webkit.org/changeset/172433>
WebKit Commit Bot
Comment 18 2014-08-12 01:03:29 PDT
All reviewed patches have been landed. Closing bug.
Csaba Osztrogonác
Comment 19 2014-08-12 03:43:34 PDT
(In reply to comment #15) > Finally a decision was made to upgrade GnuTLS version to 3.x (gnutls28-dev) in the release and test bots. It is done now so I will re-submit the previous patch. But the build is still brokene due to missing GnuTLS on the following bots: - GTK Linux 32-bit Release - GTK Linux ARM Release
Csaba Osztrogonác
Comment 20 2014-08-12 03:44:44 PDT
and all tests fail on the GTK performance bot with the following error: /home/slave/webkitgtk/gtk-linux-64-release-perf-tests/build/WebKitBuild/Release/bin/WebKitTestRunner: error while loading shared libraries: libgnutls-deb0.so.28: cannot open shared object file: No such file or directory
Eduardo Lima Mitev
Comment 21 2014-08-12 03:53:16 PDT
Yes, apparently build bots were not all upgraded. We are rushing to fix that.
Csaba Osztrogonác
Comment 22 2014-08-12 09:29:40 PDT
(In reply to comment #21) > Yes, apparently build bots were not all upgraded. We are rushing to fix that. buildbots are happy now, bot the EWS is still failing
Note You need to log in before you can comment on or make changes to this bug.