main failing on macOS 13

0 views
Skip to first unread message

Greg Troxel

unread,
Dec 30, 2025, 7:40:22 PM (2 days ago) 12/30/25
to bup-...@googlegroups.com
I see in config.log:
./configure: line 114: config_cflags[@]: unbound variable

and I think this is about new-enough gmake. make is gmake but it's
really old.

I am unclear on how configure finds make vs gmake and chooses.

I am able to build on macOS 15.

Yes, I know macOS 13 is out of support...



sh-3.2$ type -a make
make is /usr/bin/make
sh-3.2$ type -a gmake
gmake is /opt/pkg/bin/gmake
sh-3.2$ make --version
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i386-apple-darwin11.3.0
sh-3.2$ gmake --version
GNU Make 4.4.1
Built for x86_64-apple-darwin22
Copyright (C) 1988-2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Rob Browning

unread,
Dec 30, 2025, 8:24:05 PM (2 days ago) 12/30/25
to Greg Troxel, bup-...@googlegroups.com
Greg Troxel <g...@lexort.com> writes:

> I see in config.log:
> ./configure: line 114: config_cflags[@]: unbound variable
>
> and I think this is about new-enough gmake. make is gmake but it's
> really old.
>
> I am unclear on how configure finds make vs gmake and chooses.

It doesn't now, it's just whatever make you invoke.

Assuming brew or similar still works there, it wouldn't be unreasonable
to just say that you need to "brew install ..." there.

And if it is the make version, then we should probably add whatever the
requirement is to the README.

--
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4

Greg Troxel

unread,
Dec 31, 2025, 8:16:59 AM (yesterday) 12/31/25
to Rob Browning, bup-...@googlegroups.com
Rob Browning <r...@defaultvalue.org> writes:

> Greg Troxel <g...@lexort.com> writes:
>
>> I see in config.log:
>> ./configure: line 114: config_cflags[@]: unbound variable
>>
>> and I think this is about new-enough gmake. make is gmake but it's
>> really old.
>>
>> I am unclear on how configure finds make vs gmake and chooses.
>
> It doesn't now, it's just whatever make you invoke.

I think I'm confused and this is about new enough *bash*.

> Assuming brew or similar still works there, it wouldn't be unreasonable
> to just say that you need to "brew install ..." there.

pkgsrc works fine, and I do have new gmake.

> And if it is the make version, then we should probably add whatever the
> requirement is to the README.

Will send a patch when I figure it out, but from your comments I lean to
"old bash".

Greg Troxel

unread,
Dec 31, 2025, 9:15:01 AM (yesterday) 12/31/25
to Rob Browning, bup-...@googlegroups.com
My problem was not gmake; it's that bash 3 included with macOS is too
old for the newfangled bashisms in main-branch configure. Using
/bin/bash on macOS 15 and 0.33.x works.

I sent a patch, twice :-( The first version has a whitespace error and
lacks signed-off-by.
Reply all
Reply to author
Forward
0 new messages