[Bug 1845529] Re: bash completion in 19.10 shows `awk: line 18: function gensub never defined` on ``umount /dev/<Tab>`

Norbert 1845529 at bugs.launchpad.net
Thu Oct 10 21:09:52 UTC 2019


It seems that you have blindly applied non-universal commits from
Debian:

https://git.launchpad.net/ubuntu/+source/bash-completion/log/completions/_umount
https://git.launchpad.net/ubuntu/+source/bash-completion/log/completions/_umount.linux

while they are not compatible with `mawk`.

The `mawk` itself has the same version 1.3.3-17ubuntu3 on 18.04 LTS,
19.04 and 19.10 (see
https://packages.ubuntu.com/search?suite=all&exact=1&searchon=names&keywords=mawk
). So it is not the problem.


So you should change `mawk` dependency to `gawk` on the Ubuntu side or revert these commits inside `bash-completion`.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash-completion in Ubuntu.
https://bugs.launchpad.net/bugs/1845529

Title:
  bash completion in 19.10 shows `awk: line 18: function gensub never
  defined` on ``umount /dev/<Tab>`

Status in bash-completion package in Ubuntu:
  Confirmed
Status in mawk package in Ubuntu:
  Invalid
Status in Debian:
  Confirmed

Bug description:
  Steps to reproduce:
  1. Install Ubuntu MATE 19.10 using minimal desktop option
  2. Open terminal and enter `umount /dev/s` and then hit <Tab>

  Expected result:
  * bash completion works as expected

  Actual results:
  * bash completion does not work :

  $ umount /dev/awk: line 18: function gensub never defined
  awk: line 18: function gensub never defined
  awk: line 18: function gensub never defined
  awk: line 18: function gensub never defined

  
  $ umount /meawk: line 18: function gensub never defined
  awk: line 18: function gensub never defined
  awk: line 18: function gensub never defined
  awk: line 18: function gensub never defined

  ProblemType: Bug
  DistroRelease: Ubuntu 19.10
  Package: bash-completion 1:2.9-1ubuntu1
  ProcVersionSignature: Ubuntu 5.3.0-10.11-generic 5.3.0-rc8
  Uname: Linux 5.3.0-10-generic x86_64
  ApportVersion: 2.20.11-0ubuntu7
  Architecture: amd64
  CurrentDesktop: MATE
  Date: Thu Sep 26 18:46:59 2019
  Dependencies:
   
  InstallationDate: Installed on 2019-09-26 (0 days ago)
  InstallationMedia: Ubuntu-MATE 19.10 "Eoan Ermine" - Beta amd64 (20190926.1)
  PackageArchitecture: all
  SourcePackage: bash-completion
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/1845529/+subscriptions



More information about the foundations-bugs mailing list