umt build/binary fails to set the schroot architecture even when passed explicitly

Bug #1988882 reported by Steve Beattie
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-security-tools
New
Undecided
Unassigned

Bug Description

Attempting to build locally in an esm chroot is failing locally, due to umt not passing the architecture to the schroot despite that fact that I am explicitly passing the architecture to use to umt:

$ umt binary -s --arch i386 -c trusty-esm-i386
Package is: tzdata
Version is: 2022c-0ubuntu0.14.04+esm1
Version with epoch is: 2022c-0ubuntu0.14.04+esm1
Upstream version is: 2022c
Changelog release is: trusty
Release is: trusty/esm
Pocket is: None
Component is: main
Need -sa for source build? False
DEB_BUILD_OPTIONS: parallel=4
Chroot: trusty-esm-i386
Build ulimit = 5242880 (overidden by config)
'../binary' already exists. R)emove, O)verwrite, or A)bort? r

Removing '../binary' ...
real-time non-blocking time (microseconds, -R) unlimited
core file size (blocks, -c) unlimited
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 256241
max locked memory (kbytes, -l) 8220320
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 256241
virtual memory (kbytes, -v) 5242880
file locks (-x) unlimited
WARNING: 'trusty-esm' not a known distribution, falling back to '-d trusty-esm-i386'
ERROR: (see release_* in /home/steve/.ubuntu-security-tools.conf for details)
sbuild command is: /usr/bin/sbuild --chroot-setup-commands /home/steve/tmp/umt-w_dkq_zi --no-apt-update --no-apt-upgrade --no-apt-distupgrade -d trusty-esm-i386 -A tzdata_2022c-0ubuntu0.14.04+esm1.dsc
sbuild (Debian sbuild) 0.81.2ubuntu6 (16 February 2022) on baru

+==============================================================================+
| tzdata 2022c-0ubuntu0.14.04+esm1 (amd64) Tue, 06 Sep 2022 21:56:06 +0000 |
+==============================================================================+

Package: tzdata
Version: 2022c-0ubuntu0.14.04+esm1
Source Version: 2022c-0ubuntu0.14.04+esm1
Distribution: trusty-esm-i386
Machine Architecture: amd64
Host Architecture: amd64
Build Architecture: amd64
Build Type: binary

Keeping session: trusty-esm-i386-2d6345b5-7ebe-4ff3-a115-a1c2b8903a03
E: Requested build architecture (amd64) and chroot architecture (i386) do not match. Skipping build.
I: Please specify the correct architecture with --build, or use a chroot of the correct architecture

+------------------------------------------------------------------------------+
| Summary |
+------------------------------------------------------------------------------+

Build Architecture: amd64
Build Type: binary
Build-Space: 0
Build-Time: 0
Distribution: trusty-esm-i386
Fail-Stage: create-session
Host Architecture: amd64
Install-Time: 0
Job: tzdata_2022c-0ubuntu0.14.04+esm1.dsc
Machine Architecture: amd64
Package: tzdata
Package-Time: 0
Source-Version: 2022c-0ubuntu0.14.04+esm1
Space: 0
Status: failed
Version: 2022c-0ubuntu0.14.04+esm1
--------------------------------------------------------------------------------
Finished at 2022-09-06T21:56:06Z
Build needed 00:00:00, 0k disk space
E: Requested build architecture (amd64) and chroot architecture (i386) do not match. Skipping build.
I: Please specify the correct architecture with --build, or use a chroot of the correct architecture
ERROR: Could not spawn sbuild. Result is: None.

Steve Beattie (sbeattie)
summary: - umt build/binary fails to set the schroot scrhitecture even when passed
+ umt build/binary fails to set the schroot architecture even when passed
explicitly
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.