[New-bugs-announce] [issue46438] Static linking _decimal module breaks test_freeze
Steve Dower
report at bugs.python.org
Wed Jan 19 15:35:21 EST 2022
New submission from Steve Dower <steve.dower at python.org>:
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
----------
components: Build
messages: 410978
nosy: steve.dower
priority: normal
severity: normal
status: open
title: Static linking _decimal module breaks test_freeze
versions: Python 3.11
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46438>
_______________________________________
More information about the New-bugs-announce
mailing list