Tuesday, April 13, 2021

Re: games/supertux startup error

stu@spacehopper.org (Stuart Henderson), 2021.04.13 (Tue) 20:05 (CEST):
> On 2021/04/13 19:55, Marcus MERIGHI wrote:
> > stu@spacehopper.org (Stuart Henderson), 2021.04.13 (Tue) 18:40 (CEST):
> > > On 2021/04/13 18:28, Marcus MERIGHI wrote:
> > > > Hello!
> > > >
> > > > After pkg_add'ing games/supertux and starting it I get:
> > > >
> > > > $ supertux2
> > > > [FATAL]
> > > > /usr/obj/ports/supertux-0.6.0/SuperTux-v0.6.0-Source/src/supertux/main.cpp:601
> > > > Unexpected exception: boost::filesystem::status: Permission denied:
> > > > "/usr/obj/ports/supertux-0.6.0/SuperTux-v0.6.0-Source/data/credits.stxt"
> > > >
> > > > Do I miss something? Or have I found a breakage?
> > > >
> > > > Marcus
> > > >
> > >
> > > Looks like PREFIX in games/supertux/patches/patch-src_supertux_main_cpp
> > > should really be TRUEPREFIX.
> > >
> > > Here's a diff but I can't check if it fixes things because I don't hit
> > > this error, just an immediate segfault at startup (backtrace for that
> > > below).
> >
> > I applied your patch, ran "make", but "make package" complains:
> >
> > ===> Building package for supertux-0.6.0p3
> > Create /usr/ports/packages/amd64/all/supertux-0.6.0p3.tgz
> > Error: Libraries in packing-lists in the ports tree
> > --W curl.26.8
> > +-W curl.26.9
> >
> > Installed latest snapshot, ran pkg_add -u -Dsnap, but yet:
> > --W curl.26.8
> > +-W curl.26.9
> >
> > Giving up for tonight, xonotic works :-)
> >
> > Thanks for the (almost instant) patch!
> >
> > Marcus
> >
>
> make PKG_CREATE_NO_CHECKS=Yes package

Thanks! Built, installed; now I've cought up with you:

$ supertux2
Segmentation fault (core dumped)

For a second I see a new, empty window appear.

Marcus

No comments:

Post a Comment