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

Issue 862261 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Last visit > 30 days ago
Closed: Jul 11
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

strongswan: failed to build with glibc 2.27

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

Issue description

with glibc 2.27
emerge-samus strongswan

strongswan-5.5.3-r6: ./utils/utils/memory.h:99:15: error: use of undeclared identifier 'uintptr_t'
strongswan-5.5.3-r6:         for (i = 0; (uintptr_t)&c[i] % sizeof(long) && i < n; i++)
strongswan-5.5.3-r6:                      ^

 
Project Member

Comment 1 by bugdroid1@chromium.org, Jul 11

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

commit 82c80c629f99814fc63c23c3b81543aa161388cf
Author: Yunlian Jiang <yunlian@google.com>
Date: Wed Jul 11 19:13:09 2018

strongswan: add a missing header for glibc 2.27

This backports an upstream patch to make it builds with glibc 2.27.
The commit is
commit d4593353c97347fc9505a5a4fe3cfb66b246874f
Author: Tobias Brunner <tobias@strongswan.org>
Date:   Thu Sep 14 11:59:30 2017 +0200

    utils: Include stdint.h

    Recent releases of glibc don't include the full stdint.h header in some
    network headers included by utils.h.  So uintptr_t might not be defined.
    Since we use fixed width integers, including the latter, all over the place
    we make sure the complete file is included.

BUG= chromium:862261 
TEST=emerge-samus strongswan

Change-Id: I82fcc5afaa57dbda1fcf6e62c4b84844c42642ff
Reviewed-on: https://chromium-review.googlesource.com/1131836
Commit-Ready: Yunlian Jiang <yunlian@chromium.org>
Tested-by: Yunlian Jiang <yunlian@chromium.org>
Reviewed-by: Micah Morton <mortonm@chromium.org>
Reviewed-by: Ben Chan <benchan@chromium.org>

[rename] https://crrev.com/82c80c629f99814fc63c23c3b81543aa161388cf/net-vpn/strongswan/strongswan-5.5.3-r7.ebuild
[add] https://crrev.com/82c80c629f99814fc63c23c3b81543aa161388cf/net-vpn/strongswan/files/strongswan-5.5.3-stdint.patch
[modify] https://crrev.com/82c80c629f99814fc63c23c3b81543aa161388cf/net-vpn/strongswan/strongswan-5.5.3.ebuild

Status: Verified (was: Untriaged)

Sign in to add a comment