[issue42307] make install must not copy python.o into $prefix/lib/python3.10/config-3.10-x86_64-linux-gnu/

STINNER Victor report at bugs.python.org
Tue Nov 10 05:49:40 EST 2020


New submission from STINNER Victor <vstinner at python.org>:

Commands reproduce the issue:

cd /path/to/python/source/
./configure --prefix /opt/pymaster CFLAGS="-O0"
make
make install

make install copies python.o:

$ find /opt/pymaster/ -name "*.o"
/opt/pymaster/lib/python3.10/config-3.10-x86_64-linux-gnu/python.o

This file is useless and must not be installed by make install.

The issue was first discovered in Fedora:
https://bugzilla.redhat.com/show_bug.cgi?id=1894462

----------
components: Build
messages: 380650
nosy: vstinner
priority: normal
severity: normal
status: open
title: make install must not copy python.o into $prefix/lib/python3.10/config-3.10-x86_64-linux-gnu/
versions: Python 3.10

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42307>
_______________________________________


More information about the Python-bugs-list mailing list