Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 711778 - x11-base/xorg-server-1.20.7 with media-libs/libglvnd[-X]: configure: error: Package requirements (glproto >= 1.4.17 gl >= 1.2) were not met
Summary: x11-base/xorg-server-1.20.7 with media-libs/libglvnd[-X]: configure: error: P...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-07 10:07 UTC by Dmitriy Baranov
Modified: 2020-03-07 19:49 UTC (History)
0 users

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


Attachments
build.log (build.log,1.98 KB, text/plain)
2020-03-07 10:09 UTC, Dmitriy Baranov
Details
emerge --info (einfo.txt,5.75 KB, text/plain)
2020-03-07 10:09 UTC, Dmitriy Baranov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitriy Baranov 2020-03-07 10:07:38 UTC
configure: DRI3 enabled
checking for LIBDRM... yes
checking for XLIB... yes
checking for GL... no
configure: error: Package requirements (glproto >= 1.4.17 gl >= 1.2) were not met:

Package 'gl', required by 'virtual:world', not found

Reproducible: Always
Comment 1 Dmitriy Baranov 2020-03-07 10:09:06 UTC
Created attachment 617392 [details]
build.log
Comment 2 Dmitriy Baranov 2020-03-07 10:09:28 UTC
Created attachment 617394 [details]
emerge --info
Comment 3 Matt Turner gentoo-dev 2020-03-07 18:49:10 UTC
(In reply to reagentoo from comment #1)
> Created attachment 617392 [details]
> build.log

Wrong build log.
Comment 4 Matt Turner gentoo-dev 2020-03-07 18:50:41 UTC
I suspect a local configuration problem. What does

> pkg-config --print-provides gl

print?
Comment 5 Dmitriy Baranov 2020-03-07 18:59:11 UTC
(In reply to Matt Turner from comment #4)
> I suspect a local configuration problem. What does
> 
> > pkg-config --print-provides gl
> 
> print?

$ pkg-config --print-provides gl
$
Comment 6 Terry Wrist 2020-03-07 19:09:45 UTC
I suspect mesa. In fact, I am pretty sure it's mesa. @reagentoo did mesa blow away you /usr/lib64/libGL.* files too? 

Matt stop shooting from the hip. Leave that to us.
Comment 7 Märt Bakhoff 2020-03-07 19:19:57 UTC
I have the same issue. Looks like building mesa with USE=libglvnd is the cause.

pkg-config --print-provides gl
with +libglvnd: No package 'gl' found (xorg-server build fails)
with -libglvnd: gl = 20.0.1 (xorg-server build ok)
Comment 8 Arfrever Frehtes Taifersar Arahesis 2020-03-07 19:28:06 UTC
According to my testing, gl.pc and glx.pc are provided by media-libs/libglvnd-1.3.1 with USE="X", but not with USE="-X".
(Reporter of this bug also has USE="-X".)
Comment 9 Matt Turner gentoo-dev 2020-03-07 19:47:15 UTC
(In reply to Arfrever Frehtes Taifersar Arahesis from comment #8)
> According to my testing, gl.pc and glx.pc are provided by
> media-libs/libglvnd-1.3.1 with USE="X", but not with USE="-X".
> (Reporter of this bug also has USE="-X".)

Thanks. That makes sense.
Comment 10 Larry the Git Cow gentoo-dev 2020-03-07 19:49:10 UTC
The bug has been closed via the following commit(s):

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

commit a58d7fdcea1b9383cd29da9c6a7b75405a8ffa5e
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2020-03-07 19:48:27 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2020-03-07 19:48:58 +0000

    x11-base/xorg-server: Depend on media-libs/libglvnd[X]
    
    Closes: https://bugs.gentoo.org/711778
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 x11-base/xorg-server/xorg-server-1.20.7.ebuild | 2 +-
 x11-base/xorg-server/xorg-server-9999.ebuild   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)