[New-bugs-announce] [issue20306] Lack of pw_gecos field in Android's struct passwd causes cross-compilation for the pwd module to fail
report at bugs.python.org
Sun Jan 19 19:23:41 CET 2014
New submission from Shiz:
As the title states, mkpwent() in pwdmodule.c accesses `pw_gecos`, which is not defined for struct passwd in Bionic, Android's C library.
Attached is a patch that works around the issue by setting the field to None on Android.
title: Lack of pw_gecos field in Android's struct passwd causes cross-compilation for the pwd module to fail
type: compile error
versions: Python 3.4
Added file: http://bugs.python.org/file33550/Python-3.4.0tip-workaround-android-missing-pw_gecos-field.patch
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce