Opened 4 years ago

Closed 4 years ago

#27175 closed defect (duplicate)

fix spkg-configure.m4 for libffi

Reported by: Dima Pasechnik Owned by:
Priority: minor Milestone: sage-duplicate/invalid/wontfix
Component: packages: standard Keywords:
Cc: Jeroen Demeyer, Erik Bray Merged in:
Authors: Reviewers: Erik Bray
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges


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. for details. A fix would be to call pkg-config in case of failing checks for the header:

$ pkg-config --cflags libffi

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.

Change History (1)

comment:1 Changed 4 years ago by Erik Bray

Milestone: sage-8.7sage-duplicate/invalid/wontfix
Resolution: duplicate
Reviewers: Erik Bray
Status: newclosed

This is already handled by #27114.

Note: See TracTickets for help on using tickets.