Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 663856 - net-misc/tigervnc-1.9.0-r1 needs to specify multiple minimum versions of dependencies
Summary: net-misc/tigervnc-1.9.0-r1 needs to specify multiple minimum versions of depe...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: otakuto.gentoo
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2018-08-17 07:47 UTC by Patrick McMunn
Modified: 2018-10-17 20:50 UTC (History)
2 users (show)

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


Attachments
tigervnc-1.9.0-r1.ebuild.patch patches tigervnc-1.9.0-r1.ebuild to fix missing dependency minimum versions (tigervnc-1.9.0-r1.ebuild.patch,1.52 KB, patch)
2018-08-18 03:05 UTC, Patrick McMunn
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick McMunn 2018-08-17 07:47:12 UTC
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
Comment 1 Patrick McMunn 2018-08-18 03:05:21 UTC
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.
Comment 2 Virgil Dupras (RETIRED) gentoo-dev 2018-08-18 16:43:35 UTC
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.
Comment 3 Patrick McMunn 2018-08-19 18:42:25 UTC
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.
Comment 4 Patrick McMunn 2018-08-21 02:19:35 UTC
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.