Skip to content

Fixup Linux build on newer hosts - #1692

Merged
tdewey-rpi merged 2 commits into
raspberrypi:mainfrom
tdewey-rpi:dev/tdewey/linux-build-strictness
Aug 13, 2026
Merged

Fixup Linux build on newer hosts#1692
tdewey-rpi merged 2 commits into
raspberrypi:mainfrom
tdewey-rpi:dev/tdewey/linux-build-strictness

Conversation

@tdewey-rpi

Copy link
Copy Markdown
Collaborator

No description provided.

Both guides described `release.sh repo` as building "every arch", which is
only true once RELEASE_ARCHES has been set. It defaults to the host
architecture alone, so the command as written built one architecture and
the comment next to it said otherwise.

repo is also the only command that takes more than one architecture, and
it reads them from RELEASE_ARCHES rather than from its arguments — worth
stating, because the natural guess is that `arch` or `appimages` accepts a
list.

Show the inline form the script's own --help already suggests, and the
release.conf form. Note that release.conf.example sets all three, which is
why the same repo command behaves differently depending on whether a
release.conf exists — the sort of difference that otherwise gets diagnosed
as a bug.

Also record that the host architecture is built first, that architectures
build sequentially rather than in parallel, and that a first
three-architecture run builds Qt three times, so it takes hours.
The 2.0.11 changelog entry was written as a bare 2.0.11, dropping the
revision that ca98bbb's own subject line promised. Since 720b900
switched debian/source/format to 3.0 (quilt), a version without a
revision is native as far as Dpkg::Version::is_native is concerned, and
V3::Quilt::can_build refuses to build it:

  dpkg-source: error: can't build with source format '3.0 (quilt)':
  non-native package version does not contain a revision

This went unnoticed because dpkg 1.21.1, on the Ubuntu host the releases
were built on, only emits this as a warning; 1.21.22 and later turn it
into a hard error, so the source build fails outright on a Debian
bookworm or trixie host.

Only the topmost entry is checked, so the older revision-less entries
are left as they are: they date from when the package really was
3.0 (native).
@tdewey-rpi
tdewey-rpi merged commit bbd076d into raspberrypi:main Aug 13, 2026
@tdewey-rpi
tdewey-rpi deleted the dev/tdewey/linux-build-strictness branch August 13, 2026 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant