Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 570012 - Missing dependency in net-libs/webkit-gtk-2.8.5
Summary: Missing dependency in net-libs/webkit-gtk-2.8.5
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-28 17:59 UTC by thephantom1492
Modified: 2015-12-31 08:39 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description thephantom1492 2015-12-28 17:59:24 UTC
Trying to break a circular dependency (that is another issue), I tried to force install webkit-gtk, it fail due to a missing dependency that it even tell you about: dev-util/ninja, This is a new gentoo install that is a few days old... Main SSD crashed the 24... Nice xmas gift from my computer...

# emerge -1v net-libs/webkit-gtk --nodeps

 * IMPORTANT: 15 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


These are the packages that would be merged, in order:

[ebuild  N     ] net-libs/webkit-gtk-2.8.5:4/37::gentoo  USE="(X) egl geoloc gstreamer introspection jit opengl spell webgl -coverage -doc -gles2 -libsecret {-test} (-wayland)" 0 KiB

Total: 1 package (1 new), Size of downloads: 0 KiB


>>> Verifying ebuild manifests
>>> Running pre-merge checks for net-libs/webkit-gtk-2.8.5

>>> Emerging (1 of 1) net-libs/webkit-gtk-2.8.5::gentoo
 * webkitgtk-2.8.5.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                                                                                          [ ok ]
>>> Unpacking source...
>>> Unpacking webkitgtk-2.8.5.tar.xz to /var/tmp/portage/net-libs/webkit-gtk-2.8.5/work
>>> Source unpacked in /var/tmp/portage/net-libs/webkit-gtk-2.8.5/work
>>> Preparing source in /var/tmp/portage/net-libs/webkit-gtk-2.8.5/work/webkitgtk-2.8.5 ...
 * Applying webkit-gtk-2.8.5-fix-ia64-build.patch ...                                                                                                                                                                                                                   [ ok ]
 * Applying webkit-gtk-2.8.5-fix-alpha-build.patch ...                                                                                                                                                                                                                  [ ok ]
 * Applying webkit-gtk-2.8.5-webkit2gtkinjectedbundle-j1.patch ...                                                                                                                                                                                                      [ ok ]
 * Fixing OMF Makefiles ...                                                                                                                                                                                                                                             [ ok ]
 * Disabling deprecation warnings ...                                                                                                                                                                                                                                   [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-libs/webkit-gtk-2.8.5/work/webkitgtk-2.8.5 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/net-libs/webkit-gtk-2.8.5/work/webkit-gtk-2.8.5_build"
 * ERROR: net-libs/webkit-gtk-2.8.5::gentoo failed (configure phase):
 *   CMAKE_MAKEFILE_GENERATOR is set to ninja, but ninja is not installed. Please install dev-util/ninja or unset CMAKE_MAKEFILE_GENERATOR.
 * 
 * Call stack:
 *     ebuild.sh, line   90:  Called src_configure
 *   environment, line 4988:  Called cmake-utils_src_configure
 *   environment, line 1308:  Called _execute_optionally 'src_configure'
 *   environment, line  524:  Called enable_cmake-utils_src_configure
 *   environment, line 1927:  Called _generator_to_use
 *   environment, line  601:  Called die
 * The specific snippet of code:
 *                   die "CMAKE_MAKEFILE_GENERATOR is set to ninja, but ninja is not installed. Please install dev-util/ninja or unset CMAKE_MAKEFILE_GENERATOR.";
 * 
 * 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/webkitgtk-2.8.5'
 * S: '/var/tmp/portage/net-libs/webkit-gtk-2.8.5/work/webkitgtk-2.8.5'
Comment 1 thephantom1492 2015-12-28 18:45:51 UTC
I forgot to include the circular dependency I have, as a proof of the missing dependency, notice that ninja is not there: 

# emerge -1v net-libs/webkit-gtk

 * IMPORTANT: 15 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


These are the packages that would be merged, in order:

Calculating dependencies... done!


[ebuild  N     ] net-libs/webkit-gtk-2.8.5:4/37::gentoo  USE="(X) egl geoloc gstreamer introspection jit opengl spell webgl -coverage -doc -gles2 -libsecret {-test} (-wayland)" 10,211 KiB
[nomerge       ]  app-misc/geoclue-2.2.0:2.0::gentoo  USE="modemmanager" 
[nomerge       ]   net-libs/libsoup-2.50.0:2.4::gentoo  USE="introspection samba ssl -debug {-test}" ABI_X86="32 (64) (-x32)" 
[ebuild  N     ]    net-libs/glib-networking-2.44.0::gentoo  USE="libproxy ssl -gnome -smartcard {-test}" ABI_X86="32 (64) (-x32)" 367 KiB
[ebuild  N     ]     net-libs/libproxy-0.4.11-r2::gentoo  USE="kde python webkit -gnome -mono -networkmanager -perl -spidermonkey {-test}" ABI_X86="32 (64) (-x32)" PYTHON_TARGETS="python2_7" 92 KiB
[ebuild  N     ]      net-libs/webkit-gtk-2.4.9:3/25::gentoo  USE="X egl geoloc gstreamer introspection jit opengl spell webgl (-aqua) -coverage -debug -gles2 -libsecret {-test} -wayland" 9,611 KiB
[ebuild  N     ]       app-misc/geoclue-2.2.0:2.0::gentoo  USE="modemmanager" 331 KiB
[ebuild  N     ]        net-libs/libsoup-2.50.0:2.4::gentoo  USE="introspection samba ssl -debug {-test}" ABI_X86="32 (64) (-x32)" 1,714 KiB
Comment 2 Alex Xu (Hello71) 2015-12-29 00:59:58 UTC
$ grep -c ninja /usr/portage/metadata/md5-cache/net-libs/webkit-gtk-*
/usr/portage/metadata/md5-cache/net-libs/webkit-gtk-2.10.4-r1:1
/usr/portage/metadata/md5-cache/net-libs/webkit-gtk-2.4.9:0
/usr/portage/metadata/md5-cache/net-libs/webkit-gtk-2.4.9-r200:0
/usr/portage/metadata/md5-cache/net-libs/webkit-gtk-2.8.5:1
$ grep ninja /usr/portage/metadata/md5-cache/net-libs/webkit-gtk-2.8.5
DEPEND="... dev-util/ninja ..."
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2015-12-29 07:57:52 UTC
Don't use --nodeps. webkit-gtk ebuild correctly depends on ninja (via cmake-utils eclass) but you are telling emerge to ignore missing dependencies.
Comment 4 thephantom1492 2015-12-31 06:05:21 UTC
Look at post 2, I forgot initially to post it, the --nodeps was to try to break throught the circular dependency, but without --nodeps ninja was NOT pulled in.
So, maybe the circular dependency prevented portage from pulling it, or the ebuild lack it as dependency.

tl;dr: post 2 should have been made first, followed by post 1...
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2015-12-31 08:37:57 UTC
Could you add your emerge --info and paste the output of
$ emerge -1ep --tree webkit-gtk:4

The output on my ~arch system is:
$ emerge -1ep --tree webkit-gtk:4
[...]
[nomerge       ] net-libs/webkit-gtk-2.10.4-r1 
[ebuild   R    ]  dev-util/ninja-1.6.0 
[...]

afair the eclass, there is no way the dependency could be missed unless you set WANT_CMAKE to something different than "always" in your environment.
Comment 6 thephantom1492 2015-12-31 08:39:59 UTC
Then it must have been the circular dependency that caused portage to stop digging deeper... Ow well, better that way anyway