umt build/binary fails to set the schroot architecture even when passed explicitly
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.
Version with epoch is: 2022c-0ubuntu0.
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/
sbuild command is: /usr/bin/sbuild --chroot-
sbuild (Debian sbuild) 0.81.2ubuntu6 (16 February 2022) on baru
+======
| tzdata 2022c-0ubuntu0.
+======
Package: tzdata
Version: 2022c-0ubuntu0.
Source Version: 2022c-0ubuntu0.
Distribution: trusty-esm-i386
Machine Architecture: amd64
Host Architecture: amd64
Build Architecture: amd64
Build Type: binary
Keeping session: trusty-
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_
Machine Architecture: amd64
Package: tzdata
Package-Time: 0
Source-Version: 2022c-0ubuntu0.
Space: 0
Status: failed
Version: 2022c-0ubuntu0.
-------
Finished at 2022-09-
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.
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 |