New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 866992 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Last visit > 30 days ago
Closed: Oct 10
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug
Build-Toolchain

Blocking:
issue 834385



Sign in to add a comment

python 2.7, failed to build with glibc 2.27

Project Member Reported by yunlian@chromium.org, Jul 24

Issue description

With glibc 2.27
sudo emerge samus python

/build/samus/tmp/portage/dev-lang/python-2.7.10-r2/work/Python-2.7.10/Modules/nismodule.c:17:10: fatal error: 'rpc/rpc.h' file not found
#include <rpc/rpc.h>
         ^~~~~~~~~~~
1 error generated.
building '_curses' extension

 
Project Member

Comment 1 by bugdroid1@chromium.org, Jul 25

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/871d007190a654c5adbc607ddc1ab585f67fe159

commit 871d007190a654c5adbc607ddc1ab585f67fe159
Author: Yunlian Jiang <yunlian@google.com>
Date: Wed Jul 25 07:14:52 2018

python-2.7: disable the nis module

This backports Gentoo upstream commit to make python build with
glibc 2.27

commit 56760ce3a29757b6cf00b585a9a1d480fdaf312f
Author: Mike Gilbert <floppym@gentoo.org>
Date:   Sat Nov 11 11:07:33 2017 -0500

    dev-lang/python: disable the nis module

    This fails to build with glibc-2.26.

    Bug: https://bugs.gentoo.org/631488

BUG= chromium:866992 
TEST=emerge-samus python with glibc 2.27

Change-Id: If414e9d504745dc897b0d49056ec196c6f8ff9de
Reviewed-on: https://chromium-review.googlesource.com/1148690
Commit-Ready: Yunlian Jiang <yunlian@chromium.org>
Tested-by: Yunlian Jiang <yunlian@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>

[add] https://crrev.com/871d007190a654c5adbc607ddc1ab585f67fe159/dev-lang/python/files/2.7-disable-nis.patch
[modify] https://crrev.com/871d007190a654c5adbc607ddc1ab585f67fe159/dev-lang/python/python-2.7.10.ebuild
[rename] https://crrev.com/871d007190a654c5adbc607ddc1ab585f67fe159/dev-lang/python/python-2.7.10-r3.ebuild

Status: Assigned (was: Untriaged)
This bug has an owner, thus, it's been triaged. Changing status to "assigned".
Status: Verified (was: Assigned)

Sign in to add a comment