-
-
Notifications
You must be signed in to change notification settings - Fork 482
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
Further libffi fixes #27114
Comments
Branch: u/embray/build/ticket-27109 |
Commit: |
Dependencies: #27109 |
comment:4
Since Steven already said this worked, I'm inclined to go ahead and set this to positive review. Though I might like to try on OSX since it doesn't have pkg-config and I'm not 100% sure what it will do in this case (I think it will "fail correctly" but I'm not certain). |
comment:5
Replying to @embray:
I'm fine with this. I too think it should be checked on other distros. |
comment:6
Perhaps we should try to get this in as soon as possible, else there will be Linuxes with system |
comment:8
Is there any reason why the patchbot emmits:
Shouldn't it have |
comment:9
On OSX this "works" okay, or doesn't work as the case may be, in that it (correctly) fails to find I am seeing some other troubling problems failing to detect a system libffi on OSX, but I think whatever that problem is predates this ticket. |
comment:10
I have no idea about the patchbot. It is probably missing some dependency for running autoconf. Maybe this ticket needs a |
Reviewer: Erik Bray |
comment:12
Let's just ask Volker and see. |
comment:14
With apologies for being a bit sloppy about it, here are a couple more fixes I found while testing this on OSX. |
comment:16
just to confirm that libffi's spkg-configure.m4 on this branch works with the pretty non-standard settings on Gentoo, cf. #27175. |
comment:17
However, supporting this properly on Homebrew really needs a call to pkg-config. |
comment:18
Fails ./bootstrap on kucalc (autoconf-2.13), maybe the script could be made more backward compatible?
|
comment:21
Replying to @vbraun:
But the error messages are from a very old autoconf... Are you saying you want a check that autoconf is new enough, and better error messages? |
comment:22
Volker, please clarify: Should this just have a new |
comment:23
Okay, I was able to reproduce in a container. Probably something is missing but I'm not sure what... |
comment:24
I see. These errors indicate that I could put in a fallback so that it works when Alternatively, it might work if I include a copy of |
comment:25
Replying to @embray:
Update: this does work, but it's not ideal. I would rather just have pkg-config installed. |
comment:26
If this dependence is really prebuilt- only, then why not, I see no problem in requiring it along with autotools |
comment:27
I don't mind requiring pkgconfig to actually run autoconf, but having bootstrap error out and not download the confball is not an option ;-) |
comment:28
Please see #27219 to deal with the bootstrap issue. |
Changed reviewer from Erik Bray to Erik Bray, Dima Pasechnik |
comment:30
Erik, are you fine with this? |
This comment has been minimized.
This comment has been minimized.
Changed branch from u/embray/build/ticket-27109 to public/build/better_libffi_config |
comment:31
Yep, per my comment on the other ticket. Thanks! |
Changed branch from public/build/better_libffi_config to |
Changed commit from |
with #27219 done, all it remains is just to fix spkg-configure.m4
Depends on #27109
Depends on #27219
CC: @embray @strogdon
Component: packages: standard
Author: Erik Bray
Branch:
07e5561
Reviewer: Erik Bray, Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/27114
The text was updated successfully, but these errors were encountered: