After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 336853 - No kill utility found in NetBSD
No kill utility found in NetBSD
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Shell
2.6.x (obsolete)
Other NetBSD
: Normal normal
: ---
Assigned To: Evolution Shell Maintainers Team
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2006-04-01 16:47 UTC by Julio Merino
Modified: 2013-09-10 14:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Sample patch. (1.75 KB, patch)
2006-04-01 16:48 UTC, Julio Merino
committed Details | Review

Description Julio Merino 2006-04-01 16:47:11 UTC
The configure.in script in evolution has a check to look for a kill-by-name utility, which resolves to either pkill or killall.  However, the check is incomplete because it assumes that only SunOS has pkill and that all other systems should have killall.

This results in the configure script not detecting pkill in NetBSD, which is the only available utility (killall is not present).  This probably affects other systems.

The check in the script should look for pkill and killall by using AC_PATH_PROGS so that the first one found is used, no matter in which operating system the check was ran.  This also avois using the which(1) command which is not guaranteed to work in all cases (it may not look in all path components, thus leading to a false result).

The attached patch fixes this issue.
Comment 1 Julio Merino 2006-04-01 16:48:58 UTC
Created attachment 62555 [details] [review]
Sample patch.
Comment 2 Karsten Bräckelmann 2006-04-01 17:45:44 UTC
Hmm, by a *quick* look at the code (well, the patch actually ;), I guess I can confirm this. Keep in mind though, I am not a BSD user, I might be wrong.

Anything else up to the developers.

This most likely is Shell.
Comment 3 Harish Krishnaswamy 2006-05-15 09:23:35 UTC
Julio, thanks for the patch. I will review this shortly. Setting target milestone to 2.6.x
Comment 4 André Klapper 2006-06-17 22:47:16 UTC
harmonizing target milestones, sorry for the noise. (2.6.x -> 2.6)
Comment 5 André Klapper 2006-07-15 10:37:54 UTC
harish: "review this shortly"? ;-)
*poke* - let's get this in 2.6.3.
Comment 6 Harish Krishnaswamy 2006-07-22 13:12:11 UTC
Fix committed in stable branch and the HEAD. 
Julio, thanks for the patch.
Andre, thanks for the nudge ;-).