FS#64892 - [Xorg] remove dead Xorg packages

Attached to Project: Arch Linux
Opened by Andreas Radke (AndyRTR) - Thursday, 19 December 2019, 15:10 GMT
Last edited by Andreas Radke (AndyRTR) - Monday, 23 December 2019, 09:04 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Laurent Carlier (lordheavy)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 9
Private No

Details

Following https://gitlab.freedesktop.org/xorg/driver/xf86-input-keyboard/merge_requests/1
we removed xf86-input-keyboard. Let's try to remove more unused and obsolete packages from the Arch repos:

https://lists.archlinux.org/pipermail/arch-general/2019-December/047247.html

Some more packages were suggested to be dropped:

- xf86miscproto yes, in xorgproto package

- libxxf86misc yes - light-locker (community)
# copied out of xorgproto 2018.4
Source1: xf86misc.h
Source2: xf86mscstr.h
sed -i s/xf86miscproto// configure.ac
mkdir -p src/X11/extensions/
cp %{SOURCE1} %{SOURCE2} src/X11/extensions/

(- libxevie nope)
- xf86dgaproto yes, in xorgproto package

- libxxf86dga yes - replaced by drm code
packages that still depend on it require rebuilds:
(allegro,allegro4,mplayer,nexuiz,xawtv,xonotic,xorg-xdpyinfo,mplayer (make) )

- libxkbui yes - dead, nothing depends on it

- libdmx
xorg-server-xdmx, xserver-server package with --enable-dmx

- xf86-input-mouse - use f86-input-libinput or f86-input-evdev

- xorgproto
remove provides/conflicts/replaces on =('bigreqsproto' 'compositeproto' 'damageproto' 'dmxproto' 'dri2proto' 'dri3proto' 'fixesproto' 'fontsproto' 'glproto' 'inputproto' 'kbproto' 'presentproto' 'printproto' 'randrproto' 'recordproto' 'renderproto' 'resourceproto' 'scrnsaverproto' 'videoproto' 'xcmiscproto' 'xextproto' 'xf86dgaproto' 'xf86driproto' 'xf86miscproto' 'xf86vidmodeproto' 'xineramaproto' 'xproto')
requires fixing/rebuilds:


lib32-libxi (requires inputproto)
libdmx (requires dmxproto)
libice (requires xproto)
libx11 (requires xproto)
libxau (requires xproto)
libxcomposite (requires compositeproto)
libxdamage (requires damageproto)
libxdmcp (requires xproto)
libxext (requires xextproto)
libxfixes (requires fixesproto)
libxfont2 (requires fontsproto)
libxi (requires inputproto)
libxinerama (requires xineramaproto)
libxp (requires printproto)
libxpresent
libxrandr (requires randrproto)
libxrender (requires renderproto)
libxss (requires scrnsaverproto)
libxtst (requires recordproto)
libxv (requires videoproto)
libxxf86dga (requires xf86dgaproto)
libxxf86misc (requires xf86miscproto)
libxxf86vm (requires xf86vidmodeproto)
xorg-server-devel
easystroke (requires inputproto) (make)
freerdp (make)
i810-dri (make)
imake (requires xproto) (make)
intel-gpu-tools (requires dri2proto) (make)
lib32-libglvnd (requires glproto) (make)
lib32-libva-mesa-driver (requires dri2proto) (make)
lib32-libvdpau (requires dri2proto) (make)
lib32-libx11 (requires xextproto) (make)
lib32-libxau (make)
lib32-libxdamage (make)
lib32-libxrender (requires renderproto) (make)
lib32-libxshmfence (requires xproto) (make)
lib32-mesa (requires dri2proto) (make)
libfontenc (make)
libglvnd (requires glproto) (make)
libva-mesa-driver (requires dri2proto) (make)
libvdpau (requires dri2proto) (make)
libx11 (requires inputproto) (make)
libxcomp (make)
libxcomp (testing) (make)
libxres (requires damageproto) (make)
libxshmfence (requires xproto) (make)
mach64-dri (make)
mesa (requires dri3proto) (make)
mga-dri (make)
nxagent (make)
nxagent (testing) (make)
nx-headers (make)
nx-headers (testing) (make)
nxproxy (make)
nxproxy (testing) (make)
nx-x11 (make)
nx-x11 (testing) (make)
opencl-mesa (requires presentproto) (make)
openmotif (requires printproto) (make)
mesa-dri1 (make)
tigervnc (requires xcmiscproto) (make)
unichrome-dri (make)
virtualbox (requires xf86driproto) (make)
mesa (requires glproto) (make)
wallutils (make)
xf86-input-elographics (requires resourceproto) (make)
xf86-input-evdev (requires resourceproto) (make)
xf86-input-libinput (requires scrnsaverproto) (make)
xf86-input-mouse (requires resourceproto) (make)
xf86-input-synaptics (requires scrnsaverproto) (make)
xf86-input-vmmouse (requires scrnsaverproto) (make)
xf86-input-void (requires scrnsaverproto) (make)
xf86-input-wacom (requires scrnsaverproto) (make)
xf86-video-dummy (requires xf86dgaproto) (make)
xf86-video-qxl (requires xf86dgaproto) (make)
xf86-video-voodoo (requires xf86dgaproto) (make)
xorg-bdftopcf (requires xproto) (make)
xorg-iceauth (requires xproto) (make)
xorg-mkfontscale (requires xproto) (make)
xorg-server (make)
xorg-sessreg (requires xproto) (make)
xorg-xdriinfo (requires glproto) (make)
xorg-xev (requires xproto) (make)
xorg-xinput (requires inputproto) (make)
xorg-xkbutils (requires xproto) (make)
xorg-xman (requires xproto) (make)
openscad (requires xproto) (check)

We'll see if more changes are needed. Maybe more packages can be dropped.
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Monday, 23 December 2019, 09:04 GMT
Reason for closing:  Fixed
Comment by Andreas Radke (AndyRTR) - Thursday, 19 December 2019, 19:11 GMT
xorgproto - cleanup done - 2019.2-2
- packages have been rebuilt that were having *proto runtime (wrong) dependencies now with now makedepends on xorgproto

packages removed:
- xf86-input-mouse
- libxkbui
- libdmx,xorg-server-xdmx - Xorg-server rebuilt without Xdmx support

Done!
Comment by Andreas Radke (AndyRTR) - Thursday, 19 December 2019, 19:27 GMT
light-locker has been rebuilt dropping dependency on libxxf86misc so libxxf86misc can be removed when light-locker proved to be working.
Comment by Daniel M. Capella (polyzen) - Thursday, 19 December 2019, 20:02 GMT
> :: installing xorgproto (2019.2-2) breaks dependency 'inputproto' required by lib32-libxi
Comment by Pedro Gabriel Drumond Pereira (pedrogabriel) - Thursday, 19 December 2019, 21:07 GMT
> :: installing xorgproto (2019.2-2) breaks dependency 'inputproto' required by lib32-libxi
> :: installing xorgproto (2019.2-2) breaks dependency 'dmxproto' required by libdmx
> :: installing xorgproto (2019.2-2) breaks dependency 'xf86dgaproto' required by libxxf86dga
Comment by Andreas Radke (AndyRTR) - Thursday, 19 December 2019, 21:13 GMT
prepare libxxf86dga remove

nexuiz fixable? move back to AUR? mail to the maintainer sent.

mplayer, xawtv, xorg-xdpyinfo - done
allegro,allegro4,xonotic - don
Comment by Andreas Radke (AndyRTR) - Thursday, 19 December 2019, 21:24 GMT
@lordheavy: lib32-libxi (requires inputproto) rebuild pending.
Comment by Andreas Radke (AndyRTR) - Thursday, 19 December 2019, 21:41 GMT
lib32-libxi xorgproto rebuild done.
Comment by Bastian Beranek (totsilence) - Friday, 20 December 2019, 08:43 GMT
Is this known already?

error: failed to prepare transaction (could not satisfy dependencies)
:: installing xorgproto (2019.2-2) breaks dependency 'dmxproto' required by libdmx
:: installing xorgproto (2019.2-2) breaks dependency 'xf86dgaproto' required by libxxf86dga
Comment by Frederic Bezies (fredbezies) - Friday, 20 December 2019, 08:56 GMT
In a way yes. But it broke installing Xorg on a brand new archlinux related to xorg-xdpyinfo which needs a rebuild. See ttps://bugs.archlinux.org/task/64904
Comment by Tim Ruffing (realorrandom) - Friday, 20 December 2019, 21:57 GMT
I needed to remove also libxxf86misc, in addition to what's suggested in https://www.archlinux.org/news/xorg-cleanup-requires-manual-intervention/
Comment by Stefan Förster (HotblackDesiato) - Saturday, 21 December 2019, 02:05 GMT
:: Installation von xorgproto (2019.2-2) verletzt Abhängigkeit 'xf86dgaproto', benötigt von libxxf86dga

installing xorgproto (2019.2-2) breaks dependency 'xf86dgaproto' required by libxxf86dga
Comment by Lone_Wolf (Lone_Wolf) - Saturday, 21 December 2019, 11:16 GMT Comment by Ronny D. (RonnyD) - Saturday, 21 December 2019, 11:17 GMT
The cleanup breaks the compilation of DWM, and probably any other packages using X11 libraries.

In file included from drw.c:5:
/usr/include/X11/Xlib.h:44:10: fatal error: X11/X.h: No such file or directory
44 | #include <X11/X.h>
| ^~~~~~~~~
compilation terminated.

Is there a way to fix that?
Comment by Lone_Wolf (Lone_Wolf) - Saturday, 21 December 2019, 11:23 GMT
Add xorgproto to the makedepends of the aur dwm PKGBUILD and try again.
If that solves it , ask the dwm maintainer to add it also and upload a new version .
Comment by Alessandro Righi (alerighi) - Saturday, 21 December 2019, 11:40 GMT
This seems to have broken dmenu for me. Here is a gdb output of where it fails:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7eb06d0 in XmbLookupString () from /usr/lib/libX11.so.6
Comment by Cysioland (Cysioland) - Saturday, 21 December 2019, 12:24 GMT
Performed instructions provided in the update news page, and still got hit with the following:

:: installing xorgproto (2019.2-2) breaks dependency 'xproto' required by libxfont
:: installing xorgproto (2019.2-2) breaks dependency 'fontsproto' required by libxfont
:: installing xorgproto (2019.2-2) breaks dependency 'xf86miscproto' required by libxxf86misc
Comment by Lone_Wolf (Lone_Wolf) - Saturday, 21 December 2019, 13:02 GMT
Cysioland,
remove libxxf86misc .
libxfont was removed from repos in november 2017, https://git.archlinux.org/svntogit/packages.git/commit/?id=6e7af1fcc644936c197ab4c529f733a351e4c2ad .
I suggest you run pacman -Qm & pacman -Qdt to see if you have other obsolete stuff present.
If you need help with that, post in forum .
Comment by Milan Oravec (migo) - Saturday, 21 December 2019, 14:08 GMT
Hi, how can I solve this lockup?

root@migomacpro:/home/migo# pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
:: Starting full system upgrade...
warning: atftp: local (0.7.11-2) is newer than community (0.7.2-1)
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing xorgproto (2019.2-2) breaks dependency 'inputproto' required by lib32-libxi

root@migomacpro:/home/migo# pacman -Rdd libdmx libxxf86dga && pacman -Syu
error: target not found: libdmx
error: target not found: libxxf86dga
root@migomacpro:/home/migo#

IGNORE this post please, solved by removing lib32-libxi.

Thank you,

Milan
Comment by Andreas Radke (AndyRTR) - Saturday, 21 December 2019, 20:43 GMT
I've readded libx11 depending on xorgproto to satisfy its pkgconfig file and allow to keep building against it easily without a huge amount packages to add the proto headers to build dependency.

libxxf86dga has been removed.
Comment by grokArch (grokArch) - Sunday, 22 December 2019, 20:25 GMT
Failed to prepare transaction:
could not satisfy dependencies:
installing xorgproto (2019.2-2) breaks dependency 'dmxproto' required by libdmx
installing xorgproto (2019.2-2) breaks dependency 'xf86dgaproto' required by libxxf86dga
installing xorgproto (2019.2-2) breaks dependency 'xf86miscproto' required by libxxf86misc
Comment by Andreas Radke (AndyRTR) - Monday, 23 December 2019, 09:04 GMT
It seems to be hard to read this report from the beginning. I've added "libxxf86misc" to the news section entry.

Loading...