Re: gnulib-tool (Python) bug: "module count-one-bits doesn't exist"

2024-05-12 Thread Bruno Haible
Collin Funk wrote: > I've applied the attached patch to fix this crash. Thanks. Looks good. > I'm not sure why gnulib-tool.sh handles the tabs correctly to be > honest... It's because after deps=`func_get_dependencies $module | sed -e "$sed_dependencies_without_conditions"` the variable deps

Re: gnulib-tool (Python) bug: "module count-one-bits doesn't exist"

2024-05-11 Thread Collin Funk
On 5/11/24 12:26 PM, Paul Eggert wrote: > To reproduce it in a Gnulib repository, run these commands: > > git checkout 4de6323d5d20996e51097a90f617cd4404a23eba > ./gnulib-tool --create-testdir --dir foo -h stdbit > > The failing output is as follows. I get this output on Fedora 40 x86-64. > > gn

Re: gnulib-tool (Python) bug: "module count-one-bits doesn't exist"

2024-05-11 Thread Collin Funk
On 5/11/24 7:16 PM, Bruno Haible wrote: > Sorry Paul. No. We have been using spaces for indentation and tabulation > since 2009, and the coding got significantly simplified by that. Tabs are > still used in ChangeLog, in Makefile.am snippets (because some 'make' > programs give a syntax error when

Re: gnulib-tool (Python) bug: "module count-one-bits doesn't exist"

2024-05-11 Thread Bruno Haible
Paul Eggert wrote: > > Also in Emacs 'whitespace-mode' I noticed the lines that cause issues > > use tabs instead of spaces. Shouldn't that be disallowed? > > I'd allow tabs there, myself. In Gnulib we don't use leading tabs, but > columnar tabs are OK, e.g., in build-aux/gcc-warning.spec. Sorry

Re: gnulib-tool (Python) bug: "module count-one-bits doesn't exist"

2024-05-11 Thread Paul Eggert
On 2024-05-11 16:47, Collin Funk wrote: Also in Emacs 'whitespace-mode' I noticed the lines that cause issues use tabs instead of spaces. Shouldn't that be disallowed? I'd allow tabs there, myself. In Gnulib we don't use leading tabs, but columnar tabs are OK, e.g., in build-aux/gcc-warning.sp

Re: gnulib-tool (Python) bug: "module count-one-bits doesn't exist"

2024-05-11 Thread Collin Funk
Hi Paul, On 5/11/24 12:26 PM, Paul Eggert wrote: > git checkout 4de6323d5d20996e51097a90f617cd4404a23eba > ./gnulib-tool --create-testdir --dir foo -h stdbit Also in Emacs 'whitespace-mode' I noticed the lines that cause issues use tabs instead of spaces. Shouldn't that be disallowed? In gnulib-

Re: gnulib-tool (Python) bug: "module count-one-bits doesn't exist"

2024-05-11 Thread Collin Funk
Hi Paul, On 5/11/24 12:26 PM, Paul Eggert wrote: > To reproduce it in a Gnulib repository, run these commands: > > git checkout 4de6323d5d20996e51097a90f617cd4404a23eba > ./gnulib-tool --create-testdir --dir foo -h stdbit > > The failing output is as follows. I get this output on Fedora 40 x86-6

gnulib-tool (Python) bug: "module count-one-bits doesn't exist"

2024-05-11 Thread Paul Eggert
I ran into a problem when using gnulib-tool on an earlier version of the new stdbit module. The problem went away when I had GNULIB_TOOL_IMPL=sh in the environment. The gnulib-tool code hasn't changed since the commit in question, so the gnulib-tool bug is presumably still there even though I'v