Public bug reported:

[Impact]
clevis FTBFS when bash-completion is installed. When the build system detects 
that bash-completion is present, it will install a bash-completion snippet. 
However, this file is not in any dh .install files and the package build calls 
w/ 'dh_missing --fail-missing', so it errors out with:

dh_missing: usr/share/bash-completion/completions/clevis exists in
debian/tmp but is not installed to anywhere

[Test Case]
Install clevis build-deps & bash-completion, build.

[Fix]
Add the snippet to debian/not-installed, allowing the build to complete without 
installing the completion snippet. Alternatively, we could introduce the 
completion snippet in an SRU - that's how it was fixed in focal - but that has 
slightly more risk than just leaving it out.

[Regression Risk]
As the fix shouldn't change what files are shipped in the package, I can't 
think of any specific regression risk here.

** Affects: clevis (Ubuntu)
     Importance: Undecided
         Status: Fix Released

** Affects: clevis (Ubuntu Eoan)
     Importance: Undecided
     Assignee: dann frazier (dannf)
         Status: In Progress

** Also affects: clevis (Ubuntu Eoan)
   Importance: Undecided
       Status: New

** Changed in: clevis (Ubuntu Eoan)
       Status: New => In Progress

** Changed in: clevis (Ubuntu Eoan)
     Assignee: (unassigned) => dann frazier (dannf)

** Changed in: clevis (Ubuntu)
       Status: New => Fix Released

** Description changed:

  [Impact]
  clevis FTBFS when bash-completion is installed. When the build system detects 
that bash-completion is present, it will install a bash-completion snippet. 
However, this file is not in any dh .install files and the package build calls 
w/ 'dh_missing --fail-missing', so it errors out with:
  
  dh_missing: usr/share/bash-completion/completions/clevis exists in
  debian/tmp but is not installed to anywhere
  
  [Test Case]
  Install clevis build-deps & bash-completion, build.
  
  [Fix]
- Add the snippet to debian/not-installed, allowing the build to complete 
without installing the completion snippet. Alternatively, we could introduce 
the completion snippet in an SRU, but that has slightly more risk than just 
leaving it out.
+ Add the snippet to debian/not-installed, allowing the build to complete 
without installing the completion snippet. Alternatively, we could introduce 
the completion snippet in an SRU - that's how it was fixed in focal - but that 
has slightly more risk than just leaving it out.
  
  [Regression Risk]
  As the fix shouldn't change what files are shipped in the package, I can't 
think of any specific regression risk here.

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

Title:
  FTBFS when bash-completion installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/clevis/+bug/1872846/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to