Public bug reported: Sometimes, Ubuntu needs to 1) have different Build-Depends than Debian, or 2) have different dependencies than Debian, or 3) build a binary package that Debian doesn't need or want.
For #1, we've sometimes used alternate Build-Depends but that can get awkward and is a bit of a hack. For #2, we often override dh_gencontrol (dpkg-gencontrol) to set some of the dependencies. An example of #3 is the ubuntu-software package provided by the gnome-software source. One possible improvement would be to add an Ubuntu build profile similar to the popular nocheck build profile. That should allow certain dependencies, Build-Depends, and binary packages to be marked only for Ubuntu or not for Ubuntu. Why? ==== 1. Ubuntu's main/universe split forces some packages to have fewer dependencies in Ubuntu to avoid adding some packages to main. 2. Ubuntu desires certain functionality out of the box. For instance, Ubuntu's gnome-software recommends the Snap plugin. 3. Sometimes, it's more complicated. For instance, Debian's s390x architecture currently doesn't build the golang-go compiler. See https://bugs.debian.org/882563 See also ======== https://wiki.debian.org/BuildProfileSpec (especially the final section which claims this proposal would be a bad idea) ** Affects: sbuild (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1734339 Title: Add an Ubuntu build profile To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sbuild/+bug/1734339/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
