From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS22989 209.51.188.0/24 X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id DA7D11F8C6 for ; Thu, 9 Sep 2021 11:08:50 +0000 (UTC) Received: from localhost ([::1]:57610 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mOHvF-0003QO-Iy for normalperson@yhbt.net; Thu, 09 Sep 2021 07:08:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38514) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mOHvC-0003Q0-CS for bug-gnulib@gnu.org; Thu, 09 Sep 2021 07:08:46 -0400 Received: from mail-wr1-f41.google.com ([209.85.221.41]:42881) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mOHv9-0007xY-JS for bug-gnulib@gnu.org; Thu, 09 Sep 2021 07:08:46 -0400 Received: by mail-wr1-f41.google.com with SMTP id q11so1955693wrr.9 for ; Thu, 09 Sep 2021 04:08:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=jmvKfzwkyg9D8UY/wk7/PhgzbALXnuAe0Ei427RlL+s=; b=N67MSiRyItfl1vsOgdMKIjvxafXQoef33sdS9MyOc9DbiCWA1WDtPmlmmyKeWKMOqF 7xjkjDYlulPtgsQU9uY/ic9Z30Z5Omz0Ku+wBr1dstXkKOyH+9CC7+Au1Y/0oe8OMs8M elmquzQdCQUHYH5LvI0/Zc8GvEY2vDqJOZIJGzFnOI61sfvzwctyJbXUqujWO6VW5x// heOisuT2KBDJNho73z0PsM5N9Nz05ei2/jyOTQKuNKf2wSd5aCXCdYsKPI+W5T/IMdkt lDfzgVYFxUlYm8e0uxsXZ/dPQwyTOTyGxzQk5zdNTkosySrOgypFvjHiIgpLuBOLZ6GM ULug== X-Gm-Message-State: AOAM533kCbAXiNwcS76oF7OZkcgtFhD4miO0cw6uUgza/TH23nZM41UL 1AIG9EgIwDbKs0UE5roFhNwjSuJbE9PlXWX7Fkw= X-Google-Smtp-Source: ABdhPJxhys2sj4GEisRnYw2yBohDdCaPHCHE0RyyiKGe+4zwQKLq0nBjwGMiw59ozDs8E4RGkDveEiJxeYjmjX/xvkU= X-Received: by 2002:adf:902b:: with SMTP id h40mr2813926wrh.342.1631185721151; Thu, 09 Sep 2021 04:08:41 -0700 (PDT) MIME-Version: 1.0 References: <51928d4b-8f66-c8d4-96e3-a899b130866d@cs.ucla.edu> <12d8315a-bc1c-249f-9d7a-a0098162af71@cs.ucla.edu> <71d4e51e-7a01-edaf-d1fe-3d9cb8c923b5@cs.ucla.edu> In-Reply-To: From: Jim Meyering Date: Thu, 9 Sep 2021 13:08:28 +0200 Message-ID: Subject: Re: #include on Android clang causes an error To: Lucy Phipps Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=209.85.221.41; envelope-from=meyering@gmail.com; helo=mail-wr1-f41.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: bug-gnulib@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Gnulib discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Gnulib bugs Errors-To: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Sender: "bug-gnulib" On Thu, Sep 9, 2021 at 12:27 PM Lucy Phipps wrote: > > ---------- Forwarded message --------- > From: Lucy Phipps > Date: Thu, Sep 9, 2021 at 11:25 AM > Subject: Re: #include on Android clang causes an error > To: Paul Eggert > > it works perfectly now! and yeah i was planning on applying this to > several gnu packages :) > > On Thu, Sep 9, 2021 at 8:12 AM Paul Eggert wrote: > > > > Your latest report helped me find another portability problem. > > Ironically, a compatibility feature in Android API 23 intended to make > > it easier porting GNU software by assuming the GNU API for strerror_r, > > collided with a compatibility feature in Gnulib intended to make it > > easier to port GNU software by assuming the POSIX API for strerror_r. > > > > I installed a Gnulib patch to fix that (you should have received email a > > few hours ago), and am attaching a revised gzip tarball. Please give it > > a try. > > > > Thanks again for these reports. They should help make it easier to run > > several GNU programs on Android, not just gzip. Thanks indeed, to both of you. This is good justification for making a new gzip release before long.