Re: [gentoo-portage-dev] [PATCH] bin/estrip: avoid copying directories in FEATURES=installsources

2021-07-18 Thread Sergei Trofimovich
On Sat, 17 Jul 2021 15:34:12 -0700 Zac Medico wrote: > On 7/17/21 12:59 PM, Sergei Trofimovich wrote: > > Initially problem is noticed on gcc-11 as a full ${WORKDIR} syncing > > into /usr/src/debug. It happens because `debug.sources` sometimes > > contains directory. For example on bash-5 it

Re: [gentoo-portage-dev] [PATCH] bin/estrip: avoid copying directories in FEATURES=installsources

2021-07-17 Thread Zac Medico
On 7/17/21 12:59 PM, Sergei Trofimovich wrote: > Initially problem is noticed on gcc-11 as a full ${WORKDIR} syncing > into /usr/src/debug. It happens because `debug.sources` sometimes > contains directory. For example on bash-5 it has: > > $ grep -zv '/<[^/>]*>$' debug.sources | LANG=C sort

[gentoo-portage-dev] [PATCH] bin/estrip: avoid copying directories in FEATURES=installsources

2021-07-17 Thread Sergei Trofimovich
Initially problem is noticed on gcc-11 as a full ${WORKDIR} syncing into /usr/src/debug. It happens because `debug.sources` sometimes contains directory. For example on bash-5 it has: $ grep -zv '/<[^/>]*>$' debug.sources | LANG=C sort -z -u | sed -e 's/\x00/\n/g' bash-5.0/