| Summary: | python3 64bit installation is broken | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Kamil Rytarowski <n54> |
| Component: | RPM Packages | Assignee: | QA Team <qa-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | critical | ||
| Priority: | release_blocker | CC: | sysadmin-bugs, tmb, warrendiogenese |
| Version: | 2 | Keywords: | validated_update |
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | mga2-64-OK, mga2-32-OK | ||
| Source RPM: | python3 | CVE: | |
| Status comment: | |||
| Bug Depends on: | 6702 | ||
| Bug Blocks: | |||
|
Kamil Rytarowski
2012-07-02 20:08:41 CEST
Priority:
Normal =>
release_blocker I'm on it. Fixed in Cauldron. Suggested advisory:
========================
Updated Python3 package fixes X86_64 build.
64 bit installation was partly broken. A simple way to see an error was to type:
python3 -c "import distutils.sysconfig;print(distutils.sysconfig.get_config_vars('LDFLAGS'))"
This update uses patches from Fedora.
========================
Updated packages in core/updates_testing:
========================
noarch:
python3-docs-3.2.3-1.mga3.noarch.rpm
i586:
libpython3.2-3.2.3-1.1.mga2.i586.rpm
python3-3.2.3-1.1.mga2.i586.rpm
tkinter3-3.2.3-1.1.mga2.i586.rpm
libpython3-devel-3.2.3-1.1.mga2.i586.rpm
python3-debug-3.2.3-1.1.mga2.i586.rpm
kinter3-apps-3.2.3-1.1.mga2.i586.rpm
x86_64:
lib64python3.2-3.2.3-1.1.mga2.x86_64.rpm
python3-3.2.3-1.1.mga2.x86_64.rpm
tkinter3-3.2.3-1.1.mga2.x86_64.rpm
lib64python3-devel-3.2.3-1.1.mga2.x86_64.rpm
python3-debug-3.2.3-1.1.mga2.x86_64.rpm
kinter3-apps-3.2.3-1.1.mga2.x86_64.rpm
Source RPM:
python3-3.2.3-1.1.mga2.src.rpm
Kamil Rytarowski
2012-07-03 21:27:43 CEST
Assignee:
bugsquad =>
qa-bugs Testing on mga2 x86_64 and mga2 i586 (since listed in advisory) Before update, output was the same as in the bug description above for x86_64. Before and after for mga2 i586 and after update for x86_64, output was: ['-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags'] Testing complete for mga2 i586 & x86_64. CC:
(none) =>
fcs ------------------------------------------------------------------------------- Update validated. Thanks. ------------------------------------------------------------------------------- Advisory Listed in comment 3 -------------- SRPM: python3-3.2.3-1.1.mga2.src.rpm Could sysadmin please push from core/updates_testing to core/updates. Thank you! -------------------------------------------------------------------------------- CC:
(none) =>
sysadmin-bugs please don't push the updates, see new bug 6704 we can mix the two advisory and close the bugs in the same time. Depends on:
(none) =>
6702 ignoring comment 6 as it points to a hplip bug update pushed: https://wiki.mageia.org/en/Support/Advisories/MGAA-2012-0114 Status:
NEW =>
RESOLVED |
Description of problem: Python3 x86_64 version is broken and not usable. Python3 installs files into /usr/lib64 directory, and some libraries are looking for files in /usr/lib. This is producing error tracebacks. This bug is present in Mga2 and Mga3 (Cauldron) - for Cauldron this is release blocker - because without it, there isn't possible to introduce missing libraries. Input Command (one-liner): python3 -c "import distutils.sysconfig;print(distutils.sysconfig.get_config_vars('LDFLAGS'))" And the result =================== Traceback (most recent call last): File "/usr/lib64/python3.2/distutils/sysconfig.py", line 435, in _init_posix parse_makefile(filename, g) File "/usr/lib64/python3.2/distutils/sysconfig.py", line 304, in parse_makefile fp = TextFile(fn, strip_comments=1, skip_blanks=1, join_lines=1, errors="surrogateescape") File "/usr/lib64/python3.2/distutils/text_file.py", line 100, in __init__ self.open(filename) File "/usr/lib64/python3.2/distutils/text_file.py", line 115, in open self.file = io.open(self.filename, 'r', errors=self.errors) IOError: [Errno 2] No such file or directory: '/usr/lib/python3.2/config-3.2mu/Makefile' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib64/python3.2/distutils/sysconfig.py", line 526, in get_config_vars func() File "/usr/lib64/python3.2/distutils/sysconfig.py", line 441, in _init_posix raise DistutilsPlatformError(my_msg) distutils.errors.DistutilsPlatformError: invalid Python installation: unable to open /usr/lib/python3.2/config-3.2mu/Makefile (No such file or directory) ============== Version-Release number of selected component (if applicable): python3.2-3.2.3-1 How reproducible: Always Steps to Reproduce: 1. Install python3 and python3-devel (don't install 32bit packages concurrently!) in 64bit environment 2. Consult a result of: python3 -c "import distutils.sysconfig;print(distutils.sysconfig.get_config_vars('LDFLAGS'))"