WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
132244
[GTK][cmake] CMake variable (non)expansion causing 'File name too long' build error.
https://bugs.webkit.org/show_bug.cgi?id=132244
Summary
[GTK][cmake] CMake variable (non)expansion causing 'File name too long' build...
Nikos Andronikos
Reported
2014-04-27 23:27:29 PDT
Created
attachment 230282
[details]
'File name too long' error example Whilst trying to build the WebKit GTK version using the command: ./Tools/Scripts/build-webkit --gtk I am encountering a 'File name too long' error in multiple places (please see attachment for example of error output). As far as I know the WebKit GTK buildbot builds do not seem to be having this problem. Some details of my machine configuration: Architecture: x86_64 Linux Distribution: Ubuntu 12.04 GCC/G++ version: 4.8 CMake version: 2.8.7
Attachments
'File name too long' error example
(9.82 KB, application/octet-stream)
2014-04-27 23:27 PDT
,
Nikos Andronikos
no flags
Details
Patch
(1.31 KB, patch)
2014-04-28 00:55 PDT
,
Nikos Andronikos
no flags
Details
Formatted Diff
Diff
Patch
(1.34 KB, patch)
2014-04-29 17:59 PDT
,
Nikos Andronikos
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Nikos Andronikos
Comment 1
2014-04-28 00:55:43 PDT
Created
attachment 230284
[details]
Patch
Raphael Kubo da Costa (:rakuco)
Comment 2
2014-04-28 03:29:11 PDT
Interesting. The bug fix/behaviour change was introduced between CMake 2.8.7 and 2.8.8 in
http://cmake.org/gitweb?p=cmake.git;a=commit;h=8adaee2b0b2651cfd93bb4a915d11bdd4cba1b51
. I don't see a problem with this patch if we plan on supporting CMake 2.8.7 for a long time. I'd guess there are other places where we are passing lists to INCLUDE_DIRECTORIES(), have you checked that?
Nikos Andronikos
Comment 3
2014-04-28 17:55:48 PDT
(In reply to
comment #2
)
> Interesting. The bug fix/behaviour change was introduced between CMake 2.8.7 and 2.8.8 in
http://cmake.org/gitweb?p=cmake.git;a=commit;h=8adaee2b0b2651cfd93bb4a915d11bdd4cba1b51
. > > I don't see a problem with this patch if we plan on supporting CMake 2.8.7 for a long time. I'd guess there are other places where we are passing lists to INCLUDE_DIRECTORIES(), have you checked that?
I just checked - I cant see any other occurrences of lists passed to INCLUDE_DIRECTORIES() in quotes.
Raphael Kubo da Costa (:rakuco)
Comment 4
2014-04-29 01:07:19 PDT
Cool, thanks for checking. Looks good from my side.
Philippe Normand
Comment 5
2014-04-29 01:11:25 PDT
Comment on
attachment 230284
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=230284&action=review
> Source/WebCore/ChangeLog:5 > + Removing quotes around include directory variable ${WebCore_INCLUDE_DIRECTORIES} in > + the include_directories cmake macro enables the variable to be expanded correctly.
Can you please move these 2 lines below the "Reviewed by" one?
Martin Robinson
Comment 6
2014-04-29 07:32:44 PDT
Comment on
attachment 230284
[details]
Patch Nice fix!
Nikos Andronikos
Comment 7
2014-04-29 17:59:48 PDT
Created
attachment 230447
[details]
Patch
Nikos Andronikos
Comment 8
2014-04-29 18:12:06 PDT
(In reply to
comment #5
)
> (From update of
attachment 230284
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=230284&action=review
> > > Source/WebCore/ChangeLog:5 > > + Removing quotes around include directory variable ${WebCore_INCLUDE_DIRECTORIES} in > > + the include_directories cmake macro enables the variable to be expanded correctly. > > Can you please move these 2 lines below the "Reviewed by" one?
Done.
Nikos Andronikos
Comment 9
2014-04-29 18:12:23 PDT
(In reply to
comment #6
)
> (From update of
attachment 230284
[details]
) > Nice fix!
Thanks.
WebKit Commit Bot
Comment 10
2014-04-29 18:54:24 PDT
Comment on
attachment 230447
[details]
Patch Clearing flags on attachment: 230447 Committed
r167976
: <
http://trac.webkit.org/changeset/167976
>
WebKit Commit Bot
Comment 11
2014-04-29 18:54:29 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug