This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Static linking _decimal module breaks test_freeze
Type: Stage:
Components: Build Versions: Python 3.11
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: steve.dower
Priority: normal Keywords:

Created on 2022-01-19 20:35 by steve.dower, last changed 2022-04-11 14:59 by admin.

Messages (1)
msg410978 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2022-01-19 20:35
After applying this patch on Linux, test_freeze_simple_script (test.test_tools.test_freeze.TestFreeze) fails.

diff --git a/Modules/Setup b/Modules/Setup
index d3647ecb99..c41bcac453 100644
--- a/Modules/Setup
+++ b/Modules/Setup
@@ -135,7 +135,7 @@ PYTHONPATH=$(COREPYTHONPATH)
 #_contextvars _contextvarsmodule.c
 #_csv _csv.c
 #_datetime _datetimemodule.c
-#_decimal _decimal/_decimal.c
+_decimal _decimal/_decimal.c
 #_heapq _heapqmodule.c
 #_json _json.c
 #_lsprof _lsprof.c rotatingtree.c


The stderr from the test is below. The rest of the output looks normal to me, but most of the build output is missing.

--- STDERR ---
gcc: error: Modules/_decimal/libmpdec/libmpdec.a: No such file or directory
make: *** [Makefile:976: app] Error 1
History
Date User Action Args
2022-04-11 14:59:54adminsetgithub: 90596
2022-01-19 20:35:21steve.dowercreate