Created attachment 10971 [details] patch for bzrlib/lazy_regex.py Per this upstream bug report https://bugs.launchpad.net/bzr/+bug/1644003, a change in python2 makes bzr 2.7.0 fail with commands such as 'bzr commit'. This happened to me this morning, probably because python2 RPMs have been updated in Mageia 6 recently: Source RPM : python-2.7.15-1.3.mga6.src.rpm Build Date : mar 09 avr 2019 07:57:08 CEST bzr was working fine before. The patch proposed in the upstream bug fixes the problem on Mageia 6: https://bazaar.launchpad.net/~bzr-pqm/bzr/2.7/revision/6621 https://bazaar.launchpad.net/~bzr-pqm/bzr/2.7/revision/6622 I merged the relevant changes in bzrlib/lazy_regex.py in a single patch attached to this bug report. Could you please apply this patch to Mageia 6? I guess Mageia 7 is affected too.
Done for mga6 and Cauldron too! Thanks Frédéric!
CC: (none) => geiger.david68210
Works fine (tested on Mageia 6). Thanks! :)
Assigning to QA, Advisory: ======================== Since some change in python 2.7.13 and later bzr doesn't work properly anymore. e.g: it fails with commands such as 'bzr commit' So this update fixes this issue. ======================== Packages in 6/core/updates_testing: ======================== bzr-2.7.0-1.3.mga6.i586.rpm bzr-2.7.0-1.3.mga6.x86_64.rpm Source RPM: ======================== bzr-2.7.0-1.3.mga6.src.rpm
Assignee: bugsquad => qa-bugs
Installed and tested without issues. System: Mageia 6, x86_64, Intel CPU. Tested commands: init, whoami, commit, status, add, mv, diff, check, log. $ uname -a Linux marte 4.14.106-desktop-1.mga6 #1 SMP Thu Mar 14 18:01:29 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux $ rpm -q bzr bzr-2.7.0-1.3.mga6 $ bzr init test Criou um standalone tree (formato: 2a) $ cd test/ $ bzr whoami "test <test@example.com>" $ echo "test 1 2 3\n" >> test.txt $ bzr status unknown: test.txt $ bzr add adding test.txt $ bzr commit -m "test" Submetendo to: /tmp/test/ adicionado test.txt Revisão submetida 1. $ bzr log ------------------------------------------------------------ revno: 1 committer: test <test@example.com> branch nick: test timestamp: Sun 2019-04-28 10:13:52 +0100 message: test $ bzr check Verificando árvore de trabalho em '/tmp/test'. Verificando ramo em 'file:///tmp/test/'. Verificando repositório em 'file:///tmp/test/'. verificando repositório file:///tmp/test/ formato RepositoryFormat2a() 1 versões 2 ids dos arquivos verificado o ramo file:///tmp/test/ formato Branch format 7 $ bzr status $ echo "test 1 2 3\n" >> test.txt $ bzr status modified: test.txt $ bzr diff === modified file 'test.txt' --- test.txt 2019-04-28 09:13:52 +0000 +++ test.txt 2019-04-28 09:14:51 +0000 @@ -1,1 +1,2 @@ test 1 2 3\n +test 1 2 3\n $ bzr commit -m "test 2" Submetendo to: /tmp/test/ modificado test.txt Revisão submetida 2. $ bzr log ------------------------------------------------------------ revno: 2 committer: test <test@example.com> branch nick: test timestamp: Sun 2019-04-28 10:15:08 +0100 message: test 2 ------------------------------------------------------------ revno: 1 committer: test <test@example.com> branch nick: test timestamp: Sun 2019-04-28 10:13:52 +0100 message: test $ bzr mv test.txt .bzr/ test.txt $ bzr mv test.txt test2.txt test.txt => test2.txt $ bzr commit -m "test 3" Submetendo to: /tmp/test/ renomeado test.txt => test2.txt Revisão submetida 3. $ bzr log ------------------------------------------------------------ revno: 3 committer: test <test@example.com> branch nick: test timestamp: Sun 2019-04-28 10:18:16 +0100 message: test 3 ------------------------------------------------------------ revno: 2 committer: test <test@example.com> branch nick: test timestamp: Sun 2019-04-28 10:15:08 +0100 message: test 2 ------------------------------------------------------------ revno: 1 committer: test <test@example.com> branch nick: test timestamp: Sun 2019-04-28 10:13:52 +0100 message: test
CC: (none) => mageiaWhiteboard: (none) => MGA6-64-OK
Validating. Advisory in Comment 3.
Keywords: (none) => validated_updateCC: (none) => andrewsfarm, sysadmin-bugs
Keywords: (none) => advisoryCC: (none) => tmb
An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2019-0033.html
Resolution: (none) => FIXEDStatus: NEW => RESOLVED