RESOLVED FIXED 81844
Actually move WTF files to their new home
https://bugs.webkit.org/show_bug.cgi?id=81844
Summary Actually move WTF files to their new home
Eric Seidel (no email)
Reported 2012-03-21 16:45:35 PDT
Actually move WTF files to their new home
Attachments
First attempt for the EWS bots (deleted)
2012-03-21 16:49 PDT, Eric Seidel (no email)
no flags
Patch to fix GTK+ build (2.51 KB, patch)
2012-03-22 03:25 PDT, Carlos Garcia Campos
no flags
Qt buildfix for "First attempt for the EWS bots" (1.83 KB, patch)
2012-03-22 15:34 PDT, Csaba Osztrogonác
no flags
Qt buildfix with "First attempt for the EWS bots" for EWS (deleted)
2012-03-22 15:40 PDT, Csaba Osztrogonác
no flags
Eric Seidel (no email)
Comment 1 2012-03-21 16:46:53 PDT
Sad. It silently failed to add the patch.
Eric Seidel (no email)
Comment 2 2012-03-21 16:49:29 PDT
Created attachment 133143 [details] First attempt for the EWS bots
Eric Seidel (no email)
Comment 3 2012-03-21 16:51:53 PDT
I may try creating a github branch instead of trying to use patches, as this is gonna get ridiculous real fast.
Eric Seidel (no email)
Comment 4 2012-03-21 17:12:17 PDT
This is some sort of svn-apply "add" bug again.
Adam Barth
Comment 5 2012-03-21 17:15:13 PDT
I wonder if you should just land the patch and then try to pick up the pieces. Given that the header change is now landed, it might not be too bad...
Eric Seidel (no email)
Comment 6 2012-03-21 17:32:40 PDT
I suspect it won't be too bad. I'd been trying to avoid creating ire, but just telling folks when I'm going to land it is probably the better choice at this point. Our tools are just not designed for this kind of huge move.
Hajime Morrita
Comment 7 2012-03-22 00:18:10 PDT
FYI: I tried this locally with XCode4.2 + Mac SL, I didn't build. On WTF, NDEBUG is defined even for the debug build, that makes some symbols unavailable. I poked around a bit, but couldn't figure out why.
Carlos Garcia Campos
Comment 8 2012-03-22 02:50:50 PDT
I managed to build the gtk port with a few changes in top of the patch and patch attached to bug #81884. I'll make another patch with the changes I made.
Carlos Garcia Campos
Comment 9 2012-03-22 03:25:30 PDT
Created attachment 133212 [details] Patch to fix GTK+ build Applied on top of eric's patch and patch attached to bug #81884, this one fixes the GTK+ build.
Eric Seidel (no email)
Comment 10 2012-03-22 12:45:17 PDT
I've fixed Mac locally as well. I'll update the patch shortly. As announced on webkit-dev, I still plan to land this around 4PM this afternoon, and debug the buildbots from there. If others wish to pre-flight their various ports before then, I welcome the additional patches.
Eric Seidel (no email)
Comment 11 2012-03-22 12:50:17 PDT
Comment on attachment 133212 [details] Patch to fix GTK+ build View in context: https://bugs.webkit.org/attachment.cgi?id=133212&action=review > Source/WTF/GNUmakefile.am:35 > + -I$(srcdir)/Source/WTF/wtf I would not expect this to be necessary.
Carlos Garcia Campos
Comment 12 2012-03-22 12:53:59 PDT
(In reply to comment #11) > (From update of attachment 133212 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=133212&action=review > > > Source/WTF/GNUmakefile.am:35 > > + -I$(srcdir)/Source/WTF/wtf > > I would not expect this to be necessary. I don't remember exactly where, but there were headers included without the wtf/ inside WTF.
Eric Seidel (no email)
Comment 13 2012-03-22 13:13:02 PDT
Comment on attachment 133212 [details] Patch to fix GTK+ build View in context: https://bugs.webkit.org/attachment.cgi?id=133212&action=review >>> Source/WTF/GNUmakefile.am:35 >>> + -I$(srcdir)/Source/WTF/wtf >> >> I would not expect this to be necessary. > > I don't remember exactly where, but there were headers included without the wtf/ inside WTF. Ah, my bad. Yes, this seems totally necessary for *building* wtf. I was thinking it was another project trying to include wtf headers. wtf cpp files can just use "foo.h" and expect it to work.
Carlos Garcia Campos
Comment 14 2012-03-22 13:15:15 PDT
(In reply to comment #13) > (From update of attachment 133212 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=133212&action=review > > >>> Source/WTF/GNUmakefile.am:35 > >>> + -I$(srcdir)/Source/WTF/wtf > >> > >> I would not expect this to be necessary. > > > > I don't remember exactly where, but there were headers included without the wtf/ inside WTF. > > Ah, my bad. Yes, this seems totally necessary for *building* wtf. I was thinking it was another project trying to include wtf headers. wtf cpp files can just use "foo.h" and expect it to work. exactly :-) wtf_cppflags is only used by WTF itself.
Raphael Kubo da Costa (:rakuco)
Comment 15 2012-03-22 14:09:17 PDT
(In reply to comment #10) > If others wish to pre-flight their various ports before then, I welcome the additional patches. I couldn't use webkit-patch apply-from-bug to test this patch locally: Failed to run "[u'/home/rakuco/dev/webkit/WebKit/Tools/Scripts/svn-apply', u'--force']" exit_code: 2 cwd: /home/rakuco/dev/webkit/WebKit/ Last 500 characters of output: ictionVerifier.h patching file Source/WTF/wtf/ThreadSafeRefCounted.h patching file Source/WTF/wtf/ThreadSpecific.h patching file Source/WTF/wtf/ThreadSpecificWin.cpp patching file Source/WTF/wtf/Threading.cpp patching file Source/WTF/wtf/Threading.h patch: **** Only garbage was found in the patch input. fatal: pathspec 'Source/WTF/wtf/ThreadingNone.cpp' did not match any files Failed to git add Source/WTF/wtf/ThreadingNone.cpp. at /home/rakuco/dev/webkit/WebKit/Tools/Scripts/svn-apply line 444. Failed to run "[u'/home/rakuco/dev/webkit/WebKit/Tools/Scripts/svn-apply', u'--force']" exit_code: 2 cwd: /home/rakuco/dev/webkit/WebKit/ Any hints?
Csaba Osztrogonác
Comment 16 2012-03-22 15:00:27 PDT
(In reply to comment #4) > This is some sort of svn-apply "add" bug again. If you remove these line, it will be applieable: diff --git a/Source/JavaScriptCore/wtf/ThreadingNone.cpp b/Source/JavaScriptCore/wtf/ThreadingNone.cpp deleted file mode 100644 index e69de29..0000000
Csaba Osztrogonác
Comment 17 2012-03-22 15:29:38 PDT
*** Bug 79783 has been marked as a duplicate of this bug. ***
Csaba Osztrogonác
Comment 18 2012-03-22 15:34:51 PDT
Created attachment 133367 [details] Qt buildfix for "First attempt for the EWS bots"
Csaba Osztrogonác
Comment 19 2012-03-22 15:40:38 PDT
Created attachment 133369 [details] Qt buildfix with "First attempt for the EWS bots" for EWS Additionally I removed the entry I mentioned to make svn-apply happy.
Csaba Osztrogonác
Comment 20 2012-03-22 15:44:31 PDT
I missed to test Qt-WK2 build, I'm on it now.
Eric Seidel (no email)
Comment 21 2012-03-22 15:55:17 PDT
I attempted to incorporate these changes in my local copy. Landing now. I will be around fixing bots until they're all building. I appreciate all of your help in this effort!
Eric Seidel (no email)
Comment 22 2012-03-22 16:01:17 PDT
mitz
Comment 23 2012-03-22 16:20:41 PDT
(In reply to comment #22) > Committed r111778: <http://trac.webkit.org/changeset/111778> This appears to have broken the Snow Leopard and Lion builds.
Eric Seidel (no email)
Comment 24 2012-03-22 16:22:00 PDT
Yup. Investigating.
mitz
Comment 25 2012-03-22 16:36:37 PDT
Committed a build fix in <http://trac.webkit.org/r111782>.
Csaba Osztrogonác
Comment 26 2012-03-22 16:39:53 PDT
Eric Seidel (no email)
Comment 27 2012-03-22 16:56:42 PDT
I don't know how to fix EFL/Cmake. It looks like at least JavaScriptCore/CMakeLists.txt needs to remove the ADD_SUBDIRECTORY(wtf) call. I'm not sure if the root CMakeList is already building Source/WTF and if it knows to build it before building JavaScriptCore.
Raphael Kubo da Costa (:rakuco)
Comment 28 2012-03-22 17:58:02 PDT
(In reply to comment #27) > I don't know how to fix EFL/Cmake. It looks like at least JavaScriptCore/CMakeLists.txt needs to remove the ADD_SUBDIRECTORY(wtf) call. I'm not sure if the root CMakeList is already building Source/WTF and if it knows to build it before building JavaScriptCore. Hopefully fixed with http://trac.webkit.org/r111799
Note You need to log in before you can comment on or make changes to this bug.