Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 565936 - =net-libs/webkit-gtk-2.8.5 does not build with dev-util/cmake-3.4.0. Unknown CMake command "check_include_files".
Summary: =net-libs/webkit-gtk-2.8.5 does not build with dev-util/cmake-3.4.0. Unknown ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-16 13:20 UTC by Oleh
Modified: 2015-12-27 14:10 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
cmake-3.4 support (webkit-gtk-2.8.5-cmake3_4.patch,1.03 KB, patch)
2015-11-16 16:08 UTC, Jory A. Pratt
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Oleh 2015-11-16 13:20:07 UTC
as summary say, cmake-3.4.0 breaks webkit-gtk (maybe all older than 2.10.4)

Reproducible: Always

Steps to Reproduce:
1. emerge webkit-gtk, assuming cmake-3.4.0 installed
2. notice failure
3.
Actual Results:  
CMake Error at Source/cmake/FindOpenGL.cmake:62 (check_include_files):
  Unknown CMake command "check_include_files".
Call Stack (most recent call first):
  Source/cmake/OptionsGTK.cmake:65 (find_package)
  CMakeLists.txt:157 (include)


-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/net-libs/webkit-gtk-2.8.5/work/webkit-gtk-2.8.5_build/CMakeFiles/CMakeOutput.log".
See also "/var/tmp/portage/net-libs/webkit-gtk-2.8.5/work/webkit-gtk-2.8.5_build/CMakeFiles/CMakeError.log".
 * ERROR: net-libs/webkit-gtk-2.8.5::gentoo failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_configure
 *   environment, line 4940:  Called cmake-utils_src_configure
 *   environment, line 1279:  Called _execute_optionally 'src_configure'
 *   environment, line  516:  Called enable_cmake-utils_src_configure
 *   environment, line 1910:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 * 
 * If you need support, post the output of `emerge --info '=net-libs/webkit-gtk-2.8.5::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-libs/webkit-gtk-2.8.5::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-libs/webkit-gtk-2.8.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/webkit-gtk-2.8.5/temp/environment'.
 * Working directory: '/var/tmp/portage/net-libs/webkit-gtk-2.8.5/work/webkit-gtk-2.8.5_build'
 * S: '/var/tmp/portage/net-libs/webkit-gtk-2.8.5/work/webkitgtk-2.8.5'


https://bugs.webkit.org/show_bug.cgi?id=150117
upstream patch for 2.10.1 provided in this report.
Comment 1 Jory A. Pratt gentoo-dev 2015-11-16 16:08:49 UTC
Created attachment 417118 [details, diff]
cmake-3.4 support

Correct patch to use to ensure compilation
Comment 2 Oleh 2015-11-24 07:26:19 UTC
this patch fixes, please, add to tree.
Comment 3 Oleh 2015-11-28 05:37:30 UTC
any progress on this, it's a stopper in getting various desktop installations.
Comment 4 Pednick 2015-12-11 00:48:26 UTC
Definitely a show stopper, would be nice if there was an estimated time for a fix.
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2015-12-13 15:15:08 UTC
This is not a show stopper as cmake-3.4 is ~arch while webkit-gtk-2.8 is not.
webkit-gtk-2.10 does build with cmake-3.4 so it this is a problem for you, you can just unmask it like you did for cmake for now.
Comment 6 Pednick 2015-12-13 23:36:21 UTC
(In reply to Gilles Dartiguelongue from comment #5)
> This is not a show stopper as cmake-3.4 is ~arch while webkit-gtk-2.8 is not.
> webkit-gtk-2.10 does build with cmake-3.4 so it this is a problem for you,
> you can just unmask it like you did for cmake for now.

thanks for the info, doing a fresh install with ACCEPT_KEYWORDS="~x86", llvm successful gotta wait and see for webkit-gtk.2.8.5.
Comment 7 Pednick 2015-12-13 23:37:07 UTC
forgot to say both cmake and llvm got upgraded.
Comment 8 Pednick 2015-12-14 14:32:40 UTC
Just noticed that there's no webkit-gtk-2.8.5 anymore it got upgraded to webkit-gtk-2.10.4-r1, waiting to see if that compiles, not up to that part yet.
Comment 9 Pednick 2015-12-14 18:58:40 UTC
(In reply to Pednick from comment #8)
> Just noticed that there's no webkit-gtk-2.8.5 anymore it got upgraded to
> webkit-gtk-2.10.4-r1, waiting to see if that compiles, not up to that part
> yet.

Success. :)
Comment 10 Pacho Ramos gentoo-dev 2015-12-26 15:17:23 UTC
Are there plans to stabilize cmake-3.4 soon? Otherwise, we can simply wait for webkit-gtk-2.10 going to stable before that :/
Comment 11 Michael Palimaka (kensington) gentoo-dev 2015-12-27 14:10:34 UTC
cmake-3.4 probably needs more revdep testing before being stable (a lot of package failures like this)