For gawk's "gensub" function, the third arg can either be a string with "g" or "G", or it is a number. The empty string now elicits a warning with newer versions. Reproducible: Always Steps to Reproduce: 1. emerge -1 =sys-apps/gawk-4.1.3::gentoo =sys-devel/crossdev-20150716::gentoo 2. crossdev -P "-p" --target armv7a-hardfloat-linux-gnueabi Actual Results: gawk: cmd. line:8: (FILENAME=- FNR=1) warning: gensub: third argument `' treated as 1 gawk: cmd. line:8: (FILENAME=- FNR=5) warning: gensub: third argument `' treated as 1 gawk: cmd. line:8: (FILENAME=- FNR=11) warning: gensub: third argument `' treated as 1 gawk: cmd. line:8: (FILENAME=- FNR=20) warning: gensub: third argument `' treated as 1 gawk: cmd. line:8: (FILENAME=- FNR=26) warning: gensub: third argument `' treated as 1 gawk: cmd. line:8: (FILENAME=- FNR=32) warning: gensub: third argument `' treated as 1 gawk: cmd. line:8: (FILENAME=- FNR=38) warning: gensub: third argument `' treated as 1 ---------------------------------------------------------------------------------------------------------------- * crossdev version: 20150716 * Host Portage ARCH: amd64 * Target Portage ARCH: arm * Target System: armv7a-hardfloat-linux-gnueabi Expected Results: ---------------------------------------------------------------------------------------------------------------- * crossdev version: 20150716 * Host Portage ARCH: amd64 * Target Portage ARCH: arm * Target System: armv7a-hardfloat-linux-gnueabi Same problem described in the patch https://www.sourceware.org/ml/libc-alpha/2015-08/msg00269.html
Created attachment 422962 [details, diff] crossdev-20150716_gawk_warnings.patch
Sorry. Didn't see it was fixed in git: https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=ed170f96178b3e5060d6c7eecce79036b14c9f1e