← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1926949] Re: FTBFS: apt can't resolve `dh-systemd | debhelper (>= 13.3)`

 

** Also affects: ubuntu-advantage-tools (Ubuntu Impish)
   Importance: Low
     Assignee: Grant Orndorff (orndorffgrant)
       Status: Fix Committed

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1926949

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

Status in ubuntu-advantage-tools package in Ubuntu:
  Fix Committed
Status in ubuntu-advantage-tools source package in Xenial:
  New
Status in ubuntu-advantage-tools source package in Bionic:
  New
Status in ubuntu-advantage-tools source package in Focal:
  New
Status in ubuntu-advantage-tools source package in Groovy:
  New
Status in ubuntu-advantage-tools source package in Hirsute:
  New
Status in ubuntu-advantage-tools source package in Impish:
  Fix Committed

Bug description:
  [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.

  [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.

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