Thread (5 messages) 5 messages, 2 authors, 2025-02-16

Re: man-page-6.10 make share/mk/src/sh.mk:16: *** unterminated call to function 'shell': missing ')'

From: Boris Pigin <hidden>
Date: 2025-02-10 08:56:42

Hi Alex,

as my email was rejected by the mailing list due to containing HTML part 
here is the second try.

  ╭─ 🐺 borisp@blacksun  bash 5.2.37  🕑09:46:35  🖿 ~ 🧬 📦 🐾1
  ╰ $ rm test/
rm: cannot remove 'test/': Is a directory

  ╭─ 🐺 borisp@blacksun  bash 5.2.37  🕑09:46:40  🖿 ~ 🧬 📦 🐾2
  ╰ $ rm -rf test/

  ╭─ 🐺 borisp@blacksun  bash 5.2.37  🕑09:46:44  🖿 ~ 🧬 📦 🐾3
  ╰ $ mkdir test

  ╭─ 🐺 borisp@blacksun  bash 5.2.37  🕑09:46:47  🖿 ~ 🧬 📦 🐾4
  ╰ $ cd test

  ╭─ 🐺 borisp@blacksun  bash 5.2.37  🕑09:46:50  🖿 ~/test 🧬 📦 🐾5
  ╰ $ wget 
https://kernel.org/pub/linux/docs/man-pages/man-pages-6.10.tar.gz 
 >/dev/null 2>&1

  ╭─ 🐺 borisp@blacksun  bash 5.2.37  🕑09:47:03  🖿 ~/test 🧬 📦 🐾6
  ╰ $ ls
man-pages-6.10.tar.gz

  ╭─ 🐺 borisp@blacksun  bash 5.2.37  🕑09:47:09  🖿 ~/test 🧬 📦 🐾7
  ╰ $ tar xf man-pages-6.10.tar.gz

  ╭─ 🐺 borisp@blacksun  bash 5.2.37  🕑09:47:17  🖿 ~/test 🧬 📦 🐾8
  ╰ $ rm man-pages-6.10.tar.gz

  ╭─ 🐺 borisp@blacksun  bash 5.2.37  🕑09:47:22  🖿 ~/test 🧬 📦 🐾9
  ╰ $ ls
man-pages-6.10

  ╭─ 🐺 borisp@blacksun  bash 5.2.37  🕑09:47:26  🖿 ~/test 🧬 📦 🐾10
  ╰ $ cd man-pages-6.10/

  ╭─ 🐺 borisp@blacksun  bash 5.2.37  🕑09:47:31  🖿 
~/test/man-pages-6.10 🧬 📦 🐾11
  ╰ $ make | wc -l; echo $?
/home/borisp/test/man-pages-6.10/share/mk/src/sh.mk:16: *** unterminated 
call to function 'shell': missing ')'.  Stop.
0
0

  ╭─ 🐺 borisp@blacksun  bash 5.2.37  🕑09:47:37  🖿 
~/test/man-pages-6.10 🧬 📦 🐾12
  ╰ $ make
/home/borisp/test/man-pages-6.10/share/mk/src/sh.mk:16: *** unterminated 
call to function 'shell': missing ')'.  Stop.

  ╭─ 🐺 borisp@blacksun  bash 5.2.37  🕑09:47:43  🖿 
~/test/man-pages-6.10 🧬 📦 🐾13
  ╰ $ bash -version
GNU bash, version 5.2.37(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
<http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

  ╭─ 🐺 borisp@blacksun  bash 5.2.37  🕑09:50:38  🖿 
~/test/man-pages-6.10 🧬 📦 🐾14
  ╰ $ make -version
GNU Make 4.2.1
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

  ╭─ 🐺 borisp@blacksun  bash 5.2.37  🕑09:50:45  🖿 
~/test/man-pages-6.10 🧬 📦 🐾15


Best wishes
Boris

On 2/9/25 22:27, Alejandro Colomar wrote:
[CC += linux-man@]

Hi Boris,

I realized the mailing list wasn't CCd.  I've added it to CC now.

On Sun, Feb 09, 2025 at 09:40:16PM +0100, Boris Pigin wrote:
quoted
Bash and make
Hummm.  I don't see why it would fail on bash and (assuming GNU) make.
Especially if previous versions of man-pages releases worked well.
quoted
On 2/9/25 21:38, Boris Pigin wrote:
quoted
Hi Alex,

I'm on Funtoo.
I've also added Sam James to CC, in case he knows anything.
quoted
quoted
On 2/9/25 18:43, Alejandro Colomar wrote:
quoted
Hi Boris,

On Sun, Feb 09, 2025 at 05:13:51PM +0100, Boris Pigin wrote:
quoted
Hello Alejandro,

I see here a problem with the man-page-6.10. If I call make I get the
following error
I downloaded the package from
https://www.kernel.org/pub/linux/docs/man-pages/man-pages-6.10.tar.xz
I don't see the problem with the earlier version e.g. 6.9, 6.9.1.

'''
   ╰ $ pwd
/home/user/src/man-pages-6.10
   ╰ $ make
/home/user/src/man-pages-6.10/share/mk/src/sh.mk:16: *** unterminated call
to function 'shell': missing ')'.  Stop.
'''
Hmmm, I can't reproduce the problem.  Could you please run the following
commands?  Also, could you detail what's your shell, and what's your
make(1), and what's your OS?  Let's see if we can learn why that's
happening.

alx@devuan:~/tmp/foo$ wget https://kernel.org/pub/linux/docs/man-pages/man-pages-6.10.tar.gz >/dev/null 2>&1
alx@devuan:~/tmp/foo$ ls
man-pages-6.10.tar.gz
alx@devuan:~/tmp/foo$ tar xf man-pages-6.10.tar.gz
alx@devuan:~/tmp/foo$ rm man-pages-6.10.tar.gz
alx@devuan:~/tmp/foo$ ls
man-pages-6.10
alx@devuan:~/tmp/foo$ cd man-pages-6.10/
alx@devuan:~/tmp/foo/man-pages-6.10$ make | wc -l; echo $?
2965
0
alx@devuan:~/tmp/foo/man-pages-6.10$ make
alx@devuan:~/tmp/foo/man-pages-6.10$
Can you run exactly these commands?  I'm puzzled.


Have a lovely night!
Alex
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help