Skip to content
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

fix spkg-configure.m4 for libffi #27175

Closed
dimpase opened this issue Jan 30, 2019 · 2 comments
Closed

fix spkg-configure.m4 for libffi #27175

dimpase opened this issue Jan 30, 2019 · 2 comments

Comments

@dimpase
Copy link
Member

dimpase commented Jan 30, 2019

libffi upstream hides headers behind ABI-specific directories. On gentoo this leads to failing ./configure checks for ffi.h, as
autoconf by itself is not aware of it.
See e.g. https://bugs.gentoo.org/643582
for details. A fix would be to call
pkg-config in case of failing checks for the header:

$ pkg-config --cflags libffi
-I/usr/lib64/libffi-3.3_rc0/include

More precisely, the right PKG_... autoconf macro.

On the other hand, this might be a gcc gentoo bug, as on Debian the location is still not /usr/include, but something including x86_64 in its name, yet the compiler finds the header just fine.

CC: @jdemeyer @embray

Component: packages: standard

Reviewer: Erik Bray

Issue created by migration from https://trac.sagemath.org/ticket/27175

@dimpase dimpase added this to the sage-8.7 milestone Jan 30, 2019
@embray
Copy link
Contributor

embray commented Jan 31, 2019

comment:1

This is already handled by #27114.

@embray
Copy link
Contributor

embray commented Jan 31, 2019

Reviewer: Erik Bray

@embray embray removed this from the sage-8.7 milestone Jan 31, 2019
@embray embray closed this as completed Jan 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants