Bug#987786: postgresql-13: should Build-Conflicts: gawk

2021-08-17 Thread Christoph Berg
Re: Yangfl
> It seems postgresql configure scripts detects awk in the order of
> gawk, mawk, nawk, awk, which then writes the resulting *awk into
> /usr/lib/postgresql/13/lib/pgxs/src/Makefile.global . Thus if
> postgresql detects gawk during building process and a downstream
> plugin package declares the build dependency of mawk as usual, it will
> FTBFS. Please add Build-Conflicts to gawk to postgresql-13.

Hi,

thanks for spotting that!

The better fix is to append "AWK=mawk" to the configure flags so gawk
doesn't have to be removed. I pushed that to git.

Christoph



Bug#987786: postgresql-13: should Build-Conflicts: gawk

2021-04-29 Thread Yangfl
Source: postgresql-13
Severity: minor

It seems postgresql configure scripts detects awk in the order of
gawk, mawk, nawk, awk, which then writes the resulting *awk into
/usr/lib/postgresql/13/lib/pgxs/src/Makefile.global . Thus if
postgresql detects gawk during building process and a downstream
plugin package declares the build dependency of mawk as usual, it will
FTBFS. Please add Build-Conflicts to gawk to postgresql-13.