FS#56997 - [xorg-server-xvfb] missing dependency on `which`
Attached to Project:
Arch Linux
Opened by Daniele Cocca (jmc) - Monday, 08 January 2018, 00:41 GMT
Last edited by Andreas Radke (AndyRTR) - Wednesday, 21 March 2018, 12:53 GMT
Opened by Daniele Cocca (jmc) - Monday, 08 January 2018, 00:41 GMT
Last edited by Andreas Radke (AndyRTR) - Wednesday, 21 March 2018, 12:53 GMT
|
Details
Description:
The xvfb-run script [1] requires `which`, but this is not listed among the dependencies [2]. This can be fixed by either adding an explicit dependency on `which`, or using the POSIX sh builtin `command -v ...` [3] to perform the same operation without introducing additional dependencies. [1] https://git.archlinux.org/svntogit/packages.git/tree/trunk/xvfb-run?h=packages/xorg-server&id=94da807f6fb18360c36249eea7cbbf52cef624ee#n139 [2] https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/xorg-server&id=94da807f6fb18360c36249eea7cbbf52cef624ee#n176 [3] http://pubs.opengroup.org/onlinepubs/9699919799/utilities/command.html Additional info: * package version(s): 1.19.6-2 # Before installing `which` $ xvfb-run some_command /usr/bin/xvfb-run: line 139: which: command not found xvfb-run: error: xauth command not found # After installing `which` $ xvfb-run some_command # (success) Steps to reproduce: * install a base image (e.g. pacstrap) * install xorg-server-xvfb * run `xvfb-run some_command` * fail |
This task depends upon
Closed by Andreas Radke (AndyRTR)
Wednesday, 21 March 2018, 12:53 GMT
Reason for closing: Fixed
Additional comments about closing: fix commited to trunk though ideally not needed...
Wednesday, 21 March 2018, 12:53 GMT
Reason for closing: Fixed
Additional comments about closing: fix commited to trunk though ideally not needed...
xvfb-run seems to be imported from Debian, have you considered filing an upstream bug report against Debian to fix this?
I'm not familiar enough with the Debian packaging policy to know if a direct dependency would be in order here, but the above means that in a default setup all works as expected.
[1] https://packages.debian.org/stretch/debianutils
[2] https://packages.debian.org/stretch/dash
[1] https://bugs.archlinux.org/task/56997#comment165231
:)