Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 519696 - dev-python/pypy: investigate gdbm <-> cffi
Summary: dev-python/pypy: investigate gdbm <-> cffi
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alice Ferrazzi
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-12 08:56 UTC by Michał Górny
Modified: 2014-11-04 15:17 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Add cffi module handling for gdbm extension (pypy-gdbm.diff,1.75 KB, patch)
2014-09-29 08:10 UTC, Jana Saout
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-08-12 08:56:06 UTC
Not sure about that but portage failed tests with some weird gdbm<->cffi sandbox failure. Need to investigate whether we don't need any extra deps.
Comment 1 Jana Saout 2014-09-29 08:10:03 UTC
Created attachment 385714 [details, diff]
Add cffi module handling for gdbm extension

I noticed this before.

Pypy 2.3.1 adds a cffi module for the gdbm extension. Like the other cffi modules it should be handled in the ebuild.

The attached patch should help resolve the issues. It adds a use flag and dependency and correctly buils or does not build the extension depending on the use flag.

PS: pypy 2.4 is out and the 2.3.1-r1 ebuild works out of the box without modification.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-11-04 15:17:16 UTC
Thanks for the patch.

+*pypy-2.3.1-r2 (04 Nov 2014)
+
+  04 Nov 2014; Michał Górny <mgorny@gentoo.org> +pypy-2.3.1-r2.ebuild,
+  -pypy-2.3.1-r1.ebuild, pypy-2.4.0.ebuild:
+  Fix gdbm support, bug #519696. Add subslots in deps.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-11-04 15:17:31 UTC
+*pypy-bin-2.3.1-r1 (04 Nov 2014)
+
+  04 Nov 2014; Michał Górny <mgorny@gentoo.org> +pypy-bin-2.3.1-r1.ebuild,
+  -pypy-bin-2.3.1.ebuild, pypy-bin-2.4.0.ebuild:
+  Fix gdbm support, bug #519696. Add subslots to cffi-deps to force rebuilding
+  of modules.