Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 939928 - net-misc/tigervnc-1.14.0-r1: configure: error: DRI3 requested, but xshmfence not found.
Summary: net-misc/tigervnc-1.14.0-r1: configure: error: DRI3 requested, but xshmfence ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor
Assignee: Viorel Munteanu
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-21 00:22 UTC by Andrey
Modified: 2024-09-22 04:53 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 Andrey 2024-09-21 00:22:57 UTC
It appears that tigervnc is missing a dependency on x11-libs/libxshmfence,
so the build fails if it's not installed.



Reproducible: Always

Steps to Reproduce:
1. Start with a headless system without Xorg; in particular no xshmfence
2. USE="dri3 drm gnutls -java nls -opengl server -viewer -xinerama" emerge -av1 tigervnc



Actual Results:  
...
checking for dri2proto >= 2.8... yes
checking for dri3proto >= 1.2... yes
checking for sigaction... yes
checking for xshmfence >= 1.1... no
configure: error: DRI3 requested, but xshmfence not found.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/net-misc/tigervnc-1.14.0-r1/work/tigervnc-1.14.0/unix/xserver/config.log
 * ERROR: net-misc/tigervnc-1.14.0-r1::gentoo failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *               ebuild.sh, line  136:  Called src_configure
 *             environment, line 4279:  Called econf '--disable-glx' '--enable-libdrm' '--disable-config-hal' '--disable-config-udev' '--disable-devel-docs' '--disable-dri' '--enable-dri3' '--disable-glamor' '--disable-kdrive' '--disable-libunwind' '--disable-linux-acpi' '--disable-record' '--disable-selective-werror' '--disable-static' '--disable-unit-tests' '--disable-xephyr' '--disable-xinerama' '--disable-xnest' '--disable-xorg' '--disable-xvfb' '--disable-xwin' '--enable-dri2' '--with-pic' '--without-dtrace' '--with-sha1=libcrypto'
 *        phase-helpers.sh, line  719:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *              die "$@"





Expected Results:  
Build succeeds.



A workaround is to run `emerge -v1 x11-libs/libxshmfence`.
Comment 1 Larry the Git Cow gentoo-dev 2024-09-21 15:54:17 UTC
The bug has been closed via the following commit(s):

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

commit bb4b3e43ed11c200d75b53571a28f59e3ba12d89
Author:     Viorel Munteanu <ceamac@gentoo.org>
AuthorDate: 2024-09-21 15:46:31 +0000
Commit:     Viorel Munteanu <ceamac@gentoo.org>
CommitDate: 2024-09-21 15:53:59 +0000

    net-misc/tigervnc: add dependencies for USE=dri3
    
    Add dependencies for USE=dri3.  libgbm is automagic, but only used for
    dri3, so force it on.
    
    Closes: https://bugs.gentoo.org/939928
    Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>

 net-misc/tigervnc/tigervnc-1.14.0-r2.ebuild | 240 ++++++++++++++++++++++++++++
 net-misc/tigervnc/tigervnc-9999.ebuild      |   4 +
 2 files changed, 244 insertions(+)
Comment 2 Andrey 2024-09-22 04:53:20 UTC
Thank you for the super quick fix!