Adding an architecture to a PPA doesn't automatically trigger builds

Bug #624142 reported by LaMont Jones
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

If there are no builders for a given (virtualized, architecture) tuple when a source upload is processed, no build records get created for that
architecture.

There are really several cases here:
1) we don't build that tuple ever (e.g., virtualized sparc)
2) all of the builders for that tuple are down at the moment, or off doing other stuff (I expect the latter to fall out of the automigration of builders across compatible architectures, e.g. amd64/i386/lpia - if not for this issue, I'd be tempted to temporarily move the last lpia buildd to i386 sometimes)

Additionally, it's possible (in a ppa at least) that a user might want to:
1) delete an architecture's build record for a ppa he controls,
2) create an architecture's build record to handle the aftermath of (a) this bug, (b) PaS changes, or (c) previous deletion per the line above.

thanks,
lamont

Revision history for this message
Julian Edwards (julian-edwards) wrote :

It seems the actual problem is that we don't have a decent way of creating new builds. There's already a script:
scripts/ppa-add-missing-builds.py
that adds builds in PPAs. We should extend this so we can be more selective over which package we want to add builds for, and also make it work for the Ubuntu archive.

tags: added: soyuz-build soyuz-ftpmaster-tools
Changed in soyuz:
status: New → Triaged
importance: Undecided → Medium
Changed in launchpad:
importance: Medium → Low
Revision history for this message
William Grant (wgrant) wrote :

The "lack of builders causes no build records" thing is an urban legend that has no truth behind it. scripts/add-missing-builds.py now works for all archives, but it's still a bit awkward to have to run it manually.

summary: - lack of builders causes no build records
+ Adding an architecture to a PPA doesn't automatically trigger builds
Revision history for this message
Vincent Bernat (vbernat) wrote :

With the recent addition of ppc64el, is it possible to trigger a build for this architecture while it wasn't available when the source package was uploaded? Is that something that can be requested?

Revision history for this message
Mattia Rizzolo (mapreri) wrote :

I had to do that and with the help of cjwatson I found out you can do that with
copy-package -A ppa:$user/ubuntu/$ppa --from-suite $suite --to-suite $trusty -e $pkgversion -b -n $pkg
(copy-package is from lp:ubuntu-archive-tools) you can do that.
Alternatively you can do that from the web ui, by selecting "copy package", chosing the same suite of destionation, the same archive (ppa) of destination, and asking to carry on binaries
Either way it'll trigger a rebuild of missing binaries (=> the newly added architecture).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.