Re: CentOS 7 and %reldir% not replaced?

2022-02-22 Thread Simon Josefsson via Gnulib discussion list
Bruno Haible writes: > Hi Simon, > >> > Can 'bootstrap' be used without gnulib-tool? I would guess yes. >> >> Good point. How about this instead? > > This is good. Please push it. Done. We have a lot of bug workaround code for automake < 1.14 behaviour that could be dropped. But let's wait

Re: CentOS 7 and %reldir% not replaced?

2022-02-22 Thread Bruno Haible
Hi Simon, > > Can 'bootstrap' be used without gnulib-tool? I would guess yes. > > Good point. How about this instead? This is good. Please push it. Thanks! Bruno > diff --git a/gnulib-tool b/gnulib-tool > index 99854415ba..9ee7560209 100755 > --- a/gnulib-tool > +++ b/gnulib-tool > @@

Re: CentOS 7 and %reldir% not replaced?

2022-02-22 Thread Simon Josefsson via Gnulib discussion list
Bruno Haible writes: > Simon Josefsson wrote: >> diff --git a/build-aux/bootstrap b/build-aux/bootstrap >> index dc2238f4ad..771ef65d22 100755 >> --- a/build-aux/bootstrap >> +++ b/build-aux/bootstrap >> @@ -675,7 +675,7 @@ fi >> # If either is not listed, add it (with minimum version) as a >>

Re: CentOS 7 and %reldir% not replaced?

2022-02-21 Thread Bruno Haible
Simon Josefsson wrote: > diff --git a/build-aux/bootstrap b/build-aux/bootstrap > index dc2238f4ad..771ef65d22 100755 > --- a/build-aux/bootstrap > +++ b/build-aux/bootstrap > @@ -675,7 +675,7 @@ fi > # If either is not listed, add it (with minimum version) as a > prerequisite. > case $buildreq

Re: CentOS 7 and %reldir% not replaced?

2022-02-21 Thread Simon Josefsson via Gnulib discussion list
sön 2022-02-20 klockan 21:08 +0100 skrev Bruno Haible: > Mike Frysinger wrote: > > your automake version is too old.  %reldir% was introduced in 1.14. > > from your log: > > > ---> Package automake.noarch 0:1.13.4-3.el7 will be installed > > Thanks for the analysis. Let me document it (patch

Re: CentOS 7 and %reldir% not replaced?

2022-02-20 Thread Bruno Haible
Mike Frysinger wrote: > your automake version is too old. %reldir% was introduced in 1.14. > from your log: > > ---> Package automake.noarch 0:1.13.4-3.el7 will be installed Thanks for the analysis. Let me document it (patch below). Automake 1.14 was release more than 8.5 years ago. It's a

Re: CentOS 7 and %reldir% not replaced?

2022-02-20 Thread Mike Frysinger
On 20 Feb 2022 20:17, Simon Josefsson via Gnulib discussion list wrote: > Hi. I updated gnulib in libidn2, and it fails on CentOS7 like this: > > mv string.h-t string.h > /usr/bin/mkdir -p '%reldir%/sys' > sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ > -e

CentOS 7 and %reldir% not replaced?

2022-02-20 Thread Simon Josefsson via Gnulib discussion list
Hi. I updated gnulib in libidn2, and it fails on CentOS7 like this: mv string.h-t string.h /usr/bin/mkdir -p '%reldir%/sys' sed -e 1h -e '1s,.*,/* DO NOT EDIT! GENERATED AUTOMATICALLY! */,' -e 1G \ -e 's|@''GUARD_PREFIX''@|GL|g' \ -e 's|@''INCLUDE_NEXT''@|include_next|g' \ ...