** Description changed:

  [Impact]
  For sbuild users attempting to build this package locally results in pkg 
build failures due to inability of sbuild to handle the build deps alternatives 
when running:
   sbuild -s --source-only-changes
  
  [Test Plan]
  $ git ubuntu clone ubuntu-advantage-tools
  $ cd ubuntu-advantage-tools
  
  case ($release) in
    hirsute)
        resolve_alt="";;
    xenial|bionic|focal|groovy)
        resolve_alt="--resolve-alternatives";;
  esac
  
  $ sbuild -s --source-only-changes -d $release $resolve_alt
  
  [Where problems could occur]
  
   * Due to using the same d/control on all Ubuntu releases, simpler
  sbuild commandline will require use of `--resolve-alternatives`
  parameter on older releases where sbuild doesn't "seed" those build deps
  alternatives by default.
  
   * This should be low risk as PPAs ppa:ua-client/staging & ppa-
  uaclient/daily are building successfully with these Build-Depends and
  genereally sbuild allows for workarounds with using --resolve-
  alternatives.
+ 
+  * [racb] Mutating the Build-Depends line could cause alternatives to be
+ resolved differently on the buildds, resulting in toolchain changes that
+ might result in different sets of build failures or different build
+ output causing functional issues.
  
  [Other Info]
   ...
  
  [Original Description]
  
  Hello,
  
  [Problem]
  =========
  
  It looks like apt isn't able to resolve `dh-systemd | debhelper (>=
  13.3)`. Whilst the line in logical and makes sense, that is, use dh-
  systemd for Groovy and older releases (since it's not present in Hirsute
  and thereafter) and use debhelper (...) for newer releases, et al.
  
  However, apt is failing to resolve that for some reasons and it's thus
  results in FTBFS.
  
  [Logs]
  ======
  
  Install main build dependencies (apt-based resolver)
  ----------------------------------------------------
  
  Installing build dependencies
  Reading package lists...
  Building dependency tree...
  Reading state information...
  Some packages could not be installed. This may mean that you have
  requested an impossible situation or if you are using the unstable
  distribution that some required packages have not yet been created
  or been moved out of Incoming.
  The following information may help to resolve the situation:
  
  The following packages have unmet dependencies:
   sbuild-build-depends-main-dummy : Depends: dh-systemd but it is not 
installable
  E: Unable to correct problems, you have held broken packages.
  apt-get failed.
  E: Package installation failed
  Not removing build depends: cloned chroot in use
  
  [Reproducer]
  ============
  
  $ git ubuntu clone ubuntu-advantage-tools
  $ cd ubuntu-advantage-tools
  $ sbuild -s --source-only-changes
  
  and that should yield a failed build.

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

Title:
  FTBFS: apt can't resolve `dh-systemd | debhelper (>= 13.3)`

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/1926949/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to