[Pkg-zsh-devel] Bug#1034323: zsh-common: Completion problem for rubber 1.6.0
Nick Hastings
sengen281 at gmail.com
Thu Apr 13 00:26:31 BST 2023
Package: zsh-common
Version: 5.9-4
Severity: normal
Dear Maintainer,
the completion for rubber (latex build wrapper) provided in
/usr/share/zsh/functions/Completion/Unix/_rubber
tries to set a shell variable "_rubber_version" using the line:
eval $(rubber --version 2>/dev/null | sed 's/^.* \([^ ]*\): */_rubber_\1=/')
In bullseye:
% rubber --version
Rubber version: 1.5.1
In bookworm:
% rubber --version
rubber 1.6.0
So the sed recipie works in bullseye but fails in bookworm. One that
works and is backwards compatible with 1.5.1 is:
_rubber_version=$(rubber --version 2>/dev/null | sed -e 's/^.* //')
However perhaps the original is backwards compatible with earlier versions too.
Regards,
Nick.
-- Package-specific info:
Packages which provide code meant to be sourced in .zshrc:
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=======================-============-============-=================================================
ii python3-powerline 2.8.3-4 all prompt and statusline utility (Python 3.x module)
ii thefuck 3.29-0.3 all spelling corrector of console commands
ii zsh-syntax-highlighting 0.7.1-2 all Fish shell like syntax highlighting for zsh
Packages which provide vendor completions:
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=================-==========================-============-=======================================================================
ii borgbackup 1.2.3-1+b1 amd64 deduplicating and compressing backup program
ii bubblewrap 0.8.0-2 amd64 utility for unprivileged chroot and namespace manipulation
ii calibre 6.13.0+repack-2 all powerful and easy to use e-book manager
ii curl 7.88.1-7 amd64 command line tool for transferring data with URL syntax
ii dpkg-dev 1.21.21 all Debian package development tools
ii flatpak 1.14.4-1 amd64 Application deployment framework for desktop apps
ii foot 1.13.1-2 amd64 Fast, lightweight and minimalistic Wayland terminal emulator
ii gh 2.23.0+dfsg1-1 amd64 GitHub CLI, GitHub’s official command line tool
ii git-buildpackage 0.9.30 all Suite to help with Debian packages in Git repositories
ii git-flow 1.12.3-3 all Git extension to provide a high-level branching model
ii khal 1:0.10.5-1.1 all Standards based CLI and terminal calendar program
ii khard 0.18.0-1 all address book for the Linux console
ii mako-notifier 1.7.1-1+b1 amd64 lightweight notification daemon for Wayland compositors
ii mercurial-common 6.3.2-1 all easy-to-use, scalable distributed version control system (common files)
ii meson 1.0.1-5 all high-productivity build system
ii mpv 0.35.1-1 amd64 video player based on MPlayer/mplayer2
ii ninja-build 1.11.1-1 amd64 small build system closest in spirit to Make
ii notmuch 0.37-1+b1 amd64 thread-based email index, search and tagging
ii pass 1.7.4-6 all lightweight directory-based password manager
ii pdfgrep 2.1.2-1 amd64 search in pdf files for strings matching a regular expression
ii playerctl 2.4.1-2 amd64 utility to control media players via MPRIS
ii pulseaudio-utils 16.1+dfsg1-2+b1 amd64 Command line tools for the PulseAudio sound server
ii ripgrep 13.0.0-4+b2 amd64 Recursively searches directories for a regex pattern
ii river-head 0.3.0-dev.109+b369815-1 amd64 Dynamic tiling Wayland compositor
ii sway 1.7-6 amd64 i3-compatible Wayland compositor
ii swayidle 1.8.0-1 amd64 Idle management daemon for Wayland
ii swaylock 1.7.2-1 amd64 Screen locker for Wayland
ii systemd 252.6-1 amd64 system and service manager
ii systemd-container 252.6-1 amd64 systemd container/nspawn tools
ii systemd-coredump 252.6-1 amd64 tools for storing and retrieving coredumps
ii todoman 4.1.0-1 all Simple CalDAV-based todo manager
ii torsocks 2.4.0-1 amd64 use SOCKS-friendly applications with Tor
ii udev 252.6-1 amd64 /dev/ and hotplug management daemon
ii udiskie 2.4.2-1 all automounter for removable media for Python
ii vlc-bin 3.0.18-2 amd64 binaries from VLC
ii wl-clipboard 2.1.0-0.1+b1 amd64 command line interface to the wayland clipboard
ii xss-lock 0.3.0+git20230128.0c562b-1 amd64 invoke external screen lock in response to XScreenSaver events
ii zathura 0.5.2-1 amd64 document viewer with a minimalistic interface
dpkg-query: no path found matching pattern /usr/share/zsh/vendor-functions/
-- System Information:
Debian Release: 12.0
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.0.0-5-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
zsh-common depends on no packages.
Versions of packages zsh-common recommends:
ii zsh 5.9-4
Versions of packages zsh-common suggests:
pn zsh-doc <none>
-- no debconf information
More information about the Pkg-zsh-devel
mailing list