bug-gnulib@gnu.org mirror (unofficial)
 help / color / mirror / Atom feed
* #include <stdio.h> on Android clang causes an error
@ 2021-09-07 13:11 Lucy Phipps
  2021-09-07 13:16 ` Lucy Phipps
  2021-09-08  6:49 ` Paul Eggert
  0 siblings, 2 replies; 11+ messages in thread
From: Lucy Phipps @ 2021-09-07 13:11 UTC (permalink / raw)
  To: bug-gnulib

For example, building gzip 1.11 from the tar.xz source:
In file included from /home/builder/.termux-build/gzip/src/lib/freading.c:20:
In file included from /home/builder/.termux-build/gzip/src/lib/freading.h:18:
In file included from ./stdio.h:43:
In file included from
/home/builder/.termux-build/_cache/android-r21d-api-24-v5/bin/../sysroot/usr/include/stdio.h:47:
In file included from ./string.h:52:
In file included from ./stdlib.h:36:
In file included from
/home/builder/.termux-build/_cache/android-r21d-api-24-v5/bin/../sysroot/usr/include/stdlib.h:34:
/home/builder/.termux-build/_cache/android-r21d-api-24-v5/bin/../sysroot/usr/include/malloc.h:168:37:
error: unknown type name 'FILE'
int malloc_info(int __must_be_zero, FILE* __fp) __INTRODUCED_IN(23);

The problem is
The patch I ended up using on Termux is very simple, but assumes
gnulib didn't replace free()
diff --git a/lib/string.in.h b/lib/string.in.h
index fa2e40c..46b7a14 100644
--- a/lib/string.in.h
+++ b/lib/string.in.h
@@ -48,7 +48,7 @@
 #include <stddef.h>

 /* Get free().  */
-#include <stdlib.h>
+void free(void *);

 /* MirBSD defines mbslen as a macro.  */
 #if @GNULIB_MBSLEN@ && defined __MirBSD__


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* Re: #include <stdio.h> on Android clang causes an error
  2021-09-07 13:11 #include <stdio.h> on Android clang causes an error Lucy Phipps
@ 2021-09-07 13:16 ` Lucy Phipps
  2021-09-07 13:18   ` Lucy Phipps
  2021-09-08  6:49 ` Paul Eggert
  1 sibling, 1 reply; 11+ messages in thread
From: Lucy Phipps @ 2021-09-07 13:16 UTC (permalink / raw)
  To: bug-gnulib

since the official git repo's online viewer doesn't allow blame, the
commit causing it was 48ece5c3f2185f52ab8cd73ceac9bd9f0e01eac6

On Tue, Sep 7, 2021 at 2:11 PM Lucy Phipps <landfillbaby69@gmail.com> wrote:
>
> For example, building gzip 1.11 from the tar.xz source:
> In file included from /home/builder/.termux-build/gzip/src/lib/freading.c:20:
> In file included from /home/builder/.termux-build/gzip/src/lib/freading.h:18:
> In file included from ./stdio.h:43:
> In file included from
> /home/builder/.termux-build/_cache/android-r21d-api-24-v5/bin/../sysroot/usr/include/stdio.h:47:
> In file included from ./string.h:52:
> In file included from ./stdlib.h:36:
> In file included from
> /home/builder/.termux-build/_cache/android-r21d-api-24-v5/bin/../sysroot/usr/include/stdlib.h:34:
> /home/builder/.termux-build/_cache/android-r21d-api-24-v5/bin/../sysroot/usr/include/malloc.h:168:37:
> error: unknown type name 'FILE'
> int malloc_info(int __must_be_zero, FILE* __fp) __INTRODUCED_IN(23);
>
> The problem is
> The patch I ended up using on Termux is very simple, but assumes
> gnulib didn't replace free()
> diff --git a/lib/string.in.h b/lib/string.in.h
> index fa2e40c..46b7a14 100644
> --- a/lib/string.in.h
> +++ b/lib/string.in.h
> @@ -48,7 +48,7 @@
>  #include <stddef.h>
>
>  /* Get free().  */
> -#include <stdlib.h>
> +void free(void *);
>
>  /* MirBSD defines mbslen as a macro.  */
>  #if @GNULIB_MBSLEN@ && defined __MirBSD__


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: #include <stdio.h> on Android clang causes an error
  2021-09-07 13:16 ` Lucy Phipps
@ 2021-09-07 13:18   ` Lucy Phipps
  0 siblings, 0 replies; 11+ messages in thread
From: Lucy Phipps @ 2021-09-07 13:18 UTC (permalink / raw)
  To: bug-gnulib

https://github.com/termux/termux-packages/pull/7480 btw. sorry about
typos in the first email

On Tue, Sep 7, 2021 at 2:16 PM Lucy Phipps <landfillbaby69@gmail.com> wrote:
>
> since the official git repo's online viewer doesn't allow blame, the
> commit causing it was 48ece5c3f2185f52ab8cd73ceac9bd9f0e01eac6
>
> On Tue, Sep 7, 2021 at 2:11 PM Lucy Phipps <landfillbaby69@gmail.com> wrote:
> >
> > For example, building gzip 1.11 from the tar.xz source:
> > In file included from /home/builder/.termux-build/gzip/src/lib/freading.c:20:
> > In file included from /home/builder/.termux-build/gzip/src/lib/freading.h:18:
> > In file included from ./stdio.h:43:
> > In file included from
> > /home/builder/.termux-build/_cache/android-r21d-api-24-v5/bin/../sysroot/usr/include/stdio.h:47:
> > In file included from ./string.h:52:
> > In file included from ./stdlib.h:36:
> > In file included from
> > /home/builder/.termux-build/_cache/android-r21d-api-24-v5/bin/../sysroot/usr/include/stdlib.h:34:
> > /home/builder/.termux-build/_cache/android-r21d-api-24-v5/bin/../sysroot/usr/include/malloc.h:168:37:
> > error: unknown type name 'FILE'
> > int malloc_info(int __must_be_zero, FILE* __fp) __INTRODUCED_IN(23);
> >
> > The problem is
> > The patch I ended up using on Termux is very simple, but assumes
> > gnulib didn't replace free()
> > diff --git a/lib/string.in.h b/lib/string.in.h
> > index fa2e40c..46b7a14 100644
> > --- a/lib/string.in.h
> > +++ b/lib/string.in.h
> > @@ -48,7 +48,7 @@
> >  #include <stddef.h>
> >
> >  /* Get free().  */
> > -#include <stdlib.h>
> > +void free(void *);
> >
> >  /* MirBSD defines mbslen as a macro.  */
> >  #if @GNULIB_MBSLEN@ && defined __MirBSD__


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: #include <stdio.h> on Android clang causes an error
  2021-09-07 13:11 #include <stdio.h> on Android clang causes an error Lucy Phipps
  2021-09-07 13:16 ` Lucy Phipps
@ 2021-09-08  6:49 ` Paul Eggert
  2021-09-08 10:45   ` Lucy Phipps
  1 sibling, 1 reply; 11+ messages in thread
From: Paul Eggert @ 2021-09-08  6:49 UTC (permalink / raw)
  To: Lucy Phipps; +Cc: Gnulib bugs

[-- Attachment #1: Type: text/plain, Size: 686 bytes --]

On 9/7/21 6:11 AM, Lucy Phipps wrote:

> /home/builder/.termux-build/_cache/android-r21d-api-24-v5/bin/../sysroot/usr/include/malloc.h:168:37:
> error: unknown type name 'FILE'
> int malloc_info(int __must_be_zero, FILE* __fp) __INTRODUCED_IN(23);

Thank you for reporting this problem. I attempted to fix this in Gnulib 
(see my recent email to you, archived at 
<https://lists.gnu.org/r/bug-gnulib/2021-09/msg00024.html>). If you have 
the time, please give the fix a try. You can do that either by building 
from the latest Git version of gzip on Savannah, or (this is probably 
easier) by building from the attached tarball which I just now generated 
from Savannah.


[-- Attachment #2: gzip-1.11.2-aa5c.tar.xz --]
[-- Type: application/x-xz, Size: 807676 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: #include <stdio.h> on Android clang causes an error
  2021-09-08  6:49 ` Paul Eggert
@ 2021-09-08 10:45   ` Lucy Phipps
  2021-09-08 16:55     ` Paul Eggert
  0 siblings, 1 reply; 11+ messages in thread
From: Lucy Phipps @ 2021-09-08 10:45 UTC (permalink / raw)
  To: Paul Eggert; +Cc: Gnulib bugs

this works, but there's an additional warning now:
/home/builder/.termux-build/gzip/src/lib/free.c:48:3: warning:
implicit declaration of function 'free' is invalid in C99
[-Wimplicit-function-declaration]
  free (p);
  ^

the only 2 warnings before were in strerror_r.c:
/home/builder/.termux-build/gzip/src/lib/strerror_r.c:205:9: warning:
incompatible pointer to integer conversion assigning to 'int' from
'char *' [-Wint-conversion]
    ret = strerror_r (errnum, buf, buflen);
        ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/builder/.termux-build/gzip/src/lib/strerror_r.c:242:60: warning:
comparison between pointer and integer ('char *' and 'int')
[-Wpointer-integer-compare]
        if (strerror_r (errnum, stackbuf, sizeof stackbuf) == ERANGE)
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~~~

On Wed, Sep 8, 2021 at 7:49 AM Paul Eggert <eggert@cs.ucla.edu> wrote:
>
> On 9/7/21 6:11 AM, Lucy Phipps wrote:
>
> > /home/builder/.termux-build/_cache/android-r21d-api-24-v5/bin/../sysroot/usr/include/malloc.h:168:37:
> > error: unknown type name 'FILE'
> > int malloc_info(int __must_be_zero, FILE* __fp) __INTRODUCED_IN(23);
>
> Thank you for reporting this problem. I attempted to fix this in Gnulib
> (see my recent email to you, archived at
> <https://lists.gnu.org/r/bug-gnulib/2021-09/msg00024.html>). If you have
> the time, please give the fix a try. You can do that either by building
> from the latest Git version of gzip on Savannah, or (this is probably
> easier) by building from the attached tarball which I just now generated
> from Savannah.
>


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: #include <stdio.h> on Android clang causes an error
  2021-09-08 10:45   ` Lucy Phipps
@ 2021-09-08 16:55     ` Paul Eggert
  2021-09-08 17:30       ` Lucy Phipps
  0 siblings, 1 reply; 11+ messages in thread
From: Paul Eggert @ 2021-09-08 16:55 UTC (permalink / raw)
  To: Lucy Phipps; +Cc: Gnulib bugs

[-- Attachment #1: Type: text/plain, Size: 394 bytes --]

Thank you for reporting the additional problems with 'free' and with 
'strerror_r'. I have theories as to why these problems occur, and have 
installed Gnulib patches that attempt to fix them (you should have 
recently received email containing these two patches).

I generated a new gzip tarball containing these patches (attached). I 
hope it fixes the warnings. Please give it a try.

[-- Attachment #2: gzip-1.11.3-9135.tar.xz --]
[-- Type: application/x-xz, Size: 807672 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: #include <stdio.h> on Android clang causes an error
  2021-09-08 16:55     ` Paul Eggert
@ 2021-09-08 17:30       ` Lucy Phipps
  2021-09-08 18:52         ` Lucy Phipps
  0 siblings, 1 reply; 11+ messages in thread
From: Lucy Phipps @ 2021-09-08 17:30 UTC (permalink / raw)
  To: Paul Eggert; +Cc: Gnulib bugs

the strerror_r() warnings are still there, but this fixed the free() warning

On Wed, Sep 8, 2021 at 5:56 PM Paul Eggert <eggert@cs.ucla.edu> wrote:
>
> Thank you for reporting the additional problems with 'free' and with
> 'strerror_r'. I have theories as to why these problems occur, and have
> installed Gnulib patches that attempt to fix them (you should have
> recently received email containing these two patches).
>
> I generated a new gzip tarball containing these patches (attached). I
> hope it fixes the warnings. Please give it a try.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: #include <stdio.h> on Android clang causes an error
  2021-09-08 17:30       ` Lucy Phipps
@ 2021-09-08 18:52         ` Lucy Phipps
  2021-09-09  7:12           ` Paul Eggert
  0 siblings, 1 reply; 11+ messages in thread
From: Lucy Phipps @ 2021-09-08 18:52 UTC (permalink / raw)
  To: Paul Eggert; +Cc: Gnulib bugs

[-- Attachment #1: Type: text/plain, Size: 52 bytes --]

i thought you might want the full log so here it is

[-- Attachment #2: gzip-1.11.3-9135-termux-build.log.txt --]
[-- Type: text/plain, Size: 38159 bytes --]

Running container 'termux-package-builder' from image 'termux/package-builder'...
Creating new container...
5372f92bcc6a0cd8b72ad5a6642f0f686157453267663d595f632e008f1fd804
gpg: key 6700B77E6D8D0AE7: 4 signatures not checked due to missing keys
gpg: key 6700B77E6D8D0AE7: public key "Fredrik Fornwall <fredrik@fornwall.net>" imported
gpg: Total number processed: 1
gpg:               imported: 1
gpg: no ultimately trusted keys found
gpg (GnuPG) 2.2.19; Copyright (C) 2019 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

gpg: key D9EFD56891B2BB50: 32 signatures not checked due to missing keys
gpg: key D9EFD56891B2BB50: public key "Henrik Grimler <henrik@grimler.se>" imported
gpg: key B0076E490B71616B: public key "Henrik Grimler <henrik@grimler.se>" imported
gpg: Total number processed: 2
gpg:               imported: 2
gpg: marginals needed: 3  completes needed: 1  trust model: pgp
gpg: depth: 0  valid:   1  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg (GnuPG) 2.2.19; Copyright (C) 2019 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

gpg: key 5A897D96E57CF20C: 1 signature not checked due to a missing key
gpg: key 5A897D96E57CF20C: public key "Termux Releases (Termux automatic builds) <contact@termux.com>" imported
gpg: Total number processed: 1
gpg:               imported: 1
gpg: marginals needed: 3  completes needed: 1  trust model: pgp
gpg: depth: 0  valid:   2  signed:   2  trust: 0-, 0q, 0n, 0m, 0f, 2u
gpg: depth: 1  valid:   2  signed:   0  trust: 2-, 0q, 0n, 0m, 0f, 0u
gpg: next trustdb check due at 2023-10-05
gpg (GnuPG) 2.2.19; Copyright (C) 2019 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

gpg: key 45F2964132545795: 3 signatures not checked due to missing keys
gpg: key 45F2964132545795: public key "Leonid Pliushch <leonid.pliushch@gmail.com>" imported
gpg: Total number processed: 1
gpg:               imported: 1
gpg: marginals needed: 3  completes needed: 1  trust model: pgp
gpg: depth: 0  valid:   3  signed:   2  trust: 0-, 0q, 0n, 0m, 0f, 3u
gpg: depth: 1  valid:   2  signed:   0  trust: 2-, 0q, 0n, 0m, 0f, 0u
gpg: next trustdb check due at 2022-11-03
gpg (GnuPG) 2.2.19; Copyright (C) 2019 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

termux - building gzip for arch aarch64...
Downloading https://raw.githubusercontent.com/termux/termux-elf-cleaner/v1.7/termux-elf-cleaner.cpp
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r100  7093  100  7093    0     0  89784      0 --:--:-- --:--:-- --:--:-- 89784
Downloading https://packages.termux.org/apt/termux-main/dists/stable/Release
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r100 13133  100 13133    0     0  26213      0 --:--:-- --:--:-- --:--:-- 26213
Downloading https://packages.termux.org/apt/termux-main/dists/stable/Release.gpg
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r100   833  100   833    0     0   2203      0 --:--:-- --:--:-- --:--:--  2203
gpg: Signature made Wed 08 Sep 2021 02:04:26 PM UTC
gpg:                using RSA key CC72CF8BA7DBFA0182877D045A897D96E57CF20C
gpg: checking the trustdb
gpg: marginals needed: 3  completes needed: 1  trust model: pgp
gpg: depth: 0  valid:   4  signed:   1  trust: 0-, 0q, 0n, 0m, 0f, 4u
gpg: depth: 1  valid:   1  signed:   0  trust: 1-, 0q, 0n, 0m, 0f, 0u
gpg: next trustdb check due at 2022-11-03
gpg: Good signature from "Termux Releases (Termux automatic builds) <contact@termux.com>" [ultimate]
Downloading https://packages.termux.org/apt/termux-main/dists/stable/main/binary-aarch64/Packages
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r100  836k  100  836k    0     0   670k      0  0:00:01  0:00:01 --:--:--  670k
Downloading https://packages.termux.org/apt/termux-games/dists/games/Release
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r100 13326  100 13326    0     0  27419      0 --:--:-- --:--:-- --:--:-- 27363
Downloading https://packages.termux.org/apt/termux-games/dists/games/Release.gpg
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r100   833  100   833    0     0   2227      0 --:--:-- --:--:-- --:--:--  2227
gpg: Signature made Sat 24 Jul 2021 10:31:06 AM UTC
gpg:                using RSA key CC72CF8BA7DBFA0182877D045A897D96E57CF20C
gpg: Good signature from "Termux Releases (Termux automatic builds) <contact@termux.com>" [ultimate]
Downloading https://packages.termux.org/apt/termux-games/dists/games/stable/binary-aarch64/Packages
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r100 18171  100 18171    0     0  33712      0 --:--:-- --:--:-- --:--:-- 33650
Downloading https://packages.termux.org/apt/termux-science/dists/science/Release
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r100 13338  100 13338    0     0  27787      0 --:--:-- --:--:-- --:--:-- 27787
Downloading https://packages.termux.org/apt/termux-science/dists/science/Release.gpg
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r100   833  100   833    0     0   2227      0 --:--:-- --:--:-- --:--:--  2221
gpg: Signature made Fri 30 Jul 2021 05:47:52 PM UTC
gpg:                using RSA key CC72CF8BA7DBFA0182877D045A897D96E57CF20C
gpg: Good signature from "Termux Releases (Termux automatic builds) <contact@termux.com>" [ultimate]
Downloading https://packages.termux.org/apt/termux-science/dists/science/stable/binary-aarch64/Packages
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r100 67035  100 67035    0     0   105k      0 --:--:-- --:--:-- --:--:--  105k
Downloading https://packages.termux.org/apt/termux-root/dists/root/Release
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r100 13320  100 13320    0     0  26746      0 --:--:-- --:--:-- --:--:-- 26693
Downloading https://packages.termux.org/apt/termux-root/dists/root/Release.gpg
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r100   833  100   833    0     0   2288      0 --:--:-- --:--:-- --:--:--  2294
gpg: Signature made Sat 28 Aug 2021 12:49:38 PM UTC
gpg:                using RSA key CC72CF8BA7DBFA0182877D045A897D96E57CF20C
gpg: Good signature from "Termux Releases (Termux automatic builds) <contact@termux.com>" [ultimate]
Downloading https://packages.termux.org/apt/termux-root/dists/root/stable/binary-aarch64/Packages
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r100 39328  100 39328    0     0  73786      0 --:--:-- --:--:-- --:--:-- 73647
Downloading https://packages.termux.org/apt/termux-unstable/dists/unstable/Release
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r100 13149  100 13149    0     0  27223      0 --:--:-- --:--:-- --:--:-- 27223
Downloading https://packages.termux.org/apt/termux-unstable/dists/unstable/Release.gpg
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r100   833  100   833    0     0   2221      0 --:--:-- --:--:-- --:--:--  2215
gpg: Signature made Wed 08 Sep 2021 10:59:10 AM UTC
gpg:                using RSA key CC72CF8BA7DBFA0182877D045A897D96E57CF20C
gpg: Good signature from "Termux Releases (Termux automatic builds) <contact@termux.com>" [ultimate]
Downloading https://packages.termux.org/apt/termux-unstable/dists/unstable/main/binary-aarch64/Packages
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r100 33344  100 33344    0     0  67225      0 --:--:-- --:--:-- --:--:-- 67225
Downloading https://packages.termux.org/apt/termux-x11/dists/x11/Release
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r100  6975  100  6975    0     0  17137      0 --:--:-- --:--:-- --:--:-- 17095
Downloading https://packages.termux.org/apt/termux-x11/dists/x11/Release.gpg
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r100   833  100   833    0     0   2307      0 --:--:-- --:--:-- --:--:--  2313
gpg: Signature made Wed 01 Sep 2021 06:06:56 PM UTC
gpg:                using RSA key CC72CF8BA7DBFA0182877D045A897D96E57CF20C
gpg: Good signature from "Termux Releases (Termux automatic builds) <contact@termux.com>" [ultimate]
Downloading https://packages.termux.org/apt/termux-x11/dists/x11/main/binary-aarch64/Packages
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r100  251k  100  251k    0     0   239k      0  0:00:01  0:00:01 --:--:--  239k
Downloading https://public-inbox.org/bug-gnulib/12d8315a-bc1c-249f-9d7a-a0098162af71@cs.ucla.edu/2-gzip-1.11.3-9135.tar.xz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r 48  788k   48  383k    0     0   252k      0  0:00:03  0:00:01  0:00:02  252k\r 95  788k   95  751k    0     0   299k      0  0:00:02  0:00:02 --:--:--  299k\r100  788k  100  788k    0     0   267k      0  0:00:02  0:00:02 --:--:--  267k
Applying patch: fix-gzexe.patch
Applying patch: zdiff.in.patch
Applying patch: zgrep.in.patch
configure: WARNING: unrecognized options: --disable-rpath, --disable-rpath-hack, --disable-nls, --enable-shared, --enable-static
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for aarch64-linux-android-strip... aarch64-linux-android-strip
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for aarch64-linux-android-gcc... aarch64-linux-android-clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether aarch64-linux-android-clang accepts -g... yes
checking for aarch64-linux-android-clang option to enable C11 features... none needed
checking whether the compiler is clang... yes
checking for compiler option needed when checking for declarations... -Werror=implicit-function-declaration
checking whether make supports the include directive... yes (GNU style)
checking dependency style of aarch64-linux-android-clang... none
checking how to run the C preprocessor... aarch64-linux-android-cpp
checking for grep that handles long lines and -e... (cached) grep
checking for aarch64-linux-android-nm... aarch64-linux-android-nm
checking whether ln -s works... yes
checking for aarch64-linux-android-ranlib... aarch64-linux-android-ranlib
checking for a POSIX-compliant shell... /bin/bash
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for sys/socket.h... yes
checking for dirent.h... yes
checking for features.h... yes
checking for stdio_ext.h... yes
checking for sys/stat.h... (cached) yes
checking for getopt.h... yes
checking for sys/cdefs.h... yes
checking for sys/time.h... yes
checking for limits.h... yes
checking for inttypes.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for stdint.h... (cached) yes
checking for threads.h... yes
checking for math.h... yes
checking for sys/mman.h... yes
checking for utime.h... yes
checking for crtdefs.h... no
checking for fcntl.h... yes
checking for memory.h... (cached) yes
checking for time.h... yes
checking for sys/sdt.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking build system type... x86_64-pc-linux-gnu
checking host system type... aarch64-unknown-linux-android
checking for Minix Amsterdam compiler... no
checking for aarch64-linux-android-ar... aarch64-linux-android-ar
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking whether malloc is ptrdiff_t safe... yes
checking whether malloc, realloc, calloc set errno on failure... yes
checking for _set_invalid_parameter_handler... no
checking for fchdir... yes
checking for fdopendir... yes
checking for fcntl... yes
checking for symlink... yes
checking for mempcpy... yes
checking for vasnprintf... no
checking for snprintf... yes
checking for fpurge... yes
checking for __fpurge... yes
checking for __freading... no
checking for __fseterr... no
checking for fstatat... yes
checking for fsync... yes
checking for getdtablesize... no
checking for getprogname... yes
checking for getexecname... no
checking for gettimeofday... yes
checking for lstat... yes
checking for mprotect... yes
checking for openat... yes
checking for strerror_r... yes
checking for __xpg_strerror_r... no
checking for pipe... yes
checking for sigaction... yes
checking for sigaltstack... yes
checking for siginterrupt... yes
checking for catgets... yes
checking for unlinkat... yes
checking for futimes... no
checking for futimesat... no
checking for futimens... yes
checking for utimensat... yes
checking for lutimes... no
checking for chown... yes
checking for fchmod... yes
checking for fchown... yes
checking whether the preprocessor supports include_next... yes
checking whether source code line length is unlimited... yes
checking for complete errno.h... yes
checking whether strerror_r is declared... yes
checking for strerror_r... (cached) yes
checking whether strerror_r returns char *... yes
checking whether fchdir is declared... yes
checking for working fcntl.h... (cached) yes
checking for pid_t... yes
checking for mode_t... yes
checking for promoted mode_t type... mode_t
checking whether fdatasync is declared... yes
checking for stdint.h... yes
checking for inttypes.h... yes
checking whether printf supports size specifiers as in C99... guessing yes
checking whether printf supports 'long double' arguments... guessing yes
checking whether printf supports infinite 'double' arguments... guessing no
checking whether byte ordering is bigendian... (cached) no
checking whether long double and double are the same... no
checking whether printf supports infinite 'long double' arguments... guessing no
checking whether printf supports the 'a' and 'A' directives... guessing no
checking whether printf supports the 'F' directive... guessing no
checking whether printf supports the 'n' directive... guessing no
checking whether printf supports the 'ls' directive... guessing no
checking whether printf supports POSIX/XSI format strings with positions... guessing yes
checking whether printf supports the grouping flag... guessing no
checking whether printf supports the left-adjust flag correctly... guessing yes
checking whether printf supports the zero flag correctly... guessing no
checking whether printf supports large precisions... guessing yes
checking whether the compiler produces multi-arch binaries... no
checking whether printf survives out-of-memory conditions... guessing no
checking for wchar_t... yes
checking for wint_t... yes
checking whether wint_t is large enough... yes
checking for intmax_t... yes
checking where to find the exponent in a 'double'... (cached) word 1 bit 20
checking whether snprintf returns a byte count as in C99... (cached) yes
checking whether snprintf truncates the result as in C99... (cached) yes
checking for snprintf... (cached) yes
checking for strnlen... yes
checking for wcslen... yes
checking for wcsnlen... yes
checking for mbrtowc... yes
checking for wcrtomb... yes
checking whether _snprintf is declared... no
checking whether frexp() can be used without linking with libm... no
checking whether alarm is declared... yes
checking whether stdin defaults to large file offsets... yes
checking whether fseeko is declared... yes
checking for fseeko... yes
checking whether fflush works on input streams... cross
checking whether stat file-mode macros are broken... no
checking for C/C++ restrict keyword... __restrict__
checking for nlink_t... yes
checking whether lstat correctly handles trailing slash... (cached) yes
checking whether ftello is declared... yes
checking whether ungetc works on arbitrary bytes... guessing yes
checking for ftello... yes
checking whether ftello works... guessing yes
checking whether getcwd (NULL, 0) allocates memory for result... (cached) yes
checking for getcwd with POSIX signature... (cached) yes
checking whether getdtablesize is declared... no
checking for getopt.h... (cached) yes
checking for getopt_long_only... yes
checking whether getopt is POSIX compatible... guessing yes
checking for working GNU getopt function... guessing no
checking for struct timeval... yes
checking for wide-enough struct timeval.tv_sec member... yes
checking whether limits.h has WORD_BIT, BOOL_WIDTH etc.... no
checking whether stdint.h conforms to C99... no
checking sys/inttypes.h usability... no
checking sys/inttypes.h presence... no
checking for sys/inttypes.h... no
checking sys/bitypes.h usability... no
checking sys/bitypes.h presence... no
checking for sys/bitypes.h... no
checking for bit size of ptrdiff_t... 64
checking for bit size of size_t... 64
checking for bit size of sig_atomic_t... 32
checking for bit size of wchar_t... 32
checking for bit size of wint_t... 32
checking whether sig_atomic_t is signed... yes
checking whether wchar_t is signed... no
checking whether wint_t is signed... no
checking for ptrdiff_t integer literal suffix... l
checking for size_t integer literal suffix... ul
checking for sig_atomic_t integer literal suffix... 
checking for wchar_t integer literal suffix... u
checking for wint_t integer literal suffix... u
checking where to find the exponent in a 'float'... word 0 bit 23
checking whether imported symbols can be declared weak... guessing yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_kill in -lpthread... no
checking whether POSIX threads API is available... yes
checking for multithread API to use... posix
checking for a sed that does not truncate output... /usr/bin/sed
checking whether malloc (0) returns nonnull... (cached) yes
checking whether NAN macro works... yes
checking whether HUGE_VAL works... yes
checking for mmap... yes
checking for MAP_ANONYMOUS... yes
checking whether memchr works... (cached) yes
checking whether memrchr is declared... yes
checking whether <limits.h> defines MIN and MAX... no
checking whether <sys/param.h> defines MIN and MAX... yes
checking for O_CLOEXEC... yes
checking whether strerror(0) succeeds... (cached) yes
checking for strerror_r with POSIX signature... no
checking whether strerror_r is declared... (cached) yes
checking for nl_langinfo... (cached) yes
checking for ptrdiff_t... yes
checking whether C symbols are prefixed with underscore at the linker level... no
checking for sigset_t... yes
checking for uid_t in sys/types.h... yes
checking for volatile sig_atomic_t... yes
checking for sighandler_t... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for good max_align_t... yes
checking whether NULL can be used in arbitrary expressions... yes
checking whether fcloseall is declared... no
checking which flavor of printf attribute matches inttypes macros... system
checking whether ecvt is declared... no
checking whether fcvt is declared... no
checking whether gcvt is declared... no
checking whether strdup is declared... yes
checking for struct timespec in <time.h>... yes
checking for TIME_UTC in <time.h>... yes
checking whether execvpe is declared... yes
checking whether the utimes function works... guessing no
checking whether <wchar.h> uses 'inline' correctly... yes
checking whether wcsdup is declared... yes
checking for time_t past the year 2038... yes
checking for alloca as a compiler built-in... yes
checking whether calloc (0, n) and calloc (n, 0) return nonnull... (cached) yes
checking whether this system supports file names of any length... no
checking for library containing clock_gettime... none required
checking for clock_gettime... yes
checking for clock_settime... yes
checking for closedir... yes
checking for dirfd... yes
checking whether dirfd is declared... yes
checking whether dirfd is a macro... no
checking whether // is distinct from /... unknown, assuming no
checking whether dup works... guessing yes
checking whether dup2 works... (cached) yes
checking for error_at_line... yes
checking whether fflush works on input streams... (cached) cross
checking whether fcntl handles F_DUPFD correctly... (cached) yes
checking whether fcntl understands F_DUPFD_CLOEXEC... (cached) yes
checking for fdatasync... yes
checking whether fdopendir is declared... yes
checking whether fdopendir works... guessing no
checking whether fflush works on input streams... (cached) cross
checking whether conversion from 'int' to 'long double' works... guessing yes
checking for nl_langinfo... (cached) yes
checking for ptrdiff_t... (cached) yes
checking whether fpurge is declared... yes
checking whether fpurge works... guessing no
checking whether free is known to preserve errno... no
checking whether frexpl is declared... yes
checking whether frexpl() can be used without linking with libm... no
checking for fseeko... (cached) yes
checking whether fflush works on input streams... (cached) cross
checking for _fseeki64... no
checking whether fstatat (..., 0) works... guessing yes
checking for ftello... (cached) yes
checking whether ftello works... (cached) guessing yes
checking whether program_invocation_name is declared... no
checking whether program_invocation_short_name is declared... no
checking whether __argv is declared... no
checking whether __progname is defined in default libraries... yes
checking for gettimeofday with POSIX signature... (cached) yes
checking whether isnan(double) can be used without linking with libm... yes
checking whether isnan(float) can be used without linking with libm... yes
checking whether isnan(float) works... guessing yes
checking whether isnan(long double) can be used without linking with libm... yes
checking whether isnanl works... guessing yes
checking for C compiler flag to ignore unused libraries... -Wl,--as-needed
checking for pthread_rwlock_t... yes
checking whether pthread_rwlock_rdlock prefers a writer to a reader... guessing no
checking whether lseek detects pipes... yes
checking whether malloc (0) returns nonnull... (cached) yes
checking for mempcpy... (cached) yes
checking for memrchr... yes
checking whether open recognizes a trailing slash... guessing yes
checking for opendir... yes
checking whether perror matches strerror... guessing no
checking whether ldexp can be used without linking with libm... yes
checking whether frexpl() can be used without linking with libm... (cached) no
checking whether ldexpl() can be used without linking with libm... no
checking for raise... yes
checking for sigprocmask... yes
checking for readdir... yes
checking whether realloc (0, 0) returns nonnull... (cached) yes
checking for reallocarray... no
checking whether rmdir works... guessing yes
checking for struct sigaction.sa_sigaction... yes
checking for signbit macro... guessing no
checking for signbit compiler built-ins... guessing no
checking where to find the sign bit in a 'float'... unknown
checking where to find the sign bit in a 'double'... unknown
checking where to find the sign bit in a 'long double'... unknown
checking whether copysignf is declared... yes
checking whether copysignf can be used without linking with libm... yes
checking whether copysign is declared... yes
checking whether copysign can be used without linking with libm... yes
checking whether copysignl is declared... yes
checking whether copysignl can be used without linking with libm... yes
checking for sigprocmask... (cached) yes
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking for ssize_t... yes
checking whether stat handles trailing slashes on files... (cached) yes
checking for struct stat.st_atim.tv_nsec... yes
checking whether struct stat.st_atim is of type struct timespec... yes
checking for struct stat.st_birthtimespec.tv_nsec... no
checking for struct stat.st_birthtimensec... no
checking for struct stat.st_birthtim.tv_nsec... no
checking for working stdalign.h... yes
checking for working stdnoreturn.h... yes
checking for stpcpy... yes
checking for working strerror function... (cached) yes
checking whether unlink honors trailing slashes... (cached) yes
checking whether unlink of a parent directory fails as it should... guessing yes
checking for utime... yes
checking whether utime handles trailing slashes on files... guessing yes
checking for ptrdiff_t... (cached) yes
checking for nl_langinfo... (cached) yes
checking for ptrdiff_t... (cached) yes
checking for stdint.h... (cached) yes
checking for underline in external names... no
checking for an assembler syntax supported by this package... no
checking for an ANSI C-conforming const... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for size_t... (cached) yes
checking for off_t... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating lib/Makefile
config.status: creating tests/Makefile
config.status: creating lib/config.h
config.status: linking /home/builder/.termux-build/gzip/src/GNUmakefile to GNUmakefile
config.status: executing depfiles commands
configure: WARNING: unrecognized options: --disable-rpath, --disable-rpath-hack, --disable-nls, --enable-shared, --enable-static
  GEN      version.c
  GEN      version.h
make  all-recursive
make[1]: Entering directory '/home/builder/.termux-build/gzip/build'
Making all in lib
make[2]: Entering directory '/home/builder/.termux-build/gzip/build/lib'
  GEN      alloca.h
  GEN      dirent.h
  GEN      fcntl.h
  GEN      getopt.h
  GEN      getopt-cdefs.h
  GEN      inttypes.h
  GEN      limits.h
  GEN      math.h
  GEN      signal.h
  GEN      stdint.h
  GEN      stdio.h
  GEN      stdlib.h
  GEN      string.h
  GEN      sys/stat.h
  GEN      sys/time.h
  GEN      sys/types.h
  GEN      time.h
  GEN      unistd.h
  GEN      utime.h
  GEN      wchar.h
make  all-am
make[3]: Entering directory '/home/builder/.termux-build/gzip/build/lib'
  CC       openat-proc.o
  CC       basename-lgpl.o
  CC       cloexec.o
  CC       opendir-safer.o
  CC       dirname-lgpl.o
  CC       stripslash.o
  CC       exitfail.o
  CC       creat-safer.o
  CC       open-safer.o
  CC       fd-hook.o
  CC       fd-safer-flag.o
  CC       dup-safer-flag.o
  CC       filenamecat-lgpl.o
  CC       freading.o
  CC       getprogname.o
  CC       gettime.o
  CC       ialloc.o
  CC       malloca.o
  CC       math.o
  CC       openat-die.o
  CC       openat-safer.o
  CC       printf-frexp.o
  CC       printf-frexpl.o
  CC       save-cwd.o
  CC       savedir.o
  CC       sig-handler.o
  CC       stat-time.o
  CC       statat.o
  CC       glthread/threadlib.o
  CC       timespec.o
  CC       unistd.o
  CC       dup-safer.o
  CC       fd-safer.o
  CC       pipe-safer.o
  CC       utimens.o
  CC       xmalloc.o
  CC       xalloc-die.o
  CC       xsize.o
  CC       yesno.o
  CC       asnprintf.o
  CC       chdir-long.o
  CC       fclose.o
  CC       fdopendir.o
  CC       fflush.o
  CC       fprintf.o
  CC       fpurge.o
  CC       free.o
  CC       frexp.o
  CC       frexpl.o
  CC       fseek.o
  CC       fseeko.o
  CC       fseterr.o
  CC       getdtablesize.o
  CC       getopt.o
  CC       getopt1.o
  CC       perror.o
  CC       printf.o
  CC       printf-args.o
  CC       printf-parse.o
  CC       reallocarray.o
  CC       signbitd.o
  CC       signbitf.o
  CC       signbitl.o
  CC       strerror_r.o
  CC       vasnprintf.o
  CC       vfprintf.o
  CC       glthread/lock.o
/home/builder/.termux-build/gzip/src/lib/strerror_r.c:205:9: warning: incompatible pointer to integer conversion assigning to 'int' from 'char *' [-Wint-conversion]
    ret = strerror_r (errnum, buf, buflen);
        ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/builder/.termux-build/gzip/src/lib/strerror_r.c:242:60: warning: comparison between pointer and integer ('char *' and 'int') [-Wpointer-integer-compare]
        if (strerror_r (errnum, stackbuf, sizeof stackbuf) == ERANGE)
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~~~
2 warnings generated.
  AR       libgzip.a
make[3]: Leaving directory '/home/builder/.termux-build/gzip/build/lib'
make[2]: Leaving directory '/home/builder/.termux-build/gzip/build/lib'
Making all in doc
make[2]: Entering directory '/home/builder/.termux-build/gzip/build/doc'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/builder/.termux-build/gzip/build/doc'
Making all in .
make[2]: Entering directory '/home/builder/.termux-build/gzip/build'
  CC       bits.o
  CC       deflate.o
  CC       gzip.o
  CC       inflate.o
  CC       lzw.o
  CC       trees.o
  CC       unlzh.o
  CC       unlzw.o
  CC       unpack.o
  CC       unzip.o
  CC       util.o
  CC       zip.o
  CC       version.o
  GEN      gunzip
  GEN      gzexe
  GEN      zcat
  GEN      zcmp
  GEN      zdiff
  GEN      zegrep
  GEN      zfgrep
  GEN      zforce
  GEN      zgrep
  GEN      zless
  GEN      zmore
  GEN      znew
  AR       libver.a
  CCLD     gzip
make[2]: Leaving directory '/home/builder/.termux-build/gzip/build'
Making all in tests
make[2]: Entering directory '/home/builder/.termux-build/gzip/build/tests'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/builder/.termux-build/gzip/build/tests'
make[1]: Leaving directory '/home/builder/.termux-build/gzip/build'
make  install-recursive
make[1]: Entering directory '/home/builder/.termux-build/gzip/build'
Making install in lib
make[2]: Entering directory '/home/builder/.termux-build/gzip/build/lib'
make  install-am
make[3]: Entering directory '/home/builder/.termux-build/gzip/build/lib'
make[4]: Entering directory '/home/builder/.termux-build/gzip/build/lib'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/home/builder/.termux-build/gzip/build/lib'
make[3]: Leaving directory '/home/builder/.termux-build/gzip/build/lib'
make[2]: Leaving directory '/home/builder/.termux-build/gzip/build/lib'
Making install in doc
make[2]: Entering directory '/home/builder/.termux-build/gzip/build/doc'
make[3]: Entering directory '/home/builder/.termux-build/gzip/build/doc'
make[3]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/data/data/com.termux/files/usr/share/info'
 /usr/bin/install -c -m 644 /home/builder/.termux-build/gzip/src/doc/gzip.info '/data/data/com.termux/files/usr/share/info'
make[3]: Leaving directory '/home/builder/.termux-build/gzip/build/doc'
make[2]: Leaving directory '/home/builder/.termux-build/gzip/build/doc'
Making install in .
make[2]: Entering directory '/home/builder/.termux-build/gzip/build'
make[3]: Entering directory '/home/builder/.termux-build/gzip/build'
 /usr/bin/mkdir -p '/data/data/com.termux/files/usr/bin'
  /usr/bin/install -c gzip '/data/data/com.termux/files/usr/bin'
 /usr/bin/mkdir -p '/data/data/com.termux/files/usr/bin'
 /usr/bin/install -c gunzip gzexe zcat zcmp zdiff zegrep zfgrep zforce zgrep zless zmore znew '/data/data/com.termux/files/usr/bin'
make  install-exec-hook
make[4]: Entering directory '/home/builder/.termux-build/gzip/build'
+ cd /data/data/com.termux/files/usr/bin
+ rm -f uncompress
+ case remove-installed-links in
+ cd /data/data/com.termux/files/usr/bin
+ rm -f uncompress
+ case install-exec-hook in
+ ln gunzip uncompress
make[4]: Leaving directory '/home/builder/.termux-build/gzip/build'
 /usr/bin/mkdir -p '/data/data/com.termux/files/usr/share/man/man1'
 /usr/bin/install -c -m 644 /home/builder/.termux-build/gzip/src/gunzip.1 /home/builder/.termux-build/gzip/src/gzexe.1 /home/builder/.termux-build/gzip/src/gzip.1 /home/builder/.termux-build/gzip/src/zcat.1 /home/builder/.termux-build/gzip/src/zcmp.1 /home/builder/.termux-build/gzip/src/zdiff.1 /home/builder/.termux-build/gzip/src/zforce.1 /home/builder/.termux-build/gzip/src/zgrep.1 /home/builder/.termux-build/gzip/src/zless.1 /home/builder/.termux-build/gzip/src/zmore.1 /home/builder/.termux-build/gzip/src/znew.1 '/data/data/com.termux/files/usr/share/man/man1'
make[3]: Leaving directory '/home/builder/.termux-build/gzip/build'
make[2]: Leaving directory '/home/builder/.termux-build/gzip/build'
Making install in tests
make[2]: Entering directory '/home/builder/.termux-build/gzip/build/tests'
make[3]: Entering directory '/home/builder/.termux-build/gzip/build/tests'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/builder/.termux-build/gzip/build/tests'
make[2]: Leaving directory '/home/builder/.termux-build/gzip/build/tests'
make[1]: Leaving directory '/home/builder/.termux-build/gzip/build'
termux - build of 'gzip' done

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: #include <stdio.h> on Android clang causes an error
  2021-09-08 18:52         ` Lucy Phipps
@ 2021-09-09  7:12           ` Paul Eggert
       [not found]             ` <CAGOd_F-fW-dkWihAgYUV96iNq7aMkLO+PsFvC9YvGzD+--bE3g@mail.gmail.com>
  0 siblings, 1 reply; 11+ messages in thread
From: Paul Eggert @ 2021-09-09  7:12 UTC (permalink / raw)
  To: Lucy Phipps; +Cc: Gnulib bugs

[-- Attachment #1: Type: text/plain, Size: 625 bytes --]

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.



[-- Attachment #2: gzip-1.11.3-7c35.tar.xz --]
[-- Type: application/x-xz, Size: 804640 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Fwd: #include <stdio.h> on Android clang causes an error
       [not found]             ` <CAGOd_F-fW-dkWihAgYUV96iNq7aMkLO+PsFvC9YvGzD+--bE3g@mail.gmail.com>
@ 2021-09-09 10:25               ` Lucy Phipps
  2021-09-09 11:08                 ` Jim Meyering
  0 siblings, 1 reply; 11+ messages in thread
From: Lucy Phipps @ 2021-09-09 10:25 UTC (permalink / raw)
  To: Gnulib bugs

---------- Forwarded message ---------
From: Lucy Phipps <landfillbaby69@gmail.com>
Date: Thu, Sep 9, 2021 at 11:25 AM
Subject: Re: #include <stdio.h> on Android clang causes an error
To: Paul Eggert <eggert@cs.ucla.edu>


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 <eggert@cs.ucla.edu> 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.
>
>


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: #include <stdio.h> on Android clang causes an error
  2021-09-09 10:25               ` Fwd: " Lucy Phipps
@ 2021-09-09 11:08                 ` Jim Meyering
  0 siblings, 0 replies; 11+ messages in thread
From: Jim Meyering @ 2021-09-09 11:08 UTC (permalink / raw)
  To: Lucy Phipps; +Cc: Gnulib bugs

On Thu, Sep 9, 2021 at 12:27 PM Lucy Phipps <landfillbaby69@gmail.com> wrote:
>
> ---------- Forwarded message ---------
> From: Lucy Phipps <landfillbaby69@gmail.com>
> Date: Thu, Sep 9, 2021 at 11:25 AM
> Subject: Re: #include <stdio.h> on Android clang causes an error
> To: Paul Eggert <eggert@cs.ucla.edu>
>
> 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 <eggert@cs.ucla.edu> 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.


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2021-09-09 11:08 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-07 13:11 #include <stdio.h> on Android clang causes an error Lucy Phipps
2021-09-07 13:16 ` Lucy Phipps
2021-09-07 13:18   ` Lucy Phipps
2021-09-08  6:49 ` Paul Eggert
2021-09-08 10:45   ` Lucy Phipps
2021-09-08 16:55     ` Paul Eggert
2021-09-08 17:30       ` Lucy Phipps
2021-09-08 18:52         ` Lucy Phipps
2021-09-09  7:12           ` Paul Eggert
     [not found]             ` <CAGOd_F-fW-dkWihAgYUV96iNq7aMkLO+PsFvC9YvGzD+--bE3g@mail.gmail.com>
2021-09-09 10:25               ` Fwd: " Lucy Phipps
2021-09-09 11:08                 ` Jim Meyering

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).