Bug 225673 - unable to configure devel/py-setuptools on raspberry pi model B arm6
Summary: unable to configure devel/py-setuptools on raspberry pi model B arm6
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: arm Any
: --- Affects Only Me
Assignee: freebsd-python mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-04 22:35 UTC by Battant
Modified: 2019-08-12 19:28 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Battant 2018-02-04 22:35:17 UTC
Hello,

I  compiled successfully Python-2.7.14/ success with thees configure options.


./configure --build=armv6-unknown-freebsd12.0 --target=armv6-unknown-freebsd12.0 --enable-shared --enable-optimizations --enable-profiling --enable-unicode=ucs4

now I would like run make I get the follow error

# make

make
===>   py27-setuptools-38.2.5 depends on file: /usr/local/bin/python2.7 - found
===>  Configuring for py27-setuptools-38.2.5
Traceback (most recent call last):
  File "setup.py", line 11, in <module>
    import setuptools
RuntimeError: not holding the import lock
Exception KeyError: KeyError(548053248,) in <module 'threading' from '/usr/local/lib/python2.7/threading.pyc'> ignored
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/py-setuptools

===>  License MIT accepted by the user
===>   py27-setuptools-38.2.5 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by py27-setuptools-38.2.5 for building
===>  Extracting for py27-setuptools-38.2.5
=> SHA256 Checksum OK for python/setuptools-38.2.5.zip.
===>  Patching for py27-setuptools-38.2.5
===>   py27-setuptools-38.2.5 depends on file: /usr/local/bin/python2.7 - found
===>  Configuring for py27-setuptools-38.2.5
Traceback (most recent call last):
  File "setup.py", line 11, in <module>
    import setuptools
RuntimeError: not holding the import lock
Exception KeyError: KeyError(552558848,) in <module 'threading' from '/usr/local/lib/python2.7/threading.pyc'> ignored
*** Error code 1


My configuration 

Rasèbery pi model B arm6

uname -a
FreeBSD raspberry-pi 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r312343: Tue Jan 17 08:00:38 MST 2017     brd@hive.raspbsd.org:/usr/local/raspbsd/obj/RPI-B/obj/arm.armv6/usr/local/raspbsd/src/common/sys/RPI-B  arm

Could you help me please to fix this issue

Best regards

Battant
Comment 1 Walter Schwarzenfeld freebsd_triage 2019-08-12 19:28:58 UTC
Are there still problems (now version 41.0.1) or can we close here?