FS#44743 - [couchdb] 1.6.1-4 executable requires getopt binary but util-linux isn't a dependency
Attached to Project:
Community Packages
Opened by Jason Parrott (Moncader) - Monday, 27 April 2015, 09:18 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 27 April 2015, 18:42 GMT
Opened by Jason Parrott (Moncader) - Monday, 27 April 2015, 09:18 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 27 April 2015, 18:42 GMT
|
Details
Description:
The CouchDB executable in /usr/bin/couchdb is a sh script that uses the binary getopt. In cases of manual installation of Arch, say for containers where the base package is not installed, the util-linux package which contains the getopt binary is not installed on the system and CouchDB will not execute. util-linux should be added as a dependency for the couchdb package. Additional info: * package version: 1.6.1-4 * $ cat /usr/bin/couchdb | grep -n getopt 350: options=`getopt hVa:A:ncibp:r:Ro:e:skd $@` |
This task depends upon
Closed by Sergej Pupykin (sergej)
Monday, 27 April 2015, 18:42 GMT
Reason for closing: Fixed
Additional comments about closing: in svn/trunk only
Monday, 27 April 2015, 18:42 GMT
Reason for closing: Fixed
Additional comments about closing: in svn/trunk only
I would be perfectly happy with there being a dependency on base or more preferably on util-linux (since that is what it actually needs).
If it is not possible to fix this than can you answer how it might be possible to make CouchDB work using Pacman, using only reverse dependency checking like a package manager should be able to accomplish? Currently I don't see that as possible.
If you know of a way I'd be happy to use that.
FWIW I agree with you and don't personally think packages should have implicit runtime dependencies on base, but it's currently up the the maintainer to choose if they want to or not.
To build a container (a rocket container) I'm manually grabbing the package dependencies using `pacman -Sii couchdb` and parsing for Depends On. By following this reverse lookup, util-linux is never pulled in and therefore knowledge that couchdb uses util-linux is required and manual installation is needed.
I know for the average system this is pointless to discuss. However for building custom, light as possible containers I personally believe this is important (though not urgent).