What about Python v2.7? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to python2.7 in Ubuntu. https://bugs.launchpad.net/bugs/1691848
Title: Python not compiled with -fexceptions in ppc64le Status in python2.7 package in Ubuntu: New Status in python3.6 package in Ubuntu: Fix Released Bug description: Pytorch (https://github.com/pytorch/pytorch) is an application that is written in python, C and C++. There's high interoperalibity between code written in these languages therex. The issue is that there are cases when an exception is thrown by C++ code that subsequentely calls some C code before being caught. In ppc64le builds, without the -fexceptions gcc flag, such exceptions are not caught when the execution returns to C++ code from C code. This makes some Pytorch tests fail. Compiling CPython with -fexceptions seems to solve this issue. This was also reported to Debian: https://bugs.debian.org/cgi- bin/bugreport.cgi?bug=862925 ProblemType: Bug DistroRelease: Ubuntu 17.04 Package: python2.7 2.7.13-2 ProcVersionSignature: Ubuntu 4.10.0-19.21-generic 4.10.8 Uname: Linux 4.10.0-19-generic ppc64le .var.log.platform: Error: [Errno 13] Permission denied: '/var/log/platform' ApportVersion: 2.20.4-0ubuntu4 Architecture: ppc64el Date: Thu May 18 15:35:54 2017 InstallationDate: Installed on 2015-11-05 (560 days ago) InstallationMedia: Ubuntu-Server 15.04 "Vivid Vervet" - Release ppc64el (20150422) JournalErrors: Error: command ['journalctl', '-b', '--priority=warning', '--lines=1000'] failed with exit code 1: Hint: You are currently not seeing messages from other users and the system. Users in the 'systemd-journal' group can see all messages. Pass -q to turn off this notice. No journal files were opened due to insufficient permissions. ProcLoadAvg: 0.07 0.33 0.43 1/348 20166 ProcSwaps: Filename Type Size Used Priority ProcVersion: Linux version 4.10.0-19-generic (buildd@bos01-ppc64el-009) (gcc version 6.3.0 20170321 (Ubuntu 6.3.0-10ubuntu1) ) #21-Ubuntu SMP Thu Apr 6 17:03:05 UTC 2017 SourcePackage: python2.7 UpgradeStatus: Upgraded to zesty on 2017-04-17 (30 days ago) cpu_cores: Number of cores present = 2 cpu_coreson: Number of cores online = 2 cpu_smt: SMT=8 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/1691848/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp