zinit-module
zinit-module copied to clipboard
[bug]: zsh: failed to load module `zdharma_continuum/zinit': /home/ravi/.local/share/zinit/module/Src/zdharma_continuum/zinit.so: cannot open shared object file: No such file or directory
Describe the bug
% zinit module build
<snip>
% module_path+=( "/home/ravi/.local/share/zinit/module/Src" )
% zmodload zdharma_continuum/zinit
zsh: failed to load module `zdharma_continuum/zinit': /home/ravi/.local/share/zinit/module/Src/zdharma_continuum/zinit.so: cannot open share
d object file: No such file or directory
%
Steps to reproduce
% zinit module build
Cloning into '/home/ravi/.local/share/zinit/module'...
remote: Enumerating objects: 180, done.
remote: Counting objects: 100% (15/15), done.
remote: Compressing objects: 100% (12/12), done.
remote: Total 180 (delta 4), reused 8 (delta 1), pack-reused 165 (from 1)
Receiving objects: 100% (180/180), 812.14 KiB | 1.07 MiB/s, done.
Resolving deltas: 100% (34/34), done.
== Building module zdharma-continuum/zinit-module, running: make clean, then ./configure and then make ==
== The module sources are located at: /home/ravi/.local/share/zinit/module ==
-- ./configure --
configuring for zsh 5.3.1-dev-0
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking how to run the C preprocessor... gcc -E
checking for an ANSI C-conforming const... yes
checking for gcc option to accept ANSI C...
checking whether to use prototypes... yes
checking for grep that handles long lines and -e... /home/ravi/bin/grep
checking for egrep... /home/ravi/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking if the compiler supports union initialisation... yes
checking if signed to unsigned casting is broken... no
checking if the compiler supports variable-length arrays... yes
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... gawk
checking whether ln works... yes
checking whether ln -s works... yes
checking for egrep... (cached) /home/ravi/bin/grep -E
checking for yodl... no
checking for texi2dvi... texi2dvi
checking for texi2pdf... texi2pdf
checking for texi2any... texi2any
checking for ansi2knr... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking whether stat file-mode macros are broken... no
checking for sys/wait.h that is POSIX.1 compatible... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking termcap.h usability... yes
checking termcap.h presence... yes
checking for termcap.h... yes
checking termio.h usability... no
checking termio.h presence... no
checking for termio.h... no
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/filio.h usability... no
checking sys/filio.h presence... no
checking for sys/filio.h... no
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking libc.h usability... no
checking libc.h presence... no
checking for libc.h... no
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking varargs.h usability... no
checking varargs.h presence... no
checking for varargs.h... no
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/capability.h usability... yes
checking sys/capability.h presence... yes
checking for sys/capability.h... yes
checking utmp.h usability... yes
checking utmp.h presence... yes
checking for utmp.h... yes
checking utmpx.h usability... yes
checking utmpx.h presence... yes
checking for utmpx.h... yes
checking for sys/types.h... (cached) yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking netinet/in_systm.h usability... yes
checking netinet/in_systm.h presence... yes
checking for netinet/in_systm.h... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking sys/stropts.h usability... no
checking sys/stropts.h presence... no
checking for sys/stropts.h... no
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking ncursesw/ncurses.h usability... no
checking ncursesw/ncurses.h presence... no
checking for ncursesw/ncurses.h... no
checking ncurses/ncurses.h usability... no
checking ncurses/ncurses.h presence... no
checking for ncurses/ncurses.h... no
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking dl.h usability... no
checking dl.h presence... no
checking for dl.h... no
checking for conflicts in sys/time.h and sys/select.h... no
checking TIOCGWINSZ in termios.h... no
checking TIOCGWINSZ in sys/ioctl.h... yes
checking for streams headers including struct winsize... no
checking for printf in -lc... yes
checking for pow in -lm... yes
checking for clock_gettime in -lrt... yes
checking if _XOPEN_SOURCE_EXTENDED should not be defined... no
checking for library containing tigetflag... -lncursesw
checking for library containing tgetent... none required
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking if we need to ignore ncurses... no
checking for library containing getpwnam... none required
checking for dlopen in -ldl... yes
checking for socket in -lsocket... no
checking for library containing gethostbyname2... none required
checking for iconv... yes
checking whether _libiconv_version is declared... no
checking for iconv declaration...
checking if an include file defines ospeed... yes
checking sys/xattr.h usability... yes
checking sys/xattr.h presence... yes
checking for sys/xattr.h... yes
checking for pid_t... yes
checking for off_t... yes
checking for ino_t... yes
checking for mode_t... yes
checking for uid_t in sys/types.h... yes
checking for size_t... (cached) yes
checking if long is 64 bits... yes
checking for %lld printf support... yes
checking for sigset_t... yes
checking for struct stat.st_atim.tv_nsec... yes
checking for struct stat.st_atimespec.tv_nsec... no
checking for struct stat.st_atimensec... no
checking for struct stat.st_mtim.tv_nsec... yes
checking for struct stat.st_mtimespec.tv_nsec... no
checking for struct stat.st_mtimensec... no
checking for struct stat.st_ctim.tv_nsec... yes
checking for struct stat.st_ctimespec.tv_nsec... no
checking for struct stat.st_ctimensec... no
checking for struct timezone... yes
checking for struct timespec... yes
checking for struct utmp... yes
checking for struct utmpx... yes
checking for ut_host in struct utmp... yes
checking for ut_host in struct utmpx... yes
checking for ut_xtime in struct utmpx... no
checking for ut_tv in struct utmpx... yes
checking for d_ino in struct dirent... yes
checking for d_stat in struct dirent... no
checking for d_ino in struct direct... no
checking for d_stat in struct direct... no
checking for sin6_scope_id in struct sockaddr_in6... yes
checking if we need our own h_errno... yes
checking for strftime... yes
checking for strptime... yes
checking for mktime... yes
checking for timelocal... yes
checking for difftime... yes
checking for gettimeofday... yes
checking for clock_gettime... yes
checking for select... yes
checking for poll... yes
checking for readlink... yes
checking for faccessx... no
checking for fchdir... yes
checking for ftruncate... yes
checking for fstat... yes
checking for lstat... yes
checking for lchown... yes
checking for fchown... yes
checking for fchmod... yes
checking for fseeko... yes
checking for ftello... yes
checking for mkfifo... yes
checking for _mktemp... no
checking for mkstemp... yes
checking for waitpid... yes
checking for wait3... yes
checking for sigaction... yes
checking for sigblock... yes
checking for sighold... yes
checking for sigrelse... yes
checking for sigsetmask... yes
checking for sigprocmask... yes
checking for killpg... yes
checking for setpgid... yes
checking for setpgrp... yes
checking for tcsetpgrp... yes
checking for tcgetattr... yes
checking for nice... yes
checking for gethostname... yes
checking for gethostbyname2... yes
checking for getipnodebyname... no
checking for inet_aton... yes
checking for inet_pton... yes
checking for inet_ntop... yes
checking for getlogin... yes
checking for getpwent... yes
checking for getpwnam... yes
checking for getpwuid... yes
checking for getgrgid... yes
checking for getgrnam... yes
checking for initgroups... yes
checking for nis_list... no
checking for setuid... yes
checking for seteuid... yes
checking for setreuid... yes
checking for setresuid... yes
checking for setsid... yes
checking for memcpy... yes
checking for memmove... yes
checking for strstr... yes
checking for strerror... yes
checking for strtoul... yes
checking for getrlimit... yes
checking for getrusage... yes
checking for setlocale... yes
checking for isblank... yes
checking for iswblank... yes
checking for uname... yes
checking for signgam... yes
checking for tgamma... yes
checking for log2... yes
checking for scalbn... yes
checking for putenv... yes
checking for getenv... yes
checking for setenv... yes
checking for unsetenv... yes
checking for xw... no
checking for brk... yes
checking for sbrk... yes
checking for pathconf... yes
checking for sysconf... yes
checking for tgetent... yes
checking for tigetflag... yes
checking for tigetnum... yes
checking for tigetstr... yes
checking for setupterm... yes
checking for initscr... yes
checking for resize_term... yes
checking for getcchar... yes
checking for setcchar... yes
checking for waddwstr... yes
checking for wget_wch... yes
checking for win_wch... yes
checking for use_default_colors... yes
checking for nl_langinfo... yes
checking for erand48... yes
checking for open_memstream... yes
checking for posix_openpt... yes
checking for wctomb... yes
checking for iconv... (cached) yes
checking for isinf... yes
checking for isnan... yes
checking for grantpt... yes
checking for unlockpt... yes
checking for ptsname... yes
checking for htons... yes
checking for ntohs... yes
checking for regcomp... yes
checking for regexec... yes
checking for regerror... yes
checking for regfree... yes
checking for gdbm_open... no
checking for getxattr... yes
checking for realpath... yes
checking for canonicalize_file_name... yes
checking for symlink... yes
checking for getcwd... yes
checking for cygwin_conv_path... no
checking for nanosleep... yes
checking for srand_deterministic... no
checking for setutxent... yes
checking for getutxent... yes
checking for endutxent... yes
checking for getutent... yes
checking for getline... yes
checking for working strcoll... yes
checking if realpath accepts NULL... yes
checking if tgetent accepts NULL... no
checking if tgetent returns 0 on success... no
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for munmap... yes
checking for msync... yes
checking whether getpgrp requires zero arguments... yes
checking for dlopen... yes
checking for dlerror... yes
checking for dlsym... yes
checking for dlclose... yes
checking for load... no
checking for loadquery... no
checking for loadbind... no
checking for unload... no
checking for shl_load... no
checking for shl_unload... no
checking for shl_findsym... no
checking if getxattr etc. are Linux-like... yes
checking if getxattr etc. are usable... yes
checking what style of signals to use... POSIX_SIGNALS
checking where signal.h is located... /usr/include/bits/signum-arch.h /usr/include/bits/signum-generic.h
checking where error names are located... /usr/include/asm-generic/errno.h /usr/include/bits/errno.h /usr/include/asm-generic/errno-base.h
checking location of curses header... ncurses.h
checking where curses key definitions are located... /usr/include/curses.h
checking for ncursesw/term.h... no
checking for ncurses/term.h... no
checking for term.h... yes
checking where term.h is located... term.h
checking if boolcodes is available... no
checking if numcodes is available... no
checking if strcodes is available... no
checking if boolnames is available... no
checking if numnames is available... no
checking if strnames is available... no
checking if tgoto prototype is missing... no
checking where the RLIMIT macros are located... /usr/include/bits/resource.h
checking if rlim_t is longer than a long... no
checking if the rlim_t is unsigned... no
checking for rlim_t... yes
checking for limit RLIMIT_AIO_MEM... no
checking for limit RLIMIT_AIO_OPS... no
checking for limit RLIMIT_AS... yes
checking for limit RLIMIT_LOCKS... yes
checking for limit RLIMIT_MEMLOCK... yes
checking for limit RLIMIT_NPROC... yes
checking for limit RLIMIT_NTHR... no
checking for limit RLIMIT_NOFILE... yes
checking for limit RLIMIT_PTHREAD... no
checking for limit RLIMIT_RSS... yes
checking for limit RLIMIT_SBSIZE... no
checking for limit RLIMIT_TCACHE... no
checking for limit RLIMIT_VMEM... no
checking for limit RLIMIT_SIGPENDING... yes
checking for limit RLIMIT_MSGQUEUE... yes
checking for limit RLIMIT_NICE... yes
checking for limit RLIMIT_RTPRIO... yes
checking for limit RLIMIT_POSIXLOCKS... no
checking for limit RLIMIT_NPTS... no
checking for limit RLIMIT_SWAP... no
checking for limit RLIMIT_KQUEUES... no
checking if RLIMIT_VMEM and RLIMIT_RSS are the same... no
checking if RLIMIT_VMEM and RLIMIT_AS are the same... no
checking if RLIMIT_RSS and RLIMIT_AS are the same... no
checking for struct rusage.ru_maxrss... yes
checking for struct rusage.ru_ixrss... yes
checking for struct rusage.ru_idrss... yes
checking for struct rusage.ru_isrss... yes
checking for struct rusage.ru_minflt... yes
checking for struct rusage.ru_majflt... yes
checking for struct rusage.ru_nswap... yes
checking for struct rusage.ru_inblock... yes
checking for struct rusage.ru_oublock... yes
checking for struct rusage.ru_msgsnd... yes
checking for struct rusage.ru_msgrcv... yes
checking for struct rusage.ru_nsignals... yes
checking for struct rusage.ru_nvcsw... yes
checking for struct rusage.ru_nivcsw... yes
checking for /dev/fd filesystem... /proc/self/fd
checking for RFS superroot directory... no
checking whether we should use the native getcwd... no
checking whether getcwd calls malloc to allocate memory... yes
checking for setproctitle... no
checking for library containing setproctitle... no
checking for NIS... no
checking for NIS+... no
checking for utmp file... /var/run/utmp
checking for wtmp file... /var/log/wtmp
checking for utmpx file... no
checking for wtmpx file... no
checking for brk() prototype in <unistd.h>... yes
checking for sbrk() prototype in <unistd.h>... yes
checking for mknod prototype in <sys/stat.h>... yes
checking for ioctl prototype in <unistd.h> or <termios.h>... no
checking for ioctl prototype in <sys/ioctl.h>... yes
checking if named FIFOs work... no
checking if link() works... no
checking if kill(pid, 0) returns ESRCH correctly... no
checking if POSIX sigsuspend() works... no
checking if getpwnam() is faked... yes
checking base type of the third argument to accept... socklen_t
checking if your system has /dev/ptmx... yes
checking if /dev/ptmx is usable... yes
configure: checking for functions supporting multibyte characters
checking for iswalnum... yes
checking for iswcntrl... yes
checking for iswdigit... yes
checking for iswgraph... yes
checking for iswlower... yes
checking for iswprint... yes
checking for iswpunct... yes
checking for iswspace... yes
checking for iswupper... yes
checking for iswxdigit... yes
checking for mbrlen... yes
checking for mbrtowc... yes
checking for towupper... yes
checking for towlower... yes
checking for wcschr... yes
checking for wcscpy... yes
checking for wcslen... yes
checking for wcsncmp... yes
checking for wcsncpy... yes
checking for wcrtomb... yes
checking for wcwidth... yes
checking for wmemchr... yes
checking for wmemcmp... yes
checking for wmemcpy... yes
checking for wmemmove... yes
checking for wmemset... yes
configure: all functions found, multibyte support enabled
checking if the wcwidth() and/or iswprint() functions are broken... no
checking if the isprint() function is broken... no
checking if your system uses ELF binaries... no
checking if we can use -rdynamic... yes
checking if your dlsym() needs a leading underscore...
checking if environ is available in shared libraries... no
checking if tgetent is available in shared libraries... no
checking if tigetstr is available in shared libraries... no
configure: creating ./config.status
config.status: creating Config/defs.mk
config.status: creating Makefile
config.status: creating Src/Makefile
config.status: creating Test/Makefile
config.status: creating config.h
config.status: executing config.modules commands
creating ./config.modules
config.status: executing stamp-h commands
zsh configuration
-----------------
zsh version : 5.3.1-dev-0
host operating system : x86_64-unknown-linux-gnu
source code location : .
compiler : gcc
preprocessor flags : -I/usr/local/include
executable compiler flags : -g -Wall -O3
executable linker flags : -L/usr/local/lib -rdynamic
library flags : -ldl -lncursesw -lrt -lm -lc
installation basename : zsh
binary install path : /usr/local/bin
man page install path : /usr/local/share/man
info install path : /usr/local/share/info
functions install path : /usr/local/share/zsh/5.3.1-dev-0/functions
See config.modules for installed modules and functions.
-- make --
cd Src && make prefix='/usr/local' exec_prefix='/usr/local' bindir='/usr/local/bin' libdir='/usr/local/lib' MODDIR='/usr/local/lib/zsh/5.3.1-dev-0' infodir='/usr/local/share/info' mandir='/usr/local/share/man' datadir='/usr/local/share' fndir='/usr/local/share/zsh/5.3.1-dev-0/functions' htmldir='/usr/local/share/zsh/htmldoc' runhelpdir='/usr/local/share/zsh/5.3.1-dev-0/help' CC='gcc' CPPFLAGS='-I/usr/local/include' DEFS='-DHAVE_CONFIG_H' CFLAGS='-g -Wall -O3' LDFLAGS='-L/usr/local/lib' EXTRA_LDFLAGS='-rdynamic' DLCFLAGS='-fPIC' DLLDFLAGS='-shared' LIBLDFLAGS='' EXELDFLAGS='' LIBS='-ldl -lncursesw -lrt -lm -lc' DL_EXT='so' DLLD='ld' AWK='gawk' ANSI2KNR=': ansi2knr' YODL=': yodl ' YODL2TXT=': yodl2txt' YODL2HTML=': yodl2html' FUNCTIONS_INSTALL='' tzsh='zsh' all
make[1]: Entering directory '/home/ravi/.local/share/zinit/module/Src'
cd .. && /bin/sh $top_srcdir/Src/mkmakemod.sh Src Makemod
creating Src/Makemod.in
config.status: creating Src/Makemod
make[2]: Entering directory '/home/ravi/.local/share/zinit/module/Src'
gawk -f ./signames1.awk /usr/include/bits/signum-arch.h /usr/include/bits/signum-generic.h >sigtmp.c
case "`gcc -E --version </dev/null 2>&1`" in \
*"Free Software Foundation"*) \
gcc -E -P sigtmp.c >sigtmp.out;; \
*) \
gcc -E sigtmp.c >sigtmp.out;; \
esac
gawk -f ./signames2.awk sigtmp.out > signames.c
rm -f sigtmp.c sigtmp.out
gawk -f ../Src/makepro.awk signames.c Src > signames.syms
gawk: ../Src/makepro.awk:124: warning: regexp escape sequence `\=' is not a known regexp operator
gawk -f ../Src/makepro.awk builtin.c Src > builtin.syms
gawk: ../Src/makepro.awk:124: warning: regexp escape sequence `\=' is not a known regexp operator
gawk -f ../Src/makepro.awk module.c Src > module.syms
gawk: ../Src/makepro.awk:124: warning: regexp escape sequence `\=' is not a known regexp operator
gawk -f ../Src/makepro.awk lex.c Src > lex.syms
gawk: ../Src/makepro.awk:124: warning: regexp escape sequence `\=' is not a known regexp operator
gawk -f ../Src/makepro.awk exec.c Src > exec.syms
gawk: ../Src/makepro.awk:124: warning: regexp escape sequence `\=' is not a known regexp operator
gawk -f ../Src/makepro.awk mem.c Src > mem.syms
gawk: ../Src/makepro.awk:124: warning: regexp escape sequence `\=' is not a known regexp operator
gawk -f ../Src/makepro.awk string.c Src > string.syms
gawk: ../Src/makepro.awk:124: warning: regexp escape sequence `\=' is not a known regexp operator
gawk -f ../Src/makepro.awk parse.c Src > parse.syms
gawk: ../Src/makepro.awk:124: warning: regexp escape sequence `\=' is not a known regexp operator
gawk -f ../Src/makepro.awk hashtable.c Src > hashtable.syms
gawk: ../Src/makepro.awk:124: warning: regexp escape sequence `\=' is not a known regexp operator
gawk -f ../Src/makepro.awk init.c Src > init.syms
gawk: ../Src/makepro.awk:124: warning: regexp escape sequence `\=' is not a known regexp operator
gawk -f ../Src/makepro.awk input.c Src > input.syms
gawk: ../Src/makepro.awk:124: warning: regexp escape sequence `\=' is not a known regexp operator
gawk -f ../Src/makepro.awk loop.c Src > loop.syms
gawk: ../Src/makepro.awk:124: warning: regexp escape sequence `\=' is not a known regexp operator
gawk -f ../Src/makepro.awk utils.c Src > utils.syms
gawk: ../Src/makepro.awk:124: warning: regexp escape sequence `\=' is not a known regexp operator
gawk -f ../Src/makepro.awk params.c Src > params.syms
gawk: ../Src/makepro.awk:124: warning: regexp escape sequence `\=' is not a known regexp operator
gawk -f ../Src/makepro.awk options.c Src > options.syms
gawk: ../Src/makepro.awk:124: warning: regexp escape sequence `\=' is not a known regexp operator
gawk -f ../Src/makepro.awk signals.c Src > signals.syms
gawk: ../Src/makepro.awk:124: warning: regexp escape sequence `\=' is not a known regexp operator
gawk -f ../Src/makepro.awk pattern.c Src > pattern.syms
gawk: ../Src/makepro.awk:124: warning: regexp escape sequence `\=' is not a known regexp operator
gawk -f ../Src/makepro.awk prompt.c Src > prompt.syms
gawk: ../Src/makepro.awk:124: warning: regexp escape sequence `\=' is not a known regexp operator
gawk -f ../Src/makepro.awk compat.c Src > compat.syms
gawk: ../Src/makepro.awk:124: warning: regexp escape sequence `\=' is not a known regexp operator
gawk -f ../Src/makepro.awk jobs.c Src > jobs.syms
gawk: ../Src/makepro.awk:124: warning: regexp escape sequence `\=' is not a known regexp operator
gawk -f ../Src/makepro.awk glob.c Src > glob.syms
gawk: ../Src/makepro.awk:124: warning: regexp escape sequence `\=' is not a known regexp operator
make[2]: Leaving directory '/home/ravi/.local/share/zinit/module/Src'
make[2]: Entering directory '/home/ravi/.local/share/zinit/module/Src'
grep 'define.*SIGCOUNT' signames.c > sigcount.h
make[3]: Entering directory '/home/ravi/.local/share/zinit/module/Src'
make[3]: Leaving directory '/home/ravi/.local/share/zinit/module/Src'
Updated `zsh.mdh'.
echo 'timestamp for zsh.mdh against zsh.mdd' > zsh.mdhs
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < signames.syms) \
> signames.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < signames.syms) \
> `echo signames.epro | sed 's/\.epro$/.pro/'`
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < builtin.syms) \
> builtin.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < builtin.syms) \
> `echo builtin.epro | sed 's/\.epro$/.pro/'`
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < module.syms) \
> module.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < module.syms) \
> `echo module.epro | sed 's/\.epro$/.pro/'`
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < lex.syms) \
> lex.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < lex.syms) \
> `echo lex.epro | sed 's/\.epro$/.pro/'`
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < exec.syms) \
> exec.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < exec.syms) \
> `echo exec.epro | sed 's/\.epro$/.pro/'`
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < mem.syms) \
> mem.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < mem.syms) \
> `echo mem.epro | sed 's/\.epro$/.pro/'`
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < string.syms) \
> string.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < string.syms) \
> `echo string.epro | sed 's/\.epro$/.pro/'`
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < parse.syms) \
> parse.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < parse.syms) \
> `echo parse.epro | sed 's/\.epro$/.pro/'`
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < hashtable.syms) \
> hashtable.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < hashtable.syms) \
> `echo hashtable.epro | sed 's/\.epro$/.pro/'`
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < init.syms) \
> init.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < init.syms) \
> `echo init.epro | sed 's/\.epro$/.pro/'`
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < input.syms) \
> input.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < input.syms) \
> `echo input.epro | sed 's/\.epro$/.pro/'`
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < loop.syms) \
> loop.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < loop.syms) \
> `echo loop.epro | sed 's/\.epro$/.pro/'`
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < utils.syms) \
> utils.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < utils.syms) \
> `echo utils.epro | sed 's/\.epro$/.pro/'`
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < params.syms) \
> params.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < params.syms) \
> `echo params.epro | sed 's/\.epro$/.pro/'`
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < options.syms) \
> options.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < options.syms) \
> `echo options.epro | sed 's/\.epro$/.pro/'`
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < signals.syms) \
> signals.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < signals.syms) \
> `echo signals.epro | sed 's/\.epro$/.pro/'`
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < pattern.syms) \
> pattern.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < pattern.syms) \
> `echo pattern.epro | sed 's/\.epro$/.pro/'`
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < prompt.syms) \
> prompt.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < prompt.syms) \
> `echo prompt.epro | sed 's/\.epro$/.pro/'`
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < compat.syms) \
> compat.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < compat.syms) \
> `echo compat.epro | sed 's/\.epro$/.pro/'`
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < jobs.syms) \
> jobs.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < jobs.syms) \
> `echo jobs.epro | sed 's/\.epro$/.pro/'`
(echo '/* Generated automatically */'; sed -n '/^E/{s/^E//;p;}' < glob.syms) \
> glob.epro
(echo '/* Generated automatically */'; sed -n '/^L/{s/^L//;p;}' < glob.syms) \
> `echo glob.epro | sed 's/\.epro$/.pro/'`
make[3]: Entering directory '/home/ravi/.local/share/zinit/module/Src'
make[3]: Leaving directory '/home/ravi/.local/share/zinit/module/Src'
Updated `zsh.mdh'.
make -f Makemod prefix='/usr/local' exec_prefix='/usr/local' bindir='/usr/local/bin' libdir='/usr/local/lib' MODDIR='/usr/local/lib/zsh/5.3.1-dev-0' infodir='/usr/local/share/info' mandir='/usr/local/share/man' datadir='/usr/local/share' fndir='/usr/local/share/zsh/5.3.1-dev-0/functions' htmldir='/usr/local/share/zsh/htmldoc' runhelpdir='/usr/local/share/zsh/5.3.1-dev-0/help' CC='gcc' CPPFLAGS='-I/usr/local/include' DEFS='-DHAVE_CONFIG_H' CFLAGS='-g -Wall -O3' LDFLAGS='-L/usr/local/lib' EXTRA_LDFLAGS='-rdynamic' DLCFLAGS='-fPIC' DLLDFLAGS='-shared' LIBLDFLAGS='' EXELDFLAGS='' LIBS='-ldl -lncursesw -lrt -lm -lc' DL_EXT='so' DLLD='ld' AWK='gawk' ANSI2KNR=': ansi2knr' YODL=': yodl ' YODL2TXT=': yodl2txt' YODL2HTML=': yodl2html' FUNCTIONS_INSTALL='' tzsh='zsh' prep
make[3]: Entering directory '/home/ravi/.local/share/zinit/module/Src'
make[3]: Leaving directory '/home/ravi/.local/share/zinit/module/Src'
echo 'timestamp for *.mdd files' > ../Src/modules.stamp
make[2]: Leaving directory '/home/ravi/.local/share/zinit/module/Src'
make[2]: Entering directory '/home/ravi/.local/share/zinit/module/Src'
make[2]: Leaving directory '/home/ravi/.local/share/zinit/module/Src'
make[1]: Leaving directory '/home/ravi/.local/share/zinit/module/Src'
Module has been built correctly.
To load the module, add following 2 lines to .zshrc, at top:
module_path+=( "/home/ravi/.local/share/zinit/module/Src" )
zmodload zdharma_continuum/zinit
After loading, use command `zpmod' to communicate with the module.
See `zpmod -h' for more information.
zsh: command not found: zpmod
% module_path+=( "/home/ravi/.local/share/zinit/module/Src" )
% zpmod
zsh: command not found: zpmod
% fd -e so . /home/ravi/.local/share/zinit/module
% find /home/ravi/.local/share/zinit/module -type f -name "*.so"
% zmodload zdharma_continuum/zinit
zsh: failed to load module `zdharma_continuum/zinit': /home/ravi/.local/share/zinit/module/Src/zdharma_continuum/zinit.so: cannot open shared object file: No such file or directory
%
Expected behavior
zpmod command can run
Screenshots and recordings
No response
Operating System & Version
linux-gnu | pc | x86_64 | x86_64 | x86_64 unknown
Zsh version
zsh 5.9 (x86_64-pc-linux-gnu)
Terminal emulator
tmux-256color -- wezterm
If using WSL on Windows, which version of WSL
None
Additional context
No response
I'm seeing similar behavior on macos 15 with zsh 5.9 where the 'zinit module build' commad reports a successful build and outpts the following:
Module has been built correctly.
To load the module, add following 2 lines to .zshrc, at top:
module_path+=( "/Users/bryan.cole/.zinit/module/Src" )
zmodload zdharma_continuum/zinit
After loading, use command `zpmod' to communicate with the module.
See `zpmod -h' for more information.
But the zmodload command fails with the following output:
❯ zmodload zdharma_continuum/zinit
zsh: failed to load module `zdharma_continuum/zinit': dlopen(/Users/bryan.cole/.zinit/module/Src/zdharma_continuum/zinit.bundle, 0x0009): tried: '/Users/bryan.cole/.zinit/module/Src/zdharma_continuum/zinit.bundle' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/bryan.cole/.zinit/module/Src/zdharma_continuum/zinit.bundle' (no such file), '/Users/bryan.cole/.zinit/module/Src/zdharma_continuum/zinit.bundle' (no such file)
The only files contained in that path zdharma_continuum directory are:
❯ ls -la ~/.zinit/module/Src/zdharma_continuum/
total 68
drwxr-xr-x 7 bryan.cole 224 Sep 5 13:28 .
drwxr-xr-x 118 bryan.cole 3776 Sep 5 14:29 ..
-rw-r--r-- 1 bryan.cole 156 Sep 5 13:28 .cvsignore
-rw-r--r-- 1 bryan.cole 18 Sep 5 13:28 .distfiles
-rw-r--r-- 1 bryan.cole 16 Sep 5 13:28 .exrc
-rw-r--r-- 1 bryan.cole 50209 Sep 5 13:28 zinit.c
-rw-r--r-- 1 bryan.cole 86 Sep 5 13:28 zinit.mdd