[Ohrrpgce] Mac app bundles build on Windows crash on Mac
James Paige
Bob at HamsterRepublic.com
Thu Apr 11 07:31:38 PDT 2013
On Thu, Apr 11, 2013 at 10:03:46PM +1200, Ralph Versteegen wrote:
> Popped in to celebrate with us? :)
>
> On 11 April 2013 13:44, James Paige <Bob at hamsterrepublic.com> wrote:
> > Hello, Mike!
> >
> > Actually, maybe we can avoid tar. I know we had reasons in the past, but
> > they might have all evaporated by now. Originally I remember only
> > wanting to use tools likely to be already installed on Linux/Mac, but
> > Windows is the trouble-platform, and we have to bundle/download tools
> > anyway. It is worth thinking over.
>
> I think the two reasons for using tar were to preserve executable file
> bits and to preserve symlinks. Funny enough, tar.exe doesn't do either
> properly.
>
> I looked through the commandline options that 7za supports and saw
> nothing for file attributes or symlinks. So we're seemingly still
> better off using tar.exe, at least for creating tars. Which maybe we
> don't want to do.
What I would really love to do is create a .dmg file but I have never
seen a command-line tool to do that on Windows.
> >> Or, alternately the tar format doesn't seem that complicated. Maybe a
> >> highly specialized version is in order?
> >
> > These sound like the words of a man who hasn't read any tar file format
> > docs... or maybe I should say those sound like the words *I* spoke
> > before I had read any tar file format docs :)
>
> Yes, just look at what happened to tar.exe when it tried to read BSD
> tar files! This is an ancient file format seemingly with some weird
> quirks.
>
> > ---
> > James
> >
> > On Wed, Apr 10, 2013 at 08:22:24PM -0400, Mike Caron wrote:
> >> Hi guys, long time no see.
> >> Is there some reason you're still using tar? Wouldn't it be easier to just
> >> bundle 7zip or something? I understand that it supports tar. Probably a
> >> few other formats too. You can obtain the console version here.
> >> Or, alternately the tar format doesn't seem that complicated. Maybe a
> >> highly specialized version is in order?
> >>
> >> On Wed, Apr 10, 2013 at 1:29 PM, James Paige <Bob at hamsterrepublic.com>
> >> wrote:
> >>
> >> On Wed, Apr 10, 2013 at 09:52:23AM -0700, James Paige wrote:
> >> > I was almost finished releasing beelzebufo, when I was puzzled and
> >> > displayed to discover that Mac App game bundles build on Windows do
> >> not
> >> > work. If you build them on mac, they work fine.
> >> >
> >> > Here is the crash message:
> >> >
> >> > http://pastebin.com/jhu5H4b8
> >> >
> >> > It looks like the problem has something to do with the SDL framework,
> >> > but I don't understand how this would fail on windows because there
> >> are
> >> > no more symlinks.
> >>
> >> "dismayed" not "displayed"
> >>
> >> I took the working app build on a Mac and compared it to the broken app
> >> built on Windows. I discovered that
> >> Contents/FrameWorks/SDL_mixer.framework/Versions/A/Frameworks/mikmod.framework
> >> is empty in the broken app.
> >>
> >> I tested tar.exe from the command line, and discovered that when it
> >> unpacks ohrrpgce-mac.minimal.tar it incorrectly unpacks several of the
> >> subfolders into the current directory, instead of where they belong
> >> under the OHRRPGCE-Game.app folder heirarchy.
> >>
> >> So the short answer is that this bug is, yet again, another instance of
> >> the windows port of tar.exe being a worthless piece of crap :(
> >> ---
> >> James
> >> _______________________________________________
> >> Ohrrpgce mailing list
> >> ohrrpgce at lists.motherhamster.org
> >> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
> >>
> >> --
> >> Mike Caron
> >
> >> _______________________________________________
> >> Ohrrpgce mailing list
> >> ohrrpgce at lists.motherhamster.org
> >> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
> >
> > _______________________________________________
> > Ohrrpgce mailing list
> > ohrrpgce at lists.motherhamster.org
> > http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
> _______________________________________________
> Ohrrpgce mailing list
> ohrrpgce at lists.motherhamster.org
> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>
More information about the Ohrrpgce
mailing list