Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 656250

Summary: Last Rites: x11-proto/*
Product: Gentoo Linux Reporter: Matt Turner <mattst88>
Component: Current packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED FIXED    
Severity: normal CC: josef64, Manfred.Knick, ulm
Priority: Normal Keywords: PMASKED
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=656306
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 649076, 654740, 656330    
Bug Blocks:    

Description Matt Turner gentoo-dev 2018-05-22 01:28:34 UTC
x11-base/xorg-proto now includes all of these packages:

x11-proto/bigreqsproto
x11-proto/compositeproto
x11-proto/damageproto
x11-proto/dmxproto
x11-proto/dri2proto
x11-proto/dri3proto
x11-proto/fixesproto
x11-proto/fontsproto
x11-proto/glproto
x11-proto/inputproto
x11-proto/kbproto
x11-proto/presentproto
x11-proto/randrproto
x11-proto/recordproto
x11-proto/renderproto
x11-proto/resourceproto
x11-proto/scrnsaverproto
x11-proto/trapproto
x11-proto/videoproto
x11-proto/xcmiscproto
x11-proto/xextproto
x11-proto/xf86bigfontproto
x11-proto/xf86dgaproto
x11-proto/xf86driproto
x11-proto/xf86miscproto
x11-proto/xf86vidmodeproto
x11-proto/xineramaproto
x11-proto/xproto

They just remain to ease the transition. Arfrever has been doing that transition.

Once completed, we will remove these packages.
Comment 1 Larry the Git Cow gentoo-dev 2018-06-11 01:53:51 UTC
The bug has been referenced in the following commit(s):

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

commit 0fef3f3cffc1fb26c556429dbcb861794b6791ae
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2018-06-11 01:52:42 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2018-06-11 01:52:42 +0000

    profiles: Mask x11-proto/* for removal
    
    Bug: https://bugs.gentoo.org/656250

 profiles/package.mask | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
Comment 2 Manfred Knick 2018-06-11 07:00:26 UTC
(In reply to Matt Turner from comment #0)

> Once completed, we will remove these packages.
Hi, Matt,
this will cause breakage of dependency x11-wm/ctwm.
Has this been taken care of somewhere?
Should we open a ctwm-bug which this one "Depens on" ?
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2018-06-11 10:04:34 UTC
It appears that in some cases, dependencies were changed from x11-proto/* to x11-base/xorg-proto without a revision bump.

In those cases, a rebuild of the affected package is necessary so that they can be depcleaned.
Comment 4 Manfred Knick 2018-06-11 11:31:49 UTC
SORRY - missed the change in my local overlay dealing with Bug 625620.
Comment 5 Alex Efros 2018-06-11 13:46:34 UTC
Current stable media-libs/mesa-17.3.9 still depends on many of these packages - looks like some newer mesa version must be stabilized before removal of these package.
Comment 6 Alex Efros 2018-06-11 14:05:23 UTC
(In reply to Alex Efros from comment #5)
> Current stable media-libs/mesa-17.3.9 still depends on many of these
> packages - looks like some newer mesa version must be stabilized before
> removal of these package.

Re-emerging mesa fixed the issue. Looks like you forget to release -r1 after updating deps in ebuild.
Comment 7 Ulrich Müller gentoo-dev 2018-06-11 14:50:41 UTC
(In reply to Chí-Thanh Christopher Nguyễn from comment #3)
> It appears that in some cases, dependencies were changed from x11-proto/* to
> x11-base/xorg-proto without a revision bump.

<QA>
This has been discussed before. Removing a dependency (and especially a build-time dependency) without a revbump is within the scope of our policy:
https://devmanual.gentoo.org/general-concepts/ebuild-revisions/index.html

The tradeoff is between some tiny packages like x11-proto/* remaining on users' systems, and the cost of rebuilding a large package like mesa. Eventually, these dependencies _will_ be dropped, e.g. on the next version bump of mesa. Also, it cannot cause any breakage on users' systems.
</QA>

> In those cases, a rebuild of the affected package is necessary so that they
> can be depcleaned.

emerge --depclean --with-bdeps=n should do the job (and I wonder why its default is "y" there, while it is "n" for all other operations).
Comment 8 Till Schäfer 2018-06-12 11:49:58 UTC
just a guess: 
"emerge --depclean --with-bdeps=n" would remove 10% of all my packages. Thus, using this as default would result in a huge amount of unnecessary re-builds whenever some some package that RDEPENDs on this packages would be updated.
Comment 9 Ulrich Müller gentoo-dev 2018-06-12 12:27:59 UTC
(In reply to Till Schäfer from comment #8)

Get the list with "emerge --depclean --with-bdeps=n --pretend", then remove all listed x11-proto packages with "emerge --unmerge.

They won't be pulled in again on subsequent emerges, because the default there is --with-bdeps=n.
Comment 10 Mart Raudsepp gentoo-dev 2018-06-12 13:28:25 UTC
For me it lists that these and these packages are masked now, and to remove them. So I just give those packages as argument to emerge --depclean -va <list of pkgs> and sort out what it tells why it can't remove them (re-emerging or upgrading those).
Though maybe a newer mesa cycle can go stable very soon to alleviate the trouble?
Comment 11 josef.95 2018-06-13 11:00:26 UTC
Hi,
I think a news item with a
emerge -a --depclean --with-bdeps=n $(qlist -IC x11-proto/)
hint would be fine.
Comment 12 Larry the Git Cow gentoo-dev 2018-06-13 16:40:36 UTC
The bug has been closed via the following commit(s):

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

commit 768184854fa9e877c9986f3e5b5d32c409825078
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2018-06-13 16:36:37 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2018-06-13 16:36:37 +0000

    x11-proto: Remove
    
    ulm noted that since these packages install no files they can be removed
    immediately without the 30 day waiting period. Additionally, that solves
    the problem encountered by users telling them they cannot depclean the
    masked package.
    
    Closes: https://bugs.gentoo.org/656250

 profiles/categories                                |  1 -
 profiles/package.mask                              | 32 ----------------------
 .../bigreqsproto/bigreqsproto-1.1.2-r1.ebuild      | 17 ------------
 x11-proto/bigreqsproto/metadata.xml                |  8 ------
 .../compositeproto/compositeproto-0.4.2-r2.ebuild  | 17 ------------
 x11-proto/compositeproto/metadata.xml              |  8 ------
 x11-proto/damageproto/damageproto-1.2.1-r2.ebuild  | 17 ------------
 x11-proto/damageproto/metadata.xml                 |  8 ------
 x11-proto/dmxproto/dmxproto-2.3.1-r2.ebuild        | 17 ------------
 x11-proto/dmxproto/metadata.xml                    |  8 ------
 x11-proto/dri2proto/dri2proto-2.8-r2.ebuild        | 17 ------------
 x11-proto/dri2proto/metadata.xml                   |  8 ------
 x11-proto/dri3proto/dri3proto-1.0-r1.ebuild        | 17 ------------
 x11-proto/dri3proto/metadata.xml                   |  8 ------
 x11-proto/fixesproto/fixesproto-5.0-r2.ebuild      | 17 ------------
 x11-proto/fixesproto/metadata.xml                  |  8 ------
 x11-proto/fontsproto/fontsproto-2.1.3-r1.ebuild    | 17 ------------
 x11-proto/fontsproto/metadata.xml                  |  8 ------
 x11-proto/glproto/glproto-1.4.17-r2.ebuild         | 17 ------------
 x11-proto/glproto/metadata.xml                     |  8 ------
 x11-proto/inputproto/inputproto-2.3.2-r1.ebuild    | 17 ------------
 x11-proto/inputproto/metadata.xml                  |  8 ------
 x11-proto/kbproto/kbproto-1.0.7-r1.ebuild          | 17 ------------
 x11-proto/kbproto/metadata.xml                     |  8 ------
 x11-proto/metadata.xml                             | 24 ----------------
 x11-proto/presentproto/metadata.xml                |  8 ------
 x11-proto/presentproto/presentproto-1.1-r1.ebuild  | 17 ------------
 x11-proto/randrproto/metadata.xml                  |  8 ------
 x11-proto/randrproto/randrproto-1.5.0-r1.ebuild    | 17 ------------
 x11-proto/recordproto/metadata.xml                 |  8 ------
 x11-proto/recordproto/recordproto-1.14.2-r2.ebuild | 17 ------------
 x11-proto/renderproto/metadata.xml                 |  8 ------
 x11-proto/renderproto/renderproto-0.11.1-r2.ebuild | 17 ------------
 x11-proto/resourceproto/metadata.xml               |  8 ------
 .../resourceproto/resourceproto-1.2.0-r1.ebuild    | 17 ------------
 x11-proto/scrnsaverproto/metadata.xml              |  8 ------
 .../scrnsaverproto/scrnsaverproto-1.2.2-r2.ebuild  | 17 ------------
 x11-proto/trapproto/metadata.xml                   |  8 ------
 x11-proto/trapproto/trapproto-3.4.3-r1.ebuild      | 17 ------------
 x11-proto/videoproto/metadata.xml                  |  8 ------
 x11-proto/videoproto/videoproto-2.3.3-r1.ebuild    | 17 ------------
 x11-proto/xcmiscproto/metadata.xml                 |  8 ------
 x11-proto/xcmiscproto/xcmiscproto-1.2.2-r1.ebuild  | 17 ------------
 x11-proto/xextproto/metadata.xml                   |  8 ------
 x11-proto/xextproto/xextproto-7.3.0-r1.ebuild      | 17 ------------
 x11-proto/xf86bigfontproto/metadata.xml            |  8 ------
 .../xf86bigfontproto-1.2.0-r2.ebuild               | 17 ------------
 x11-proto/xf86dgaproto/metadata.xml                |  8 ------
 x11-proto/xf86dgaproto/xf86dgaproto-2.1-r3.ebuild  | 17 ------------
 x11-proto/xf86driproto/metadata.xml                |  8 ------
 .../xf86driproto/xf86driproto-2.1.1-r2.ebuild      | 17 ------------
 x11-proto/xf86miscproto/metadata.xml               |  8 ------
 .../xf86miscproto/xf86miscproto-0.9.3-r1.ebuild    | 17 ------------
 x11-proto/xf86vidmodeproto/metadata.xml            |  8 ------
 .../xf86vidmodeproto-2.3.1-r2.ebuild               | 17 ------------
 x11-proto/xineramaproto/metadata.xml               |  8 ------
 .../xineramaproto/xineramaproto-1.2.1-r2.ebuild    | 17 ------------
 x11-proto/xproto/metadata.xml                      |  8 ------
 x11-proto/xproto/xproto-7.0.31-r1.ebuild           | 17 ------------
 59 files changed, 757 deletions(-)