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

Bug 209308

Summary: dev-db/postgresql should depend on sys-apps/mktemp
Product: Gentoo Linux Reporter: Roland Leißa <sf_knue>
Component: [OLD] UnspecifiedAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Roland Leißa 2008-02-08 01:26:50 UTC
dev-db/postgresql should depend on sys-apps/mktemp. Otherwise the init-script will fail with:
# /etc/init.d/postgresql start
 * Caching service dependencies ...
sh: /bin/mktemp: No such file or directory
 * Failed to create temporary cache!
bash: /var/lib/init.d/depcache: No such file or directory
sh: /bin/mktemp: No such file or directory
 * Failed to create temporary cache!
gawk: /lib/rcscripts/awk/gendepends.awk:506: fatal: expression for `>>' redirection has null string value
 * Failed to cache service dependencies                                                                                                                                                             [ !! ]

 * Error running '/sbin/depscan.sh'!
 * Please correct any problems above.


Reproducible: Always

Steps to Reproduce:
1. emerge postgresql (without mktemp on the system)
2. /etc/init.d/postgresql start





emerge mktemp
fixes the problem
Comment 1 Dawid Węgliński (RETIRED) gentoo-dev 2008-02-08 01:40:11 UTC
Have you system in ~arch? If yes, update your coreutils first.