Re: Apple ARM binary codesign issue

2020-09-25 Thread Ryan Schmidt
On Sep 25, 2020, at 10:31, Michael Dickens wrote: > 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 t

ghc link dyld error: initializer in image does not link with libSystem.dylib

2020-09-25 Thread Steven Smith
We’re trying to upgrade the ghc port to compile and link with MacPorts’s libiconv (at long last). The good news is that there are configure directives for this that work! The bad news is that their inclusion creates another link error: > dyld: initializer in image (/usr/lib/libc++.1.dylib) that

Re: Apple ARM binary codesign issue

2020-09-25 Thread Michael Dickens
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

Re: Apple ARM binary codesign issue

2020-09-25 Thread Ken Cunningham
> On Sep 25, 2020, at 7:55 AM, Michael Dickens 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!

Re: Apple ARM binary codesign issue

2020-09-25 Thread Michael Dickens
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 to

Re: Apple ARM binary codesign issue

2020-09-25 Thread Ken Cunningham
Would it not be easier to add that codesign line in the existing script that the cctools port writes to wrap those tools for the +xcode variant of cctools, perhaps? (well, NB cctools is not presently wrapping install_name_tool for the +xcode variant, but that looks like an oversight trivially f

Re: Apple ARM binary codesign issue

2020-09-25 Thread Michael Dickens
Let's try this again from my MP email so that it gets to lists ... sorry for duplicate emails! I've finally gotten to the point of working out a hack solution. One can -not- modify '/usr/bin' without a lot of effort. But, one can modify '/Applications/Xcode[-beta].app/Contents/Developer/Toolcha