| Summary: | Updated package: python3 | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Stig-Ørjan Smelror <smelror> |
| Component: | RPM Packages | Assignee: | QA Team <qa-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | sysadmin-bugs, tarazed25 |
| Version: | 6 | Keywords: | advisory, has_procedure, validated_update |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | MGA6-64-OK MGA6-32-OK | ||
| Source RPM: | CVE: | ||
| Status comment: | |||
|
Description
Stig-Ørjan Smelror
2018-02-23 01:23:07 CET
Advisory ======== Added a patch to fix a whitespace in the command "python3-config --ldflags" that could result in a cmake error CMP0004. Old behavior: $ python3-config --ldflags -L/usr/lib64 -lpython3.5m -lpthread -ldl -lutil -lm -Xlinker -export-dynamic New behavior: $ python3-config --ldflags -L/usr/lib64 -lpython3.5m -lpthread -ldl -lutil -lm -Xlinker -export-dynamic References ========== https://bugs.python.org/issue32914 Files ===== The following files has been uploaded to core/updates_testing: python3-3.5.3-1.2.mga6 libpython3.5-3.5.3-1.2.mga6 libpython3.5-stdlib-3.5.3-1.2.mga6 libpython3.5-testsuite-3.5.3-1.2.mga6 libpython3-devel-3.5.3-1.2.mga6 python3-docs-3.5.3-1.2.mga6 tkinter3-3.5.3-1.2.mga6 tkinter3-apps-3.5.3-1.2.mga6 from python3-3.5.3-1.2.mga6.src.rpm Mageia 6 :: x86_64 Before update: $ python3-config --ldflags " -L/usr/lib64 -lpython3.5m -lpthread -ldl -lutil -lm -Xlinker -export-dynamic" After update: $ python3-config --ldflags "-L/usr/lib64 -lpython3.5m -lpthread -ldl -lutil -lm -Xlinker -export-dynamic" The offending leading space has been removed which in itself is enough to validate the update but since everything presumably has been rebuilt a utility test is in order. Ran a short script which produces a simple interactive gui which works. Just a rubber stamp. CC:
(none) =>
tarazed25 Mageia 6 :: i586 in virtualbox
The before and after test of
$ python3-config --ldflags
returned the same results as the 64-bit tests.
-L/usr/lib -lpython3.5m -lpthread -ldl -lutil -lm -Xlinker -export-dynamic
-L/usr/lib -lpython3.5m -lpthread -ldl -lutil -lm -Xlinker -export-dynamic
combo.py, a mickey-mouse script to exercize python3 and tkinter:
#!/bin/env python3
from tkinter import *
from tkinter import ttk
def calculate ( *args ):
try:
value = float( feet.get( ) )
metres.set( (0.3048 * value * 10000.0 + 0.5) / 10000.0 )
except ValueError:
pass
root = Tk( )
root.title( "Feet to metres" )
mainframe = ttk.Frame( root, padding="3 3 12 12" )
mainframe.grid( column=0, row=0, sticky=(N, W, E, S) )
mainframe.columnconfigure( 0, weight=1 )
mainframe.rowconfigure( 0, weight=1 )
feet = StringVar( )
metres = StringVar( )
value = StringVar( )
values = ttk.Combobox( mainframe, textvariable=feet )
values.grid( column=1, row=1, sticky=W )
values['value'] = ( '1', '2', '5.5', '12.3' )
feet_entry = ttk.Entry( mainframe, width=7, textvariable=feet )
feet_entry.grid( column=2, row=1, sticky=(W, E) )
e = ttk.Label( mainframe, textvariable=metres )
e.grid( column=2, row=2, sticky=(W, E) )
b = ttk.Button( mainframe, text="Calculate", command=calculate )
b.grid( column=2, row=3, sticky=W )
u = ttk.Label( mainframe, text="feet" )
u.grid( column=3, row=1, sticky=W )
v = ttk.Label( mainframe, text="is equivalent to" )
v.grid( column=1, row=2, sticky=E )
z = ttk.Label( mainframe, text="metres" )
z.grid( column=3, row=2, sticky=W )
for child in mainframe.winfo_children( ): child.grid_configure( padx=5, pady=5 )
feet_entry.focus( )
root.bind( '<Return>', calculate )
root.mainloop( )
$ ./combo.py
generates the simple gui for converting feet to metres.
Good for 32 bits.Keywords:
(none) =>
validated_update advisory uploaded. Keywords:
(none) =>
advisory, has_procedure An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2018-0036.html Resolution:
(none) =>
FIXED |