| Bug #101910 | Compiling mysql-shell with Python 3.9.0 fails | ||
|---|---|---|---|
| Submitted: | 8 Dec 2020 12:36 | Modified: | 9 Dec 2020 7:26 |
| Reporter: | Daniël van Eeden (OCA) | Email Updates: | |
| Status: | Duplicate | Impact on me: | |
| Category: | Shell General / Core Client | Severity: | S3 (Non-critical) |
| Version: | 8.0.22 | OS: | Any |
| Assigned to: | CPU Architecture: | Any | |
[9 Dec 2020 4:48]
MySQL Verification Team
Hello Daniël, Thank you for the report and feedback. If you have no objections then I would like to mark it as a duplicate of your contribution in Bug #101913. Moreover, Frederic has confirmed that 8.0.23 doesn't have this problem anymore. I'll try to find the internal bug# which fixed this issue and let you know. Thank you! regards, Umesh
[9 Dec 2020 7:18]
Daniël van Eeden
Yes sounds good to me
[9 Dec 2020 7:26]
MySQL Verification Team
Thank you for confirming, Daniël. Marking this as duplicate of Bug #101913. regards, Umesh

Description: $ make -j1 [ 1%] Copying Python extensions [ 1%] Built target python_extensions [ 8%] Built target shellcore [ 16%] Built target db [ 26%] Built target utils [ 30%] Built target mysql [ 31%] Built target textui [ 33%] Built target config [ 35%] Built target shellcore-minimal [ 37%] Built target mysql-secret-store-api [ 38%] Built target rest [ 42%] Built target storage [ 43%] Built target oci [ 43%] Building CXX object mysqlshdk/scripting/CMakeFiles/scripting.dir/python_array_wrapper.cc.o /home/dvaneeden/dev/mysql-shell/mysqlshdk/scripting/python_array_wrapper.cc:367:1: error: too many initializers for ‘PyTypeObject’ {aka ‘_typeobject’} 367 | }; | ^ make[2]: *** [mysqlshdk/scripting/CMakeFiles/scripting.dir/build.make:225: mysqlshdk/scripting/CMakeFiles/scripting.dir/python_array_wrapper.cc.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:824: mysqlshdk/scripting/CMakeFiles/scripting.dir/all] Error 2 make: *** [Makefile:171: all] Error 2 [dvaneeden@dve-dell bld]$ rpm -q python3-devel python3-devel-3.9.0-1.fc33.x86_64 [dvaneeden@dve-dell bld]$ cat ../VERSION MYSQL_VERSION_MAJOR=8 MYSQL_VERSION_MINOR=0 MYSQL_VERSION_PATCH=22 MYSQL_VERSION_EXTRA= How to repeat: See description Suggested fix: Adjust definiton in mysqlshdk/scripting/python_array_wrapper.cc