Re: bug#51144: GNU grep 3.7 fails to build on FreeBSD

2021-10-17 Thread Bruno Haible
Alexey Dokuchaev wrote: > I wonder why it's not in our template if it's from 2003. Just guessing: Maybe because some kernel-related FreeBSD packages want 'amd64'? In other words, don't you need to distinguish original FreeBSD packages from other packages? Bruno

Re: bug#51144: GNU grep 3.7 fails to build on FreeBSD

2021-10-17 Thread Alexey Dokuchaev via Gnulib discussion list
On Sun, Oct 17, 2021 at 11:20:12PM +0200, Bruno Haible wrote: > Alexey Dokuchaev wrote in > ... > > All we do is > > use our pre-built templates for config.{guess,site,sub} and pass the > > --build=amd64-portbld-freebsd$(version) argument to configure scripts > > if they are generated by GNU

Re: bug#51144: GNU grep 3.7 fails to build on FreeBSD

2021-10-17 Thread Bruno Haible
Alexey Dokuchaev wrote in and : > > >Ports framework does several things which affect GNU configure > > >scripts, particularly, it replaces build-aux/config.guess file > >

Re: bug#51144: GNU grep 3.7 fails to build on FreeBSD

2021-10-16 Thread Paul Eggert
On 10/16/21 2:06 PM, Jeffrey Walton wrote: Related, that may affect Solaris, too. I believe Sun prefers the amd64 prefix. We should be OK there. I just did a "pkg install editor/gnu-emacs" on Solaris 11.4, and its (emacs-version) returns "GNU Emacs 25.2.1 (x86_64-pc-solaris2.11, X toolkit,

Re: bug#51144: GNU grep 3.7 fails to build on FreeBSD

2021-10-16 Thread Jeffrey Walton
On Sat, Oct 16, 2021 at 12:53 PM Paul Eggert wrote: > > On 10/16/21 9:40 AM, Tijl Coosemans wrote: > > Where > > necessary we simply pass --build=x64_64-portbld-freebsd$(version). An > > example is gcc. > > Could you pass --build=x64_64-portbld-freebsd$(version) to every > 'configure' invocation,

Re: bug#51144: GNU grep 3.7 fails to build on FreeBSD

2021-10-16 Thread Paul Eggert
On 10/16/21 9:40 AM, Tijl Coosemans wrote: Where necessary we simply pass --build=x64_64-portbld-freebsd$(version). An example is gcc. Could you pass --build=x64_64-portbld-freebsd$(version) to every 'configure' invocation, not just gcc's and a few others? If I understand you correctly,

Re: bug#51144: GNU grep 3.7 fails to build on FreeBSD

2021-10-16 Thread Tijl Coosemans
On Fri, 15 Oct 2021 14:32:54 +0700 Alexey Dokuchaev wrote: > On Thu, Oct 14, 2021 at 10:34:55AM -0700, Paul Eggert wrote: > > On 10/14/21 7:02 AM, Alexey Dokuchaev wrote: > > > On Wed, Oct 13, 2021 at 11:47:34AM -0700, Paul Eggert wrote: > > > > On 10/12/21 9:02 PM, Alexey Dokuchaev wrote:

Re: bug#51144: GNU grep 3.7 fails to build on FreeBSD

2021-10-15 Thread Alexey Dokuchaev via Gnulib discussion list
On Thu, Oct 14, 2021 at 10:34:55AM -0700, Paul Eggert wrote: > On 10/14/21 7:02 AM, Alexey Dokuchaev wrote: > > On Wed, Oct 13, 2021 at 11:47:34AM -0700, Paul Eggert wrote: > > > On 10/12/21 9:02 PM, Alexey Dokuchaev wrote: > > > > Ports framework does several things which affect GNU configure > >

Re: bug#51144: GNU grep 3.7 fails to build on FreeBSD

2021-10-14 Thread Paul Eggert
On 10/14/21 7:02 AM, Alexey Dokuchaev wrote: All we do is use our pre-built templates for config.{guess,site,sub} and pass the --build=amd64-portbld-freebsd$(version) argument to configure scripts if they are generated by GNU autotools. Surely this doesn't work if there's a configure.ac or

Re: bug#51144: GNU grep 3.7 fails to build on FreeBSD

2021-10-14 Thread Alexey Dokuchaev via Gnulib discussion list
On Wed, Oct 13, 2021 at 11:47:34AM -0700, Paul Eggert wrote: > On 10/12/21 9:02 PM, Alexey Dokuchaev wrote: > > >Ports framework does several things which affect GNU configure > >scripts, particularly, it replaces build-aux/config.guess file > >with our own, where host/build tuples are derived

Re: bug#51144: GNU grep 3.7 fails to build on FreeBSD

2021-10-13 Thread Paul Eggert
On 10/12/21 9:02 PM, Alexey Dokuchaev wrote: Ports framework does several things which affect GNU configure scripts, particularly, it replaces build-aux/config.guess file with our own, where host/build tuples are derived from. x86_64 is spelled as amd64 in FreeBSD Ouch. When porting, does