reassign libgnustep-base1.20 1.20.1-2 retitle 593898 [kfreebsd] NSProcessInfo fails to obtain argument vectors affects 593898 gnustep-back-common thanks
Thanks, it is clear where the error lies: > Error: libkvm does not return arguments for the current process > this may be due to a bug (undocumented feature) in libkvm > which fails to get arguments unless /proc is mounted. > If so, you can mount the /proc filesystem or reconfigure/build > gnustep-base with --enable-fake-main as a workaround, and Configuring with --enable-fake-main should not be necessary on GNU/kFreeBSD, because libkvm is supposed to do its job, obtaining the process arguments as expected. --enable-fake-main is a last resort, for platforms where this information cannot be gathered. > should report the bug to the maintainer of libkvm on your operating > system. For now, I am hesitating to reassign, because that may be a bug in gnustep-base in its [HAVE_KVM_ENV] code. Can you compile (just `make', you need libgnustep-base-dev) and run the attached test program this way: while true; do for d in `expr $((d + 1))`; do ./obj/test `seq $d`; done; done Obviously, NSProcessInfo + libkvm works in the usual scenario (few arguments), otherwise many GNUstep packages would FTBFS on GNU/kFreeBSD (the build process invokes programs like pl2link with arguments).
test.m
Description: Binary data
GNUmakefile
Description: Binary data