Bug#544356: Fails to initialize on kfreebsd (was: neverball: fails to start on kFreeBSD)
Jordà Polo
jorda at ettin.org
Sun Sep 20 08:05:24 UTC 2009
reassign 544356 libphysfs 2.0.0-3
retitle 544356 Fails to initialize on kfreebsd
thanks
On Fri, Sep 11, 2009 at 11:01:38PM +0200, Jordà Polo wrote:
> Jānis Rūcis (parasti), Neverball developer, told me at on IRC:
>
> «running a small test program on a kFreeBSD live CD gives "no such
> file or directory" as the error when physfs init fails (i.e., running
> from PATH not with relative/absolute name); readlink /proc/self/exe
> prints out "unknown"»
>
> I'm still not able to reproduce it, but wanted to keep you updated.
I have finally been able to reproduce the problem using an up-to-date
kfreebsd, and can confirm it is a bug in libphysfs and not in neverball.
PHYSFS_init() fails to guess the path of the binary on kfreebsd.
To reproduce it, compile the attached code (gcc physfs-init.c -lphysfs)
and invoke it as follows:
$ ./a.out
ok
$ PATH=$(pwd):$PATH a.out
not ok: No such file or directory
I'm now reassigning this bug to libphysfs.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: physfs-init.c
Type: text/x-csrc
Size: 177 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20090920/bd0795be/attachment.c>
More information about the Pkg-games-devel
mailing list