Skip to content

Conversation

@mcornella
Copy link

@mcornella mcornella commented Nov 18, 2025

Partial work. Only tested building, not tested performance.

I already found an issue with compinit not working in zsh-5.9 build.

Pending versions to build successfully:

  • 4.3.11
  • 4.3.12 (terminfo patch not applied cleanly)
  • 4.3.13 (terminfo patch not applied cleanly)
  • 4.3.14 (terminfo patch not applied cleanly)
  • 4.3.15 (terminfo patch not applied cleanly)
  • 4.3.16 (terminfo patch not applied cleanly)
  • 4.3.17 (terminfo patch not applied cleanly)
  • 5.0.3
  • 5.0.4
  • 5.0.5
Current build errors
Name:		zsh-docker
Context:	..
Dockerfile:	Dockerfile
VCS Repository:	git@github.com:zsh-users/zsh-docker
VCS Revision:	c330abb218c4902ed582eccff9f858de87db2720

Started:	2025-11-18 20:00:16
Duration:	38.2s
Error:		Unknown process "/bin/sh -c make" did not complete successfully: exit code: 2
Build Steps:	13/23 (17% cached)

Image Resolve Mode:	local

BUILD ARG	VALUE
ref		zsh-4.3.11

Dockerfile:38
--------------------
  36 |                     --with-term-lib='ncursesw tinfo' \
  37 |                     --with-tcsetpgrp
  38 | >>> RUN make
  39 |     RUN make -C Etc all FAQ FAQ.html
  40 |     RUN if test $ref = "master" ; then install_packages cm-super-minimal texlive-fonts-recommended texlive-latex-base texlive-latex-recommended ghostscript bsdmainutils ; fi
--------------------

Logs:
> => [builder  9/17] RUN make:
>  2410 |         write_loop(SHTTY, &c, 1);
>       |                           ^~
>       |                           |
>       |                           int *
> utils.c:2301:32: note: expected 'const char *' but argument is of type 'int *'
>  2301 | write_loop(int fd, const char *buf, size_t len)
>       |                    ~~~~~~~~~~~~^~~
> utils.c: In function 'quotestring':
> utils.c:4636:21: warning: variable 'tt' set but not used [-Wunused-but-set-variable]
>  4636 |     const char *u, *tt;
>       |                     ^~
> make[2]: Leaving directory '/tmp/zsh-build/Src'
> make[2]: *** [Makemod:226: utils.o] Error 1
> make[1]: *** [Makefile:447: modobjs] Error 2
> make[1]: Leaving directory '/tmp/zsh-build/Src'
> make: *** [Makefile:184: all] Error 1

Enable --debug to see stack traces for error
Print build logs: docker buildx history logs s3elbzo0fggfngunzrr757c40
View build in Docker Desktop: docker-desktop://dashboard/build/default/default/s3elbzo0fggfngunzrr757c40
Name:		zsh-docker
Context:	..
Dockerfile:	Dockerfile
VCS Repository:	git@github.com:zsh-users/zsh-docker
VCS Revision:	c330abb218c4902ed582eccff9f858de87db2720

Started:	2025-11-18 20:00:10
Duration:	44.6s
Error:		Unknown process "/bin/sh -c make" did not complete successfully: exit code: 2
Build Steps:	13/23 (17% cached)

Image Resolve Mode:	local

BUILD ARG	VALUE
ref		zsh-4.3.12

Dockerfile:38
--------------------
  36 |                     --with-term-lib='ncursesw tinfo' \
  37 |                     --with-tcsetpgrp
  38 | >>> RUN make
  39 |     RUN make -C Etc all FAQ FAQ.html
  40 |     RUN if test $ref = "master" ; then install_packages cm-super-minimal texlive-fonts-recommended texlive-latex-base texlive-latex-recommended ghostscript bsdmainutils ; fi
--------------------

Logs:
> => [builder  9/17] RUN make:
>       |              ^~~~~~~~~
> In file included from ../../Src/zshterm.h:1,
>                  from ../../Src/zsh_system.h:870,
>                  from ../../Src/zsh.mdh:15,
>                  from termcap.mdh:15,
>                  from termcap.c:38:
> /usr/include/term.h:789:56: note: previous declaration of 'boolcodes' with type 'const char * const[]'
>   789 | extern NCURSES_EXPORT_VAR(NCURSES_CONST char * const ) boolcodes[];
>       |                                                        ^~~~~~~~~
> make[3]: Leaving directory '/tmp/zsh-build/Src/Modules'
> make[3]: *** [Makefile:229: termcap.o] Error 1
> make[2]: *** [Makemod:371: modobjs] Error 1
> make[2]: Leaving directory '/tmp/zsh-build/Src'
> make[1]: *** [Makefile:449: modobjs] Error 2
> make[1]: Leaving directory '/tmp/zsh-build/Src'
> make: *** [Makefile:187: all] Error 1

Enable --debug to see stack traces for error
Print build logs: docker buildx history logs zq7kd8yw7mek2blhs2qwjlp0e
View build in Docker Desktop: docker-desktop://dashboard/build/default/default/zq7kd8yw7mek2blhs2qwjlp0e
Name:		zsh-docker
Context:	..
Dockerfile:	Dockerfile
VCS Repository:	git@github.com:zsh-users/zsh-docker
VCS Revision:	c330abb218c4902ed582eccff9f858de87db2720

Started:	2025-11-18 19:59:32
Duration:	51.7s
Error:		Unknown process "/bin/sh -c make" did not complete successfully: exit code: 2
Build Steps:	13/23 (17% cached)

Image Resolve Mode:	local

BUILD ARG	VALUE
ref		zsh-4.3.13

Dockerfile:38
--------------------
  36 |                     --with-term-lib='ncursesw tinfo' \
  37 |                     --with-tcsetpgrp
  38 | >>> RUN make
  39 |     RUN make -C Etc all FAQ FAQ.html
  40 |     RUN if test $ref = "master" ; then install_packages cm-super-minimal texlive-fonts-recommended texlive-latex-base texlive-latex-recommended ghostscript bsdmainutils ; fi
--------------------

Logs:
> => [builder  9/17] RUN make:
>       |              ^~~~~~~~~
> In file included from ../../Src/zshterm.h:1,
>                  from ../../Src/zsh_system.h:870,
>                  from ../../Src/zsh.mdh:15,
>                  from termcap.mdh:15,
>                  from termcap.c:38:
> /usr/include/term.h:789:56: note: previous declaration of 'boolcodes' with type 'const char * const[]'
>   789 | extern NCURSES_EXPORT_VAR(NCURSES_CONST char * const ) boolcodes[];
>       |                                                        ^~~~~~~~~
> make[3]: *** [Makefile:229: termcap.o] Error 1
> make[3]: Leaving directory '/tmp/zsh-build/Src/Modules'
> make[2]: *** [Makemod:371: modobjs] Error 1
> make[2]: Leaving directory '/tmp/zsh-build/Src'
> make[1]: *** [Makefile:449: modobjs] Error 2
> make[1]: Leaving directory '/tmp/zsh-build/Src'
> make: *** [Makefile:187: all] Error 1

Enable --debug to see stack traces for error
Print build logs: docker buildx history logs rekbwpiusszir4ju46022jvdv
View build in Docker Desktop: docker-desktop://dashboard/build/default/default/rekbwpiusszir4ju46022jvdv
Name:		zsh-docker
Context:	..
Dockerfile:	Dockerfile
VCS Repository:	git@github.com:zsh-users/zsh-docker
VCS Revision:	c330abb218c4902ed582eccff9f858de87db2720

Started:	2025-11-18 19:59:32
Duration:	50.3s
Error:		Unknown process "/bin/sh -c make" did not complete successfully: exit code: 2
Build Steps:	13/23 (17% cached)

Image Resolve Mode:	local

BUILD ARG	VALUE
ref		zsh-4.3.14

Dockerfile:38
--------------------
  36 |                     --with-term-lib='ncursesw tinfo' \
  37 |                     --with-tcsetpgrp
  38 | >>> RUN make
  39 |     RUN make -C Etc all FAQ FAQ.html
  40 |     RUN if test $ref = "master" ; then install_packages cm-super-minimal texlive-fonts-recommended texlive-latex-base texlive-latex-recommended ghostscript bsdmainutils ; fi
--------------------

Logs:
> => [builder  9/17] RUN make:
>       |              ^~~~~~~~~
> In file included from ../../Src/zshterm.h:1,
>                  from ../../Src/zsh_system.h:870,
>                  from ../../Src/zsh.mdh:15,
>                  from termcap.mdh:15,
>                  from termcap.c:38:
> /usr/include/term.h:789:56: note: previous declaration of 'boolcodes' with type 'const char * const[]'
>   789 | extern NCURSES_EXPORT_VAR(NCURSES_CONST char * const ) boolcodes[];
>       |                                                        ^~~~~~~~~
> make[3]: *** [Makefile:229: termcap.o] Error 1
> make[3]: Leaving directory '/tmp/zsh-build/Src/Modules'
> make[2]: *** [Makemod:371: modobjs] Error 1
> make[2]: Leaving directory '/tmp/zsh-build/Src'
> make[1]: *** [Makefile:449: modobjs] Error 2
> make[1]: Leaving directory '/tmp/zsh-build/Src'
> make: *** [Makefile:187: all] Error 1

Enable --debug to see stack traces for error
Print build logs: docker buildx history logs jl88opvv589bu89b1bhqu9hs3
View build in Docker Desktop: docker-desktop://dashboard/build/default/default/jl88opvv589bu89b1bhqu9hs3
Name:		zsh-docker
Context:	..
Dockerfile:	Dockerfile
VCS Repository:	git@github.com:zsh-users/zsh-docker
VCS Revision:	c330abb218c4902ed582eccff9f858de87db2720

Started:	2025-11-18 19:59:28
Duration:	50.0s
Error:		Unknown process "/bin/sh -c make" did not complete successfully: exit code: 2
Build Steps:	13/23 (17% cached)

Image Resolve Mode:	local

BUILD ARG	VALUE
ref		zsh-4.3.15

Dockerfile:38
--------------------
  36 |                     --with-term-lib='ncursesw tinfo' \
  37 |                     --with-tcsetpgrp
  38 | >>> RUN make
  39 |     RUN make -C Etc all FAQ FAQ.html
  40 |     RUN if test $ref = "master" ; then install_packages cm-super-minimal texlive-fonts-recommended texlive-latex-base texlive-latex-recommended ghostscript bsdmainutils ; fi
--------------------

Logs:
> => [builder  9/17] RUN make:
>       |              ^~~~~~~~~
> In file included from ../../Src/zshterm.h:1,
>                  from ../../Src/zsh_system.h:870,
>                  from ../../Src/zsh.mdh:15,
>                  from termcap.mdh:15,
>                  from termcap.c:38:
> /usr/include/term.h:789:56: note: previous declaration of 'boolcodes' with type 'const char * const[]'
>   789 | extern NCURSES_EXPORT_VAR(NCURSES_CONST char * const ) boolcodes[];
>       |                                                        ^~~~~~~~~
> make[3]: *** [Makefile:229: termcap.o] Error 1
> make[3]: Leaving directory '/tmp/zsh-build/Src/Modules'
> make[2]: *** [Makemod:371: modobjs] Error 1
> make[2]: Leaving directory '/tmp/zsh-build/Src'
> make[1]: Leaving directory '/tmp/zsh-build/Src'
> make[1]: *** [Makefile:449: modobjs] Error 2
> make: *** [Makefile:187: all] Error 1

Enable --debug to see stack traces for error
Print build logs: docker buildx history logs pr196xasva24drmaxggrstl4i
View build in Docker Desktop: docker-desktop://dashboard/build/default/default/pr196xasva24drmaxggrstl4i
Name:		zsh-docker
Context:	..
Dockerfile:	Dockerfile
VCS Repository:	git@github.com:zsh-users/zsh-docker
VCS Revision:	c330abb218c4902ed582eccff9f858de87db2720

Started:	2025-11-18 19:59:26
Duration:	49.2s
Error:		Unknown process "/bin/sh -c make" did not complete successfully: exit code: 2
Build Steps:	13/23 (17% cached)

Image Resolve Mode:	local

BUILD ARG	VALUE
ref		zsh-4.3.16

Dockerfile:38
--------------------
  36 |                     --with-term-lib='ncursesw tinfo' \
  37 |                     --with-tcsetpgrp
  38 | >>> RUN make
  39 |     RUN make -C Etc all FAQ FAQ.html
  40 |     RUN if test $ref = "master" ; then install_packages cm-super-minimal texlive-fonts-recommended texlive-latex-base texlive-latex-recommended ghostscript bsdmainutils ; fi
--------------------

Logs:
> => [builder  9/17] RUN make:
>       |              ^~~~~~~~~
> In file included from ../../Src/zshterm.h:1,
>                  from ../../Src/zsh_system.h:870,
>                  from ../../Src/zsh.mdh:15,
>                  from termcap.mdh:15,
>                  from termcap.c:38:
> /usr/include/term.h:789:56: note: previous declaration of 'boolcodes' with type 'const char * const[]'
>   789 | extern NCURSES_EXPORT_VAR(NCURSES_CONST char * const ) boolcodes[];
>       |                                                        ^~~~~~~~~
> make[3]: *** [Makefile:229: termcap.o] Error 1
> make[3]: Leaving directory '/tmp/zsh-build/Src/Modules'
> make[2]: *** [Makemod:371: modobjs] Error 1
> make[2]: Leaving directory '/tmp/zsh-build/Src'
> make[1]: Leaving directory '/tmp/zsh-build/Src'
> make[1]: *** [Makefile:449: modobjs] Error 2
> make: *** [Makefile:187: all] Error 1

Enable --debug to see stack traces for error
Print build logs: docker buildx history logs 0ciwwj0mn7iufkfvdip5dr494
View build in Docker Desktop: docker-desktop://dashboard/build/default/default/0ciwwj0mn7iufkfvdip5dr494
Name:		zsh-docker
Context:	..
Dockerfile:	Dockerfile
VCS Repository:	git@github.com:zsh-users/zsh-docker
VCS Revision:	c330abb218c4902ed582eccff9f858de87db2720

Started:	2025-11-18 19:59:24
Duration:	45.3s
Error:		Unknown process "/bin/sh -c make" did not complete successfully: exit code: 2
Build Steps:	13/23 (17% cached)

Image Resolve Mode:	local

BUILD ARG	VALUE
ref		zsh-4.3.17

Dockerfile:38
--------------------
  36 |                     --with-term-lib='ncursesw tinfo' \
  37 |                     --with-tcsetpgrp
  38 | >>> RUN make
  39 |     RUN make -C Etc all FAQ FAQ.html
  40 |     RUN if test $ref = "master" ; then install_packages cm-super-minimal texlive-fonts-recommended texlive-latex-base texlive-latex-recommended ghostscript bsdmainutils ; fi
--------------------

Logs:
> => [builder  9/17] RUN make:
>       |              ^~~~~~~~~
> In file included from ../../Src/zshterm.h:1,
>                  from ../../Src/zsh_system.h:870,
>                  from ../../Src/zsh.mdh:15,
>                  from termcap.mdh:15,
>                  from termcap.c:38:
> /usr/include/term.h:789:56: note: previous declaration of 'boolcodes' with type 'const char * const[]'
>   789 | extern NCURSES_EXPORT_VAR(NCURSES_CONST char * const ) boolcodes[];
>       |                                                        ^~~~~~~~~
> make[3]: *** [Makefile:229: termcap.o] Error 1
> make[3]: Leaving directory '/tmp/zsh-build/Src/Modules'
> make[2]: *** [Makemod:371: modobjs] Error 1
> make[2]: Leaving directory '/tmp/zsh-build/Src'
> make[1]: *** [Makefile:449: modobjs] Error 2
> make[1]: Leaving directory '/tmp/zsh-build/Src'
> make: *** [Makefile:187: all] Error 1

Enable --debug to see stack traces for error
Print build logs: docker buildx history logs xexjk8p0wrzepi970te85turb
View build in Docker Desktop: docker-desktop://dashboard/build/default/default/xexjk8p0wrzepi970te85turb
Name:		zsh-docker
Context:	..
Dockerfile:	Dockerfile
VCS Repository:	git@github.com:zsh-users/zsh-docker
VCS Revision:	1f58e54826d4000e9cedcffd16d264503e7dfafd

Started:	2025-11-18 19:55:05
Duration:	2m 11s
Error:		Unknown process "/bin/sh -c make" did not complete successfully: exit code: 2
Build Steps:	13/23 (17% cached)

Image Resolve Mode:	local

BUILD ARG	VALUE
ref		zsh-5.0.3

Dockerfile:38
--------------------
  36 |                     --with-term-lib='ncursesw tinfo' \
  37 |                     --with-tcsetpgrp
  38 | >>> RUN make
  39 |     RUN make -C Etc all FAQ FAQ.html
  40 |     RUN if test $ref = "master" ; then install_packages cm-super-minimal texlive-fonts-recommended texlive-latex-base texlive-latex-recommended ghostscript bsdmainutils ; fi
--------------------

Logs:
> => [builder  9/17] RUN make:
> Zsh Yodl-to-man converter
> Including file Zsh/zle.yo
> yodl -o ./zshall.1 -I. -DZSHALL -w zman.yo version.yo zsh.yo
> Zsh Yodl-to-man converter
> Including file Zsh/intro.yo
> Including file Zsh/metafaq.yo
> intro.yo:45: [Fatal] INCLUDEFILE `Zsh/metafaq.yo': Not found in `.'
> perl ../Util/helpfiles \
>     ./zshbuiltins.1 ./help ./help.txt \
>     || { rm -f ./help.txt ./help/*; false; }
> helpfiles: attempting man ./zshbuiltins.1 >./help/man.tmp
> helpfiles: attempting colcrt ./help/man.tmp >./help/col.tmp
> helpfiles: not all files were properly generated
> make[1]: *** [Makefile:336: help.txt] Error 1
> make[1]: Leaving directory '/tmp/zsh-build/Doc'
> make: *** [Makefile:189: all] Error 1

Enable --debug to see stack traces for error
Print build logs: docker buildx history logs htjb1xwd4qbvljl27jywo9hpd
View build in Docker Desktop: docker-desktop://dashboard/build/default/default/htjb1xwd4qbvljl27jywo9hpd
Name:		zsh-docker
Context:	..
Dockerfile:	Dockerfile
VCS Repository:	git@github.com:zsh-users/zsh-docker
VCS Revision:	1f58e54826d4000e9cedcffd16d264503e7dfafd

Started:	2025-11-18 19:55:03
Duration:	2m  9s
Error:		Unknown process "/bin/sh -c make" did not complete successfully: exit code: 2
Build Steps:	13/23 (17% cached)

Image Resolve Mode:	local

BUILD ARG	VALUE
ref		zsh-5.0.4

Dockerfile:38
--------------------
  36 |                     --with-term-lib='ncursesw tinfo' \
  37 |                     --with-tcsetpgrp
  38 | >>> RUN make
  39 |     RUN make -C Etc all FAQ FAQ.html
  40 |     RUN if test $ref = "master" ; then install_packages cm-super-minimal texlive-fonts-recommended texlive-latex-base texlive-latex-recommended ghostscript bsdmainutils ; fi
--------------------

Logs:
> => [builder  9/17] RUN make:
> Zsh Yodl-to-man converter
> Including file Zsh/zle.yo
> yodl -o ./zshall.1 -I. -DZSHALL -w zman.yo version.yo zsh.yo
> Zsh Yodl-to-man converter
> Including file Zsh/intro.yo
> Including file Zsh/metafaq.yo
> intro.yo:45: [Fatal] INCLUDEFILE `Zsh/metafaq.yo': Not found in `.'
> perl ../Util/helpfiles \
>     ./zshbuiltins.1 ./help ./help.txt \
>     || { rm -f ./help.txt ./help/*; false; }
> helpfiles: attempting man ./zshbuiltins.1 >./help/man.tmp
> helpfiles: attempting colcrt ./help/man.tmp >./help/col.tmp
> helpfiles: not all files were properly generated
> make[1]: *** [Makefile:336: help.txt] Error 1
> make[1]: Leaving directory '/tmp/zsh-build/Doc'
> make: *** [Makefile:189: all] Error 1

Enable --debug to see stack traces for error
Print build logs: docker buildx history logs 6z6w97571nc2q4zvhx1tjgert
View build in Docker Desktop: docker-desktop://dashboard/build/default/default/6z6w97571nc2q4zvhx1tjgert
Name:		zsh-docker
Context:	..
Dockerfile:	Dockerfile
VCS Repository:	git@github.com:zsh-users/zsh-docker
VCS Revision:	1f58e54826d4000e9cedcffd16d264503e7dfafd

Started:	2025-11-18 19:55:02
Duration:	2m  9s
Error:		Unknown process "/bin/sh -c make" did not complete successfully: exit code: 2
Build Steps:	13/23 (17% cached)

Image Resolve Mode:	local

BUILD ARG	VALUE
ref		zsh-5.0.5

Dockerfile:38
--------------------
  36 |                     --with-term-lib='ncursesw tinfo' \
  37 |                     --with-tcsetpgrp
  38 | >>> RUN make
  39 |     RUN make -C Etc all FAQ FAQ.html
  40 |     RUN if test $ref = "master" ; then install_packages cm-super-minimal texlive-fonts-recommended texlive-latex-base texlive-latex-recommended ghostscript bsdmainutils ; fi
--------------------

Logs:
> => [builder  9/17] RUN make:
> Zsh Yodl-to-man converter
> Including file Zsh/zle.yo
> Zsh Yodl-to-man converter
> yodl -o ./zshall.1 -I. -DZSHALL -w zman.yo version.yo zsh.yo
> Including file Zsh/intro.yo
> Including file Zsh/metafaq.yo
> intro.yo:45: [Fatal] INCLUDEFILE `Zsh/metafaq.yo': Not found in `.'
> perl ../Util/helpfiles \
>     ./zshbuiltins.1 ./help ./help.txt \
>     || { rm -f ./help.txt ./help/*; false; }
> helpfiles: attempting man ./zshbuiltins.1 >./help/man.tmp
> helpfiles: attempting colcrt ./help/man.tmp >./help/col.tmp
> helpfiles: not all files were properly generated
> make[1]: *** [Makefile:336: help.txt] Error 1
> make: *** [Makefile:189: all] Error 1
> make[1]: Leaving directory '/tmp/zsh-build/Doc'

Enable --debug to see stack traces for error
Print build logs: docker buildx history logs qz9ojq2dh96q4cpvz56hhpnao
View build in Docker Desktop: docker-desktop://dashboard/build/default/default/qz9ojq2dh96q4cpvz56hhpnao

Fixes #34

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update to Debian Bookworm base

1 participant