Skip to content

Lack of pw_gecos field in Android's struct passwd causes cross-compilation for the pwd module to fail #64505

Closed
@shiz

Description

@shiz
mannequin
BPO 20306
Nosy @pitrou, @skrah, @freakboy3742, @xdegaye
Files
  • Python-3.4.0tip-workaround-android-missing-pw_gecos-field.patch: A patch that works around the lack of a pw_gecos field by setting the relevant value to None.
  • pw_gecos-field-workaround-with-config_ac-mods.patch: shiz's patch extended with the required addition to configure.ac
  • pw_gecos-field-workaround-with-config_ac-mods.patch: patch without mods to generated files (just mods pwdmodule.c and configure.ac)
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/skrah'
    closed_at = <Date 2016-04-26.00:04:14.754>
    created_at = <Date 2014-01-19.18:23:41.849>
    labels = ['build']
    title = "Lack of pw_gecos field in Android's struct passwd causes cross-compilation for the pwd module to fail"
    updated_at = <Date 2016-04-26.09:50:06.970>
    user = 'https://bugs.python.org/shiz'

    bugs.python.org fields:

    activity = <Date 2016-04-26.09:50:06.970>
    actor = 'skrah'
    assignee = 'skrah'
    closed = True
    closed_date = <Date 2016-04-26.00:04:14.754>
    closer = 'skrah'
    components = ['Build']
    creation = <Date 2014-01-19.18:23:41.849>
    creator = 'shiz'
    dependencies = []
    files = ['33550', '37009', '37930']
    hgrepos = []
    issue_num = 20306
    keywords = ['patch']
    message_count = 9.0
    messages = ['208487', '217356', '217368', '229964', '235061', '264201', '264229', '264243', '264244']
    nosy_count = 7.0
    nosy_names = ['pitrou', 'skrah', 'freakboy3742', 'xdegaye', 'python-dev', 'shiz', 'WanderingLogic']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'compile error'
    url = 'https://bugs.python.org/issue20306'
    versions = ['Python 3.6']

    Metadata

    Metadata

    Assignees

    Labels

    buildThe build process and cross-build

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions