Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 668354 - dev-libs/efl-1.21.1 configure: error: Missing X11/extensions/Xpresent.h
Summary: dev-libs/efl-1.21.1 configure: error: Missing X11/extensions/Xpresent.h
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: 664482
  Show dependency tree
 
Reported: 2018-10-11 19:57 UTC by ernsteiswuerfel
Modified: 2018-10-12 19:47 UTC (History)
1 user (show)

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


Attachments
build.log (efl-1.21.1:20181011-194736.log,30.14 KB, text/plain)
2018-10-11 19:57 UTC, ernsteiswuerfel
Details
emerge --info (file_668354.txt,5.87 KB, text/plain)
2018-10-11 19:58 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
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(-)