WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 84707
[EFL] Resolve CMake warnings on overlapping search paths for EFL jhbuild-enabled build
https://bugs.webkit.org/show_bug.cgi?id=84707
Summary
[EFL] Resolve CMake warnings on overlapping search paths for EFL jhbuild-enab...
Dominik Röttsches (drott)
Reported
2012-04-24 04:33:36 PDT
CMake lists a couple of warning on unreliable library overlaps.
Attachments
CMake warnings
(4.87 KB, text/plain)
2012-04-24 04:34 PDT
,
Dominik Röttsches (drott)
no flags
Details
Patch
(1.23 KB, patch)
2012-06-12 03:39 PDT
,
Dominik Röttsches (drott)
no flags
Details
Formatted Diff
Diff
Patch v2, prefix needed on 64bit only.
(1.38 KB, patch)
2012-06-12 03:59 PDT
,
Dominik Röttsches (drott)
no flags
Details
Formatted Diff
Diff
Patch v3, keep prefix path definition on 32bit.
(1.43 KB, patch)
2012-06-12 04:04 PDT
,
Dominik Röttsches (drott)
no flags
Details
Formatted Diff
Diff
Patch
(2.24 KB, patch)
2012-08-29 08:06 PDT
,
Raphael Kubo da Costa (:rakuco)
gustavo
: review+
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Dominik Röttsches (drott)
Comment 1
2012-04-24 04:34:19 PDT
Created
attachment 138536
[details]
CMake warnings
Dominik Röttsches (drott)
Comment 2
2012-04-24 04:35:26 PDT
Do you have any idea on this Raphael? I looked around and found this post about using CMAKE_PREFIX_PATH and I remember you had a bug filed for this, is that right?
Dominik Röttsches (drott)
Comment 3
2012-04-24 04:37:55 PDT
Found it - it was
bug 81491
- but apparently that didn't fully resolve the issue.
Raphael Kubo da Costa (:rakuco)
Comment 4
2012-04-25 10:45:57 PDT
I don't get these warnings here, but had libcairo.so and libgio.so depending on wrong versions of a few libraries. The problem in libcairo was solved by rebuilding it (I haven't rebuilt glib to see if its problems go away yet). From the CMakeCache.txt you posted to me earlier today, CMake is finding the right headers for cairo but the wrong library -- can you double check libcairo.so is properly installed in your Root/lib directory and, if it is, remove your CMakeCache.txt and try again?
Dominik Röttsches (drott)
Comment 5
2012-04-26 00:32:51 PDT
http://build.webkit.org/builders/EFL%20Linux%20Debug/builds/671/steps/compile-webkit/logs/stdio
is a completely fresh build, Dependencies and Debug folders deleted - that means, there wasn't an old CMakeCache.txt there either. Issue persists.
Dominik Röttsches (drott)
Comment 6
2012-06-12 03:39:21 PDT
Created
attachment 147045
[details]
Patch
Dominik Röttsches (drott)
Comment 7
2012-06-12 03:59:34 PDT
Created
attachment 147048
[details]
Patch v2, prefix needed on 64bit only.
Dominik Röttsches (drott)
Comment 8
2012-06-12 04:04:27 PDT
Created
attachment 147050
[details]
Patch v3, keep prefix path definition on 32bit.
Dominik Röttsches (drott)
Comment 9
2012-06-12 05:22:37 PDT
(In reply to
comment #8
)
> Created an attachment (id=147050) [details] > Patch v3, keep prefix path definition on 32bit.
This was successfully tested on 64bit and 32bit machines. Kindly requesting cq+.
WebKit Review Bot
Comment 10
2012-06-12 13:38:23 PDT
Comment on
attachment 147050
[details]
Patch v3, keep prefix path definition on 32bit. Clearing flags on attachment: 147050 Committed
r120113
: <
http://trac.webkit.org/changeset/120113
>
WebKit Review Bot
Comment 11
2012-06-12 13:38:29 PDT
All reviewed patches have been landed. Closing bug.
Raphael Kubo da Costa (:rakuco)
Comment 12
2012-08-29 04:07:12 PDT
Time to revisit this: the fix does not look OK, as CMake uses the value of $CMAKE_PREFIX_PATH as a root directory for FIND_PATH(), FIND_LIBRARY() and FIND_EXECUTABLE(). If it is set to /somewhere/lib64, it will not work as expected. This is causing problems with
bug 95237
. I've talked to Dominik on IRC, and we have agreed to roll this patch out for now to see if the warnings persist now that most Find modules have been rewritten. If they do, I'll try to fix them ASAP.
WebKit Review Bot
Comment 13
2012-08-29 04:09:12 PDT
Re-opened since this is blocked by 95320
Dominik Röttsches (drott)
Comment 14
2012-08-29 05:20:32 PDT
Warnings are back after the rollout:
http://build.webkit.org/builders/EFL%20Linux%2064-bit%20Debug%20WK2/builds/2348/steps/compile-webkit/logs/stdio
Showing that system fontconfig is used :-(
Raphael Kubo da Costa (:rakuco)
Comment 15
2012-08-29 05:36:47 PDT
Alright, so now we get a different warning according to <
http://build.webkit.org/builders/EFL%20Linux%2064-bit%20Debug%20WK2/builds/2348/steps/compile-webkit/logs/stdio
> Which means my rewrites of the Find modules have worked in this regard :-) FindFontconfig.cmake itself is not in a very good shape, but should work. I'll send a patch here that should make its detection work fine, and hopefully fix the EWS errors in
bug 95237
as well.
Raphael Kubo da Costa (:rakuco)
Comment 16
2012-08-29 08:06:25 PDT
Created
attachment 161227
[details]
Patch
Raphael Kubo da Costa (:rakuco)
Comment 17
2012-08-29 09:06:14 PDT
Committed
r127003
: <
http://trac.webkit.org/changeset/127003
>
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