Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 668354

Summary: dev-libs/efl-1.21.1 configure: error: Missing X11/extensions/Xpresent.h
Product: Gentoo Linux Reporter: ernsteiswuerfel <erhard_f>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED FIXED    
Severity: normal CC: bertrand
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/10130
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 664482    
Attachments: build.log
emerge --info

Description ernsteiswuerfel archtester 2018-10-11 19:57:30 UTC
Created attachment 550604 [details]
build.log

x11-libs/libXpresent-1.0.0-r1 is not pulled in as dep when it should. Seems a combination of other USE-flags is needed, to correctly pull in libXpresent, +xpresent on it's own is not enough.

USE="xpresent" emerge -pqv efl
[ebuild  N    ] dev-libs/efl-1.21.1  USE="X bmp eet fontconfig gif gstreamer ico nls opengl pdf ppm psd pulseaudio sound ssl static-libs svg system-lz4 systemd tiff valgrind xpresent -avahi -connman -dds -debug -drm -egl -examples -fbcon -fribidi -gles -glib -gnutls -harfbuzz -hyphen -ibus -jpeg2k -libressl -libuv (-luajit) (-neon) (-physics) -postscript -raw -scim (-sdl) -tga -tslib -unwind -v4l -vlc -vnc -wayland -webp -xcf -xim -xine -xpm"

[...]
checking for X11/extensions/Xpresent.h... no
configure: error: Missing X11/extensions/Xpresent.h

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-libs/efl-1.21.1/work/efl-1.21.1/config.log
 * ERROR: dev-libs/efl-1.21.1::gentoo failed (configure phase):
 *   econf failed
Comment 1 ernsteiswuerfel archtester 2018-10-11 19:58:31 UTC
Created attachment 550608 [details]
emerge --info
Comment 2 Joonas Niilola gentoo-dev 2018-10-12 05:59:31 UTC
It seems to require X + gles + xpresent USE flag combination in order to pull  x11-libs/libXpresent. I'll make a PR to fix this logic later today, thanks for the detailed report!

I can't find anything that forces xpresent to have 'gles' enabled too, but 'X' is still indeed required.
Comment 3 Larry the Git Cow gentoo-dev 2018-10-12 19:47:54 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7de06dc659e12cd2cbb1269fcd44c2882e72354b

commit 7de06dc659e12cd2cbb1269fcd44c2882e72354b
Author:     Joonas Niilola <juippis@gmail.com>
AuthorDate: 2018-10-12 06:09:20 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-10-12 19:47:49 +0000

    dev-libs/efl: fix build issue with 'xpresent' USE enabled for 1.21.1
    
    Closes: https://bugs.gentoo.org/668354
    Signed-off-by: Joonas Niilola <juippis@gmail.com>
    Package-Manager: Portage[mgorny]-2.3.49.1
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-libs/efl/efl-1.21.1.ebuild | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)