Summary: | dev-python/simpleparse-2.1.1: tests segfault | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mgorny, treecleaner |
Priority: | Normal | Keywords: | PMASKED |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://tinderboxlogs.s3.amazonaws.com/tbhs64.excelsior.flameeyes.eu/dev-python%3Asimpleparse-2.1.1%3A20130128-182745.html | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Deadline: | 2018-05-22 | ||
Attachments: | simpleparse-2.2.0-r3.ebuild |
Description
Diego Elio Pettenò (RETIRED)
2013-01-30 15:59:16 UTC
FEATURES="userpriv test usersandbox multilib-strict collision-protect .... archtester simpleparse # emerge simpleparse * IMPORTANT: 14 news items need reading for repository 'gentoo'. * Use eselect news to read news items. Calculating dependencies... done! >>> Verifying ebuild manifests >>> Emerging (1 of 1) dev-python/simpleparse-2.1.1 >>> Installing (1 of 1) dev-python/simpleparse-2.1.1 archtester simpleparse # ebuild simpleparse-2.1.1.ebuild clean test >>> Source compiled. * Testing of dev-python/simpleparse-2.1.1 with CPython 2.7... None : Word : '[' : jne=+0 : je=+1 'CHARBRACE' : Word : ']' : jne=+1 : je=+1 'CHARDASH' : Word : '-' : jne=+1 : je=+1 None : SubTable : <table> : jne=+2 : je=+1 None : EOF : 1 : jne=-1 : je=+1 'CHARDASH' : Word : '-' : jne=+1 : je=+1 None : Word : ']' : jne=+0 : je=+1 ............................................................................... Ran 442 tests in 2.462s OK testuser@archtester ~/cvsPortage/gentoo-x86/dev-python/simpleparse $ ebuild simpleparse-2.1.1.ebuild clean test as above. Could not replicate, thrice Interesting: I can reproduce the segfault with python2.5, but not with python2.6 or python2.7. My initial guess is that there may be some missing dependency that I have installed for some pythons, but not 2.5. Scratch that theory. There seems to be some buggy code in there somewhere that gets triggered with gcc at different optimization levels. So far, I have been able to trigger the problem only with python2.5 and only if I have "-O2" in my CFLAGS. I'm using gcc-4.7.2. yep good testing Mike. ~/cvsPortage/gentoo-x86/dev-python/simpleparse $ sudo USE_PYTHON=2.5 ebuild simpleparse-2.1.1.ebuild clean test yields success. archtester logilab-common # gcc-config -l [1] x86_64-pc-linux-gnu-4.6.3 * looks like a gcc issue, not python package (In reply to comment #4) > looks like a gcc issue, not python package That's a big leap to make. I think it is more likely that this package has some buggy code. fair enough, next to pin it This has no revdeps, let's lastrite it. Created attachment 532242 [details] simpleparse-2.2.0-r3.ebuild This ebuild allows you to install an updated version of simpleparse (November 2017) from https://github.com/yougov/simpleparse Although the version is actually 2.2.0+yg3, the ebuild has that name to be able to digest it. I have not done exhaustive tests but in my system it installs well and can be used in Python (at least to import and read the help of the module). According to several commits in https://github.com/yougov/simpleparse/commits/yougov it is also compatible with Python 3 but I have not done tests with that. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d3258bf0d8b9169cb710b452eb0d7cb404d98ee commit 8d3258bf0d8b9169cb710b452eb0d7cb404d98ee Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2018-06-08 13:51:46 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2018-06-08 13:57:04 +0000 dev-python/simpleparse: Remove last-rited pkg Closes: https://bugs.gentoo.org/454680 dev-python/simpleparse/Manifest | 1 - dev-python/simpleparse/metadata.xml | 12 ------ dev-python/simpleparse/simpleparse-2.1.1-r1.ebuild | 45 ---------------------- profiles/package.mask | 6 --- 4 files changed, 64 deletions(-) |