[New-bugs-announce] [issue33619] libffi detection via pkg-config is broken
Chih-Hsuan Yen
report at bugs.python.org
Wed May 23 12:34:24 EDT 2018
New submission from Chih-Hsuan Yen <yan16037741 at hotmail.com.tw>:
The cause is that ./configure contains unexpanded m4 macro PKG_PROG_PKG_CONFIG:
https://github.com/python/cpython/blob/3055c94/configure#L9909
For unknown reasons, after GH-6850 the PKG_PROG_PKG_CONFIG macro is removed from aclocal.m4, and thus the macro is kept unexpanded in ./configure. As a result, $PKG_CONFIG is not correctly set, libffi can't be detected and thus _ctypes fails to build.
Run autoreconf again fixes the issue on my machine. I have pkg-config 0.29.2-1, autoconf 2.69-4 and automake 1.15.1-1 on Arch Linux.
cc the author of GH-6850
----------
components: Build
messages: 317424
nosy: benjamin.peterson, yan12125
priority: normal
severity: normal
status: open
title: libffi detection via pkg-config is broken
type: compile error
versions: Python 3.8
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33619>
_______________________________________
More information about the New-bugs-announce
mailing list