Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 182044 - gnome2-utils.eclass requires /bin/pidof but does not depend on packages containing it
Summary: gnome2-utils.eclass requires /bin/pidof but does not depend on packages conta...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-14 17:32 UTC by Joe Peterson (RETIRED)
Modified: 2007-06-14 20:46 UTC (History)
1 user (show)

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 Joe Peterson (RETIRED) gentoo-dev 2007-06-14 17:32:13 UTC
For BSD, the utility /bin/pidof is contained in a package called pidof-bsd.  When emerging, e.g., evince, gnome2-utils tries to call this utility, but the eclass does not depend on the package (in this case, pidof-bsd) being installed.  Should the eclass depend on, say, (the linux package) || (the fbsd package)?  Or is there a better way to deal with this?
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-06-14 17:36:12 UTC
As an alternative, rewrite the code to use pgrep.
Comment 2 Rémi Cardona (RETIRED) gentoo-dev 2007-06-14 19:06:55 UTC
is "killall" a command available on BSD?
Comment 3 Joe Peterson (RETIRED) gentoo-dev 2007-06-14 19:08:56 UTC
Yes, killall is in sys-freebsd/freebsd-ubin
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-06-14 19:40:44 UTC
At that point you might want to just use pkill, that is probably the most portable thing you can use.
Comment 5 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-06-14 20:46:36 UTC
Okay, pidof changed to pgrep.