FS#43250 - [xorg-server] missing dependency on nettle package

Attached to Project: Arch Linux
Opened by Alexei Colin (alexei) - Saturday, 27 December 2014, 20:46 GMT
Last edited by Andreas Radke (AndyRTR) - Monday, 29 December 2014, 12:22 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
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 0
Private No

Details

Description: Xorg server depends on nettle library, but the package does not list this library as a dependency.

Additional info:
* package version(s): xorg-server 1.16.3-1

Steps to reproduce:
$ pacman -S xorg
$ startx
/usr/bin/Xorg.bin: error while loading shared libraries: libnettle.so.4: cannot open shared object file: No such file or directory
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error

The X server does not even reach the point of creating Xorg.0.log.

$ pacman -S nettle
$ startx
[all good]
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Monday, 29 December 2014, 12:22 GMT
Reason for closing:  Fixed
Additional comments about closing:  1.16.3-2
Comment by Karol Błażewicz (karol) - Saturday, 27 December 2014, 21:53 GMT
'pacman -S xorg' installs the whole xorg group by default - don't do this. I hope you run just 'pacman -S xorg-server'.
Comment by Andreas Radke (AndyRTR) - Sunday, 28 December 2014, 09:29 GMT
Nettle is only required by gnutls. Maybe some Xorg group pkg is uncovered linked against gnutls. Maybe you can find out what pkg depends on gnutls/nettle on your system.

Or remove Xorg group and install only what you need and check again.
Comment by U (Gusar) - Sunday, 28 December 2014, 12:22 GMT
X requires a sha1 provider and the configure script allows to choose from several: --with-sha1=libc|libmd|libnettle|libgcrypt|libcrypto|libsha1|CommonCrypto|CryptoAPI

This sha1 provider in the Arch package used to be libgcrypt, that's why it's in depends. But in the latest package (xorg-server-1.16.3-1), Xorg.bin links to nettle instead of libgcrypt. So either the package gets rebuilt with a specific --with-sha1=libgcrypt, or the dependency is changed from libgcrypt to nettle.

Loading...