Apple ARM binary codesign issue
Michael Dickens
michaelld at macports.org
Fri Sep 25 15:31:50 UTC 2020
Install scripts are calling ‘install -s’ which in turn calls ‘strip’.
After fighting with my hacks for a while I do think the best option is the very-final-destroot as mentioned.
I’d appreciate any advice on where and how to add this in MacPorts installed files ... I’m not an expert in macports-base.
Thx! - MLD
On Fri, Sep 25, 2020, at 11:04 AM, Ken Cunningham wrote:
>
>
> > On Sep 25, 2020, at 7:55 AM, Michael Dickens <michaelld at macports.org> wrote:
> >
> > Also: many build scripts call /usr/bin/strip directly or xcrun strip ... so that would bypass our MP efforts ... we'd have to patch up all of those ports to coerce them into running the MP strip ... that seems like a lot of work! Maybe there's a way around that? I'm not thinking of it off the top of my head. - MLD
> >
>
> Yeah, build scripts should not be calling /usr/bin/strip directly, and
> in the end, then will all eventually need fixing. I often have to fix
> things like that to make builds use the newer cctools on older systems.
>
> I haven’t explored what "xcrun —find” does re: finding our cctools port
> as yet...
>
> I actually thought Josh’s (or was it your) idea to run a codesign fixup
> step in base after the build was done sounded like the best idea to me,
> but there are probably ports that do something funky in “post-destroot”
> or somewhere that would show up warts.
>
> Ken
>
>
More information about the macports-dev
mailing list