[Debian GNUstep maintainers] Bug#593898: gnustep-back-common: Fails to upgrade in postinst script

Axel Beckert abe at debian.org
Sun Aug 22 14:57:57 UTC 2010


Hi,

Yavor Doganov wrote:
> 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

Modified it a little bit so that it stops when it fails:

!539 Z32 ?0 L1 abe at metisse:ttyp6 (-su) 16:50:58 [/tmp] > i=0; while test $i -eq 0; do for d in `expr $((d + 1))`; do ./obj/test `seq $d`; i=$?; done; done
Arguments given: 3
Arguments given: 4
Arguments given: 5
Arguments given: 6
Arguments given: 7
Arguments given: 8
[...]
Arguments given: 508
Arguments given: 509
Arguments given: 510
Arguments given: 511
Arguments given: 512
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
should report the bug to the maintainer of libkvm on your operating system.

> 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).

Seems so.

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe at debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
  `-    |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5





More information about the pkg-GNUstep-maintainers mailing list