-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nettle7 fix for Apple Silicon #952
Comments
so does nettle8 and libid3tag. I can't get my GitHub version to sync with the master and submit a PR. But these additions fix all three packages to build on Apple Silicon. |
nettle7 works fine on Apple Silicon, I even built gnutls3 with it just fine. Not saying we shouldn't update, but it's not required to support Apple Silicon is all. Trying to fix db53 and db60 for Apple Silicon is way more important IMHO cause of the depth of depends is has and it's all Mutex issues. |
It did not build for me on Apple Silicon. Both nettle7 and nettle8 failed until I edited the dot-info files. They were complaining about an unknown architecture. What updated config.guess? Is that autoconf? Do you have a different version of autoconf than I do? I can't think of what the difference would be. Since UpdateConfigGuess: True worked for builiding the libid3tags package when it complained about an architecture problem I tried it with the nettle series. |
you have to be using my PR and make sure it's up to date. UpdateConfigGuess is a fink info file param, it updates the config.guess and config.sub commands in the build so that it returns aarch64-apple-darwin22.x That's the only change I made the nettle7 and it works perfectly. |
@nieder are you okay if I commit this? My M2 is in today and I'd like to be able to install |
@nieder I'm not sure if you had time to look at this, but I'd really like to add it today, as I want to get python27 updated so I can switch to my new laptop which I can't do without gnupg2 and git for commits ;) |
Sorry about the delay. If I add
and many more like it. |
Would running |
Well that sucks, I assume the old fink update.guess is too old?? I can't test now till Monday, which really sucks cause I really wanted to get my new system setup for Monday :( |
Identifies as
to ConfigureParams works without any further changes |
sadly as ugly as it is, it might be the best option |
I'm OK with an arm64 conditional like that added to %c and whatever string is needed to satisfy it. Don't put it as the last line of ConfigureParams because it'll break |
Build failure on x86_64:
Looks like some of the |
well that sucks, I don't have x86 anymore to test on and I assumed it was tested, that is on me, I'll come up with a proper fix cause this has been used more then once, seems the space is braking the parser :. Back it needs to be quoted? |
An option is to use a variable in %c, the populate the variable in CompileScript.
|
OK, that lets x86_64 build again, and a simple test suggests that it will get passed correctly on arm64 |
oh that's a neat way, have you tested that? I'll give it a shot! |
Confirmed it works on arm, I'll swap it and go through all the others I did over this week like that. Thanks @nieder |
Or just put it in quotes...
|
Just needs
UpdateConfigGuess: true
That's all.
The text was updated successfully, but these errors were encountered: