#26422 broke the autogen.sh
part of my development builds on NixOS - found #26422 by bisecting. The error is:
0$ ./autogen.sh
1libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
2libtoolize: copying file 'build-aux/ltmain.sh'
3libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'build-aux/m4'.
4libtoolize: copying file 'build-aux/m4/libtool.m4'
5libtoolize: copying file 'build-aux/m4/ltoptions.m4'
6libtoolize: copying file 'build-aux/m4/ltsugar.m4'
7libtoolize: copying file 'build-aux/m4/ltversion.m4'
8libtoolize: copying file 'build-aux/m4/lt~obsolete.m4'
9configure.ac:37: installing 'build-aux/compile'
10configure.ac:27: installing 'build-aux/missing'
11Makefile.am: installing 'build-aux/depcomp'
12libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
13libtoolize: copying file 'build-aux/ltmain.sh'
14libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'build-aux/m4'.
15libtoolize: copying file 'build-aux/m4/libtool.m4'
16libtoolize: copying file 'build-aux/m4/ltoptions.m4'
17libtoolize: copying file 'build-aux/m4/ltsugar.m4'
18libtoolize: copying file 'build-aux/m4/ltversion.m4'
19libtoolize: copying file 'build-aux/m4/lt~obsolete.m4'
20configure.ac:122: installing 'build-aux/compile'
21configure.ac:58: installing 'build-aux/missing'
22src/Makefile.am: installing 'build-aux/depcomp'
23cp: cannot create regular file 'build-aux/config.guess': Permission denied
Originally posted by @0xB10C in #26422 (comment)