determine_architectures_to_build creates no builds for arch-indep source when nominatedarchindep is unbuildable

Bug #1530217 reported by James Troup on 2015-12-30
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
William Grant

Bug Description

I have a trusty PPA with i386 disabled; AIUI when I upload a source
package which has architecture all binaries the source package should
get built on amd64. However, that's not what happens, instead I get
an 'Accepted' mail which complains that it can't build the
architecture all binary and the upload is discarded.

This is an example of such a mail:

Date: Wed, 30 Dec 2015 22:18:15 -0000
From: Launchpad PPA <email address hidden>
To: James Troup <email address hidden>
Subject: [~elmo/ubuntu/prometheus/trusty] golang-golang-x-net-dev 1:0.0+git20150817.66f0418-1ppa2 (Accepted)

 OK: golang-golang-x-net-dev_0.0+git20150817.66f0418.orig.tar.gz
 OK: golang-golang-x-net-dev_0.0+git20150817.66f0418-1ppa2.debian.tar.gz
 OK: golang-golang-x-net-dev_0.0+git20150817.66f0418-1ppa2.dsc
     -> Component: main Section: devel
Cannot build any of the architectures requested: all

golang-golang-x-net-dev (1:0.0+git20150817.66f0418-1ppa2) trusty; urgency=low

  * No change upload to force a build on amd64.

You are receiving this email because you made this upload.

Related branches

William Grant (wgrant) wrote :

The erroneous Accepted email is bug #1530220.

summary: - A trusty PPA with i386 disabled accepts and then discards packages with
- arch all binaries
+ determine_architectures_to_build creates no builds for arch-indep source
+ when nominatedarchindep is unbuildable
William Grant (wgrant) wrote :

determine_architectures_to_build will only ever add nominatedarchindep to the architectures specified by the hintlist. We should probably prefer nominatedarchindep but fall back to the full list in usual by-ID order if it's unavailable.

Changed in launchpad:
importance: Undecided → High
status: New → Triaged
tags: added: soyuz-build
William Grant (wgrant) on 2015-12-30
Changed in launchpad:
assignee: nobody → William Grant (wgrant)
status: Triaged → In Progress
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Changed in launchpad:
status: In Progress → Fix Committed
Colin Watson (cjwatson) on 2016-01-07
tags: added: qa-ok
removed: qa-needstesting
Colin Watson (cjwatson) on 2016-01-08
Changed in launchpad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers