Re: bootstrap fails due to certification expiration

2022-11-20 Thread Paul Smith
On Fri, 2022-11-18 at 20:34 +0900, KO Myung-Hun wrote: > Downloaded: 10 files, 546K in 1.9s (283 KB/s) > ./bootstrap: autopull.sh failed. > - > > Any idea? I'm not sure why it fails but looking at the script it seems you can run: ./autopull.sh --skip-po to skip the downloading of the PO f

[PATCH 1/8] Update README.OS2

2022-11-20 Thread KO Myung-Hun
* README.OS2: Apply the latest environment. --- README.OS2 | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.OS2 b/README.OS2 index 82f496e0..e9be44a5 100644 --- a/README.OS2 +++ b/README.OS2 @@ -73,7 +73,7 @@ III. * COMPILATION AND INSTALLATION * To rec

[PATCH 0/8] Fix compilation on OS/2

2022-11-20 Thread KO Myung-Hun
Hi/2. These patches fix compilation on OS/2. And these are based on git repo. Review, please...

[PATCH 8/8] Fix [-Werror=dangling-else] on OS/2

2022-11-20 Thread KO Myung-Hun
* src/getopt.c (_getopt_internal): Insert explicit braces. --- src/getopt.c | 22 -- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/src/getopt.c b/src/getopt.c index fc7cead4..1535a3d5 100644 --- a/src/getopt.c +++ b/src/getopt.c @@ -680,16 +680,18 @@ _getopt_i

[PATCH 4/8] Fix [-Werror=unused-variable] on OS/2

2022-11-20 Thread KO Myung-Hun
* src/getopt.c (_getopt_initialize): Use statements without any effect. * src/posixos.c (set_blocking): Declare parameters with UNUSED. * src/remake.c (f_mtime) [__EMX__]: Declare adjustment with UNUSED. --- src/getopt.c | 3 +++ src/posixos.c | 2 +- src/remake.c | 1 + 3 files changed, 5 inser

[PATCH 5/8] Fix [-Werror=discarded-qualifiers] on OS/2

2022-11-20 Thread KO Myung-Hun
* src/dir.c (dir_contents_file_exists_p) [__EMX__]: Use a buffer allocated in a stack. * src/job.c (exec_command) [__EMX__]: Type cast explicitly. --- src/dir.c | 6 +- src/job.c | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/dir.c b/src/dir.c index b47e94fe..deecf6

[PATCH 2/8] Define a HAVE___STRCHRNUL macro properly

2022-11-20 Thread KO Myung-Hun
lib/fnmatch.c tests a HAVE___STRCHRNUL macro to implement an alternative __strchrnul(). Without this, compilation fails on OS/2 kLIBC due to duplicated declarations of __strchrnul() like this: - gcc -DHAVE_CONFIG_H -I. -I../src -D__ST_MT_ERRNO__ -Wno-cast-qual -Wno-conversion -Wno-float-e

[PATCH 3/8] Fix assignment of read-only location error on OS/2

2022-11-20 Thread KO Myung-Hun
* src/job.c (construct_command_argv_internal) [__EMX__]: Use a buffer allocated in a stack. --- src/job.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/job.c b/src/job.c index b78f279c..aa848f0e 100644 --- a/src/job.c +++ b/src/job.c @@ -3226,7 +3226,11 @@ construct_

[PATCH 7/8] Fix [-Werror=shadow] on OS/2

2022-11-20 Thread KO Myung-Hun
* src/job.c (construct_command_argv_internal) [__EMX__]: Just reuse variables. --- src/job.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/job.c b/src/job.c index 9f1e4a3b..800f3b30 100644 --- a/src/job.c +++ b/src/job.c @@ -3553,9 +3553,9 @@ construct_command_argv_in

[PATCH 6/8] Fix [-Werror=incompatible-pointer-types] on OS/2

2022-11-20 Thread KO Myung-Hun
* src/main.c (main) [__EMX__]: Type cast explicitly. --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index eec93656..af3ce702 100644 --- a/src/main.c +++ b/src/main.c @@ -2782,7 +2782,7 @@ main (int argc, char **argv, char **envp)

Re: bootstrap fails due to certification expiration

2022-11-20 Thread KO Myung-Hun
Paul Smith wrote: > On Fri, 2022-11-18 at 20:34 +0900, KO Myung-Hun wrote: >> Downloaded: 10 files, 546K in 1.9s (283 KB/s) >> ./bootstrap: autopull.sh failed. >> - >> >> Any idea? > > I'm not sure why it fails but looking at the script it seems you can > run: > > ./autopull.sh --skip-po