I'm running on Funtoo which has older versions of some packages available. I had to disable the drm USE flag because it requires libdrm >= 2.4.89 if the drm USE flag is enabled. This should be specified as a minimum version in the ebuild, but it isn't. I disabled the drm USE flag, and the configure phase for tigervnc still failed with numerous minimum dependencies which were not met because they were not specified in the ebuild but should be, as shown by the output of configure: configure: error: Package requirements (fixesproto >= 5.0 damageproto >= 1.1 xcmiscproto >= 1.2.0 xtrans >= 1.3.5 bigreqsproto >= 1.1.0 xproto >= 7.0.31 randrproto >= 1.6.0 renderproto >= 0.11 xextproto >= 7.2.99.901 inputproto >= 2.3 kbproto >= 1.0.3 fontsproto >= 2.1.3 pixman-1 >= 0.27.2 videoproto compositeproto >= 0.4 scrnsaverproto >= 1.1 resourceproto >= 1.2.0 xineramaproto xkbfile pixman-1 >= 0.27.2 xfont2 >= 2.0.0 xau xshmfence >= 1.1 xdmcp) were not met: Package dependency requirement 'randrproto >= 1.6.0' could not be satisfied. Package 'randrproto' has version '1.5.0', required version is '>= 1.6.0' Reproducible: Always
Created attachment 543866 [details, diff] tigervnc-1.9.0-r1.ebuild.patch patches tigervnc-1.9.0-r1.ebuild to fix missing dependency minimum versions I wasn't completely sure whether some of the additions should have been added to CDEPEND, DEPEND, or perhaps be added to a conditional statement, so I'm sure someone with familiarity with this ebuild should view this.
Patrick, thanks for the patch, but as a general rule we don't accomodate alternate trees in the Gentoo tree, but rather aim for self-consistency. If the last version to not meet minimum version of a dependency has been cleaned from the Gentoo tree a long time ago, then we don't bother with specifying that version. Also, I see that you make a lot of changes other than the libdrm one. Do they fix actual problems with Gentoo, or are they specific to Funtoo? In the latter case, I'd be inclined to say that this patch belongs in Funtoo.
The only two error messages I actually encountered were the ones regarding randrproto >= 1.6.0 and libdrm >= 2.4.89. The rest I added based on the configure output of tigervnc, so admittedly they may have been somewhat superfluous.
Apparently it only needs libdrm-2.4.89 is using xorg-server 1.20. If using xorg-server 1.19, it's happy with earlier libdrm too.