GNOME Bugzilla – Bug 650078
forkbomb building glib/tests/protocol
Last modified: 2011-05-16 18:39:34 UTC
If a user has . in path (or in the case of Free BSD /bin/sh an extra : in PATH) the current working dir will be searched for executables. glib/tests has an executable named 'printf'. GNU libtool on some platforms uses printf to print strings. Linking can forkbomb on systems where this happens. I suggest renaming the printf test to something else. To reproduce, on Free BSD 8.2 cd /usr/ports/devel/glib20; env PATH=:$PATH gmake It is not uncommon to end up with an accidental extra : in one's path, that this is treated as '.' by /bin/sh is a bug in /bin/sh on FreeBSD, but since forkbombing is never nice, it would be good to fix it in glib too.