Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 209308 - dev-db/postgresql should depend on sys-apps/mktemp
Summary: dev-db/postgresql should depend on sys-apps/mktemp
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-08 01:26 UTC by Roland Leißa
Modified: 2008-02-08 01:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.