[Bug 1734339] Re: Add an Ubuntu build profile
Jeremy Bicha
jeremy at bicha.net
Tue Dec 5 18:37:27 UTC 2017
ubuntu-devel is moderated to official Ubuntu Developers, so feel free to
ping in #ubuntu-devel if you need an email you send there pushed through
the moderation queue.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to sbuild in Ubuntu.
https://bugs.launchpad.net/bugs/1734339
Title:
Add an Ubuntu build profile
Status in sbuild package in Ubuntu:
New
Bug description:
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)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sbuild/+bug/1734339/+subscriptions
More information about the foundations-bugs
mailing list