Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 588186

Summary: dev-python/setproctitle-1.1.10 version bump (was Compilation failure on systems with musl: "error: redefinition of 'struct prctl_mm_map'")
Product: Gentoo Linux Reporter: Nicholas Fish <gentoo>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal CC: musl, sping
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 430702    
Attachments: Build log from failed setproctitle-1.1.8 build on musl system
Ebuild for dev-python/setproctitle-1.1.10

Description Nicholas Fish 2016-07-06 19:54:33 UTC
Created attachment 439916 [details]
Build log from failed setproctitle-1.1.8 build on musl system

At present, attempting to emerge dev-python/setproctitle results in a compilation failure on systems using musl as their libc: "error: redefinition of 'struct prctl_mm_map'". This is due to the inclusion of linux/prctl.h in the package source.

Fortunately, this has already been fixed upstream. See

https://github.com/dvarrazzo/py-setproctitle/issues/44

The fix is simply to bump dev-python/setproctitle to 1.1.10. I will attach the ebuild I created to this bug for reference.

As an additional note, I encountered this issue when trying to upgrade deluge with the setproctitle USE flag enabled.
Comment 1 Nicholas Fish 2016-07-06 19:55:29 UTC
Created attachment 439918 [details]
Ebuild for dev-python/setproctitle-1.1.10
Comment 2 Michael Palimaka (kensington) gentoo-dev 2016-07-09 19:03:34 UTC
(In reply to Nicholas Fish from comment #0)
> The fix is simply to bump dev-python/setproctitle to 1.1.10. I will attach
> the ebuild I created to this bug for reference.

Thanks for investigating - turning this into a version bump bug then.
Comment 3 Sebastian Pipping gentoo-dev 2016-11-10 00:14:53 UTC
commit 6605981fd584736b1caefe412d6f88e7c4763801
Author: Sebastian Pipping <sping@g.o>
Date:   Thu Nov 10 01:06:59 2016 +0100

    dev-python/setproctitle: 1.1.10 (bug #588186)
    
    Package-Manager: portage-2.3.2

 dev-python/setproctitle/Manifest                   |  1 +
 dev-python/setproctitle/setproctitle-1.1.10.ebuild | 45 ++++++++++++++++++++++
 2 files changed, 46 insertions(+)

https://github.com/gentoo/gentoo/commit/6605981fd584736b1caefe412d6f88e7c4763801