classification
Title: os.chroot is not enabled on HP-UX builds
Type: enhancement Stage: resolved
Components: Interpreter Core Versions: Python 3.9, Python 3.8, Python 3.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: Ian Norton, benjamin.peterson, miss-islington
Priority: normal Keywords: patch

Created on 2020-02-12 22:33 by Ian Norton, last changed 2020-02-14 03:27 by miss-islington. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 18495 merged python-dev, 2020-02-12 22:36
PR 18509 merged miss-islington, 2020-02-14 03:09
Messages (3)
msg361921 - (view) Author: Ian Norton (Ian Norton) * Date: 2020-02-12 22:33
When building on HP-UX using:

The configure stage fails to detect chroot().  This is due to setting  _XOPEN_SOURCE to a value higher than 500.

The fix for this is to not set _XOPEN_SOURCE when configuring for HP-UX
msg361981 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2020-02-14 03:09
New changeset a9edf44a2de9b23a1690b36cdfeed7b41ab763bd by Ian Norton in branch 'master':
closes bpo-39619 Fix os.chroot on HP-UX 11.31 (GH-18495)
https://github.com/python/cpython/commit/a9edf44a2de9b23a1690b36cdfeed7b41ab763bd
msg361983 - (view) Author: miss-islington (miss-islington) Date: 2020-02-14 03:27
New changeset 28fc1bac0fbe1f4ae2e3dcba1dee38d2c063a539 by Miss Islington (bot) in branch '3.8':
closes bpo-39619 Fix os.chroot on HP-UX 11.31 (GH-18495)
https://github.com/python/cpython/commit/28fc1bac0fbe1f4ae2e3dcba1dee38d2c063a539
History
Date User Action Args
2020-02-14 03:27:31miss-islingtonsetnosy: + miss-islington
messages: + msg361983
2020-02-14 03:09:23miss-islingtonsetpull_requests: + pull_request17885
2020-02-14 03:09:17benjamin.petersonsetstatus: open -> closed

nosy: + benjamin.peterson
messages: + msg361981

resolution: fixed
stage: patch review -> resolved
2020-02-12 22:36:04python-devsetkeywords: + patch
stage: patch review
pull_requests: + pull_request17868
2020-02-12 22:33:53Ian Nortoncreate