[issue2551169] setup.py enters endless loop on gentoo linux python2 installation

Marcus Priesch <[email protected]> Tue, 09 Nov 2021 16:34:47 +0000
Newsgroups gmane.comp.bug-tracking.roundup.devel
Message-ID <[email protected]>
New submission from Marcus Priesch:

steps to reproduce: 

virtualenv -p 2 ve2
source ve2/bin/activate
pip install roundup -> process hangs at 100% cpu
wget https://files.pythonhosted.org/packages/80/6d/3ccdd66551bb89b90758add63b8814b516d7471348675aa564aab032341f/roundup-2.1.0.tar.gz 
tar -xzvf roundup-2.1.0.tar.gz 
cd roundup-2.1.0
python setup.py install -> process hangs at 100% cpu

debugging yields that get_path('platlib') contains "lib64" instead of "lib" which is searched for in line 94 of setup.py

attached patch corrects this by using .startswith ("lib") which should be sufficient for all archs ?

regards,
marcus.

----------
components: Installation
files: setup_py.patch
keywords: patch
messages: 7362
nosy: marcus.priesch
severity: normal
status: new
title: setup.py enters endless loop on gentoo linux python2 installation
type: crash
versions: 2.1.0

_________________________________________________
Roundup tracker <[email protected]>
<https://issues.roundup-tracker.org/issue2551169>
_________________________________________________