** Description changed:
- ################################################################
- # src:meson
- ################################################################
+ [Availability]
- [Availability]
- The package meson is already in Ubuntu universe.
- The package meson contains Python source code and builds for all
architectures it is designed to work on
(Architecture: all).
- It currently builds and works for architectures: amd64, amd64v3, arm64,
armhf, i386, ppc64el, riscv64, s390x
- Link to package: https://launchpad.net/ubuntu/+source/meson
[Rationale]
+
- The package meson is can be in Ubuntu main because it is the build system
used by a very large and growing part of main. In tenacious, 235 of the
2406 source packages in main (~9.8%) Build-Depend on meson, including core
components such as systemd, glib2.0, mesa ...
- The binary package to be in main is: meson (the only binary produced,
Architecture: all, pure Python, no compiled code). Its footprint is small:
- a single executable: /usr/bin/meson
- a single Python library: the `mesonbuild` module in
/usr/lib/python3/dist-packages/ (plus its egg-info metadata). It is
meson's internal implementation, not a public Python API.
- support files only: man page (meson.1), bash and zsh completions,
/usr/share/meson/debcrossgen (Debian cross-file helper) and a polkit
action file (see [Security])
- no shared libraries and no services. The maintainer scripts are the
standard dh-python py3compile/py3clean steps only
- More than twice as many packages in main use meson to build compared
to cmake that is already in main and listed in the platform seed
(supported-development-common, "Development Tools"). It makes sense
that meson is supported on equal terms.
- Seeding: we propose adding meson (and ninja-build) to the
supported-development-common seed next to cmake.
- meson was not updated at all during the 26.10 cycle
(stuck at 1.10.1 while Debian has 1.12.1, see LP: #2174244). Without an
owning team and a bug subscriber, such issues go unnoticed, putting the
buildability of a large part of main at risk late in the cycle (e.g. after
Feature Freeze). Main inclusion with a clear owner fixes that.
[Security]
- Had #0 security issues in the past:
- No CVEs found for meson in the Ubuntu CVE tracker nor NVD.
- https://ubuntu.com/security/cves?package=meson
- no `suid` or `sgid` binaries
- no executables in `/sbin` and `/usr/sbin`
- Package does not install services, timers or recurring jobs
- Package does not open privileged ports (ports < 1024).
- Package does not expose any external endpoints
- Packages does not contain extensions to security-sensitive software
(filters, scanners, plugins, UI skins, ...)
- The only network-facing feature is the Wrap dependency system (subprojects
/ WrapDB) which downloads sources over HTTPS and verifies them against a
sha256 `source_hash` declared in the .wrap file. It is opt-in per project;
Debian/Ubuntu builds run with `--wrap-mode=nodownload` via debhelper
(dh_auto_configure), so no network access happens on package builds.
- It ships one polkit action file,
/usr/share/polkit-1/actions/com.mesonbuild.install.policy
(action com.mesonbuild.install.run, exec.path /usr/bin/python3,
argv1 /usr/bin/meson; defaults: allow_any=no, allow_inactive=no,
allow_active=auth_admin_keep). It grants nothing without admin
authentication. It is used only by `meson install` (mesonbuild/minstall.py):
when installation fails with PermissionError, and only if running
interactively on a TTY without DESTDIR, meson asks the user "[y/n]" whether
to re-run itself with $MESON_ROOT_CMD, sudo, doas, run0 or (as a last
resort) pkexec. Package builds always use DESTDIR, so this path is never
taken on buildds.
[Quality assurance - function/usage]
- The package works well right after install: it is a CLI tool with no
configuration; `meson setup builddir && ninja -C builddir` works out of the
box.
[Quality assurance - maintenance]
- - Where as the package has small number of bugs in Ubuntu and Debian,
- Upstream has a significant list of open bugs (~1.7k).
- https://github.com/mesonbuild/meson/issues
- - However, upstream is active, with a ~quarterly feature release cadence
- (1.10 -> 1.11 -> 1.12, with point releases in between) and a
- documented release process. Debian maintainer is Jussi Pakkanen, the
+ - Overall, meson's upstream maintenance is good enough for main. It ships
+ releases regularly, closes more issues than it opens and has strong test
+ coverage. The main weaknesses are a large backlog of old issues (~1.7k)
+ and PRs, and the fact that two people (Paolo Bonzini and Dylan Baker)
+ do most of the work.
+ - In the last 12 months:
+ - Issues opened / closed 340 / 665
+ - PRs opened / merged 698 / 581
+ - Debian maintainer is Jussi Pakkanen, the
upstream project founder, who keeps Debian current (1.12.1-2 in unstable,
1.13.0~rc1 in experimental).
- The package does not deal with exotic hardware we cannot support.
[Quality assurance - testing]
- - The package runs an extensive test suite at build time
- (`override_dh_auto_test: ./run_tests.py`, i.e. the full upstream unit +
- project test suite across C, C++, Fortran, Vala, Rust, Java, D, ObjC,
- Qt, GNOME, Cython, cross-compilation, coverage, ...). Failures fail the
- build.
- - The package runs autopkgtests
- (https://autopkgtest.ubuntu.com/packages/m/meson):
- - basicmeson: minimal C project with gcc, configure/build/test/introspect
- - clangmeson: same using clang
- - exhaustive: full upstream test suite against the installed meson
- - crossbuild: cross-compilation to armhf
- - TODO: tests are failing as of now on RICV64 and 32bits arches -> To be fixed
+
+ - Upstream:
+ - about 1,556 sample projects under test cases/ in 35 categories, plus
+ unit tests.
+ - CI coverage: 15 GitHub Actions workflows plus Azure Pipelines
+ - Debian/Ubuntu:
+ - The package runs autopkgtests
+ (https://autopkgtest.ubuntu.com/packages/m/meson):
+ - basicmeson: minimal C project with gcc, configure/build/test/introspect
+ - clangmeson: same using clang
+ - exhaustive: full upstream test suite against the installed meson
+ - crossbuild: cross-compilation to armhf
+ - TODO: tests are failing as of now on RICV64 and 32bits arches -> To be
fixed
[Quality assurance - packaging]
- - debian/watch is present and works (GitHub releases, with upstream PGP
- signature URL mangling).
- - debian/control defines a correct Maintainer field (Ubuntu Developers,
- XSBC-Original-Maintainer: Jussi Pakkanen).
+
- This package does not yield massive lintian Warnings, Errors.
Source lintian on 1.10.1-1ubuntu2: 0 errors, 3 warnings:
- inconsistent-appstream-metadata-license (a metainfo file inside upstream
"test cases/", not shipped)
- orig-tarball-missing-upstream-signature (to be addressed with the merge,
watch file already supports .asc)
- testsuite-restrictions-has-deprecated-skip-not-installable
(debian/tests/control, crossbuild test; Debian 1.12.1-2 replaces this with
an Architecture: field)
- Lintian overrides are present, but ok because:
- debian/source/lintian-overrides:
`meson source: virtual-package-depends-without-real-package-depends`
with the comment "This is only used for cross compilation unit tests."
(the `g++-arm-linux-gnueabihf | bash-doc` build-dep alternative).
- This package does not rely on obsolete or about to be demoted packages.
- - This package has no python2 or GTK2 dependencies.
- The package will not be installed by default (developer tool) and has no
debconf questions.
- Packaging and build is easy: debian/rules is 19 lines, plain
`dh --with python3 --buildsystem=pybuild --with bash-completion`, only
dh_auto_test is overridden to run the upstream test suite.
- - Ubuntu delta (5 patches + control change), all documented with LP bugs:
- - 1-disable-openmpi.patch, 2-disable-rootdir-test.patch (from Debian)
- - lp2049904.patch: rustc `-Clink-arg=-lc` for external C ABI (LP: #2049904)
+ - Ubuntu delta: 3 deltas
+ - lp2049904.patch: rustc `-Clink-arg=-lc` for external C ABI (LP: #2049904)
- llvm-22.diff: add LLVM 22 to the known llvm-config list
- - boost-resolve-python-version.patch: Boost Python test fix for
- Python 3.14 (LP: #2143267)
- control: Replaces: meson-1.5, meson-1.7 for upgrades from noble
(LP: #2126037)
[UI standards]
- Application is not end-user facing (developer CLI tool, no desktop file
needed, does not need translation).
[Dependencies]
- Runtime dependencies of bin:meson:
- python3 (main)
- python3-setuptools (main)
- - ninja-build (>= 1.6) — UNIVERSE, included in this MIR (see below)
+ - ninja-build (>= 1.6) — UNIVERSE, ongoing MIR[2]
- Recommends: dpkg-dev (main)
- Build-Depends: many test-only build-dependencies (marked <!nocheck>) are in
universe in tenacious (e.g. dh-python, gobjc, gnustep-make, qtbase5-dev,
valac, gdc, ldc, mercurial, gcovr, lcov, doxygen, nasm, libwxgtk3.2-dev,
bindgen, cython3, llvm-dev, clang-format). These are only needed to
exercise meson's multi-language test suite at build time and are not
runtime dependencies; this is consistent with how other main packages
(e.g. those using dh-python) are handled in tenacious.
[Standards compliance]
- This package correctly follows FHS and Debian Policy (Python module under
/usr/lib/python3/dist-packages, entry point /usr/bin/meson, man page,
bash completion).
- License: Apache-2.0 (debian/copyright, DEP-5 format).
[Maintenance/Owner]
- The owning team will be ~debcrafters[1] and I have their
acknowledgement for that commitment (comments #1 and #2 by paelzer and
seb128 on this bug).
- - The team ~debcrafters is already subscribed to the package.
- - This does not use static builds.
- - This does not use vendored code.
- - The package has been built in the archive more recently than the last
- test rebuild (1.10.1-1ubuntu2, resolute).
- - Build log: https://launchpad.net/ubuntu/+source/meson/1.10.1-1ubuntu2
[Background information]
- The Package description explains the package well.
- Upstream Name is Meson, same as the source package name.
- Upstream: https://mesonbuild.com / https://github.com/mesonbuild/meson
+
+ [1] https://launchpad.net/~canonical-debcrafters
+ [2] https://bugs.launchpad.net/ubuntu/+source/ninja-build/+bug/1315313
** Changed in: meson (Ubuntu)
Assignee: Hector Cao (hectorcao) => (unassigned)
** Description changed:
+ Background
+ ---
+
+ This is the MIR for meson, it goes in pair with the MIR for ninja-build:
+ https://bugs.launchpad.net/ubuntu/+source/ninja-build/+bug/1315313
+
[Availability]
- The package meson is already in Ubuntu universe.
- The package meson contains Python source code and builds for all
architectures it is designed to work on
(Architecture: all).
- It currently builds and works for architectures: amd64, amd64v3, arm64,
armhf, i386, ppc64el, riscv64, s390x
- Link to package: https://launchpad.net/ubuntu/+source/meson
[Rationale]
- The package meson is can be in Ubuntu main because it is the build system
used by a very large and growing part of main. In tenacious, 235 of the
2406 source packages in main (~9.8%) Build-Depend on meson, including core
components such as systemd, glib2.0, mesa ...
- The binary package to be in main is: meson (the only binary produced,
Architecture: all, pure Python, no compiled code). Its footprint is small:
- a single executable: /usr/bin/meson
- a single Python library: the `mesonbuild` module in
/usr/lib/python3/dist-packages/ (plus its egg-info metadata). It is
meson's internal implementation, not a public Python API.
- support files only: man page (meson.1), bash and zsh completions,
/usr/share/meson/debcrossgen (Debian cross-file helper) and a polkit
action file (see [Security])
- no shared libraries and no services. The maintainer scripts are the
standard dh-python py3compile/py3clean steps only
- More than twice as many packages in main use meson to build compared
to cmake that is already in main and listed in the platform seed
(supported-development-common, "Development Tools"). It makes sense
that meson is supported on equal terms.
- Seeding: we propose adding meson (and ninja-build) to the
supported-development-common seed next to cmake.
- meson was not updated at all during the 26.10 cycle
(stuck at 1.10.1 while Debian has 1.12.1, see LP: #2174244). Without an
owning team and a bug subscriber, such issues go unnoticed, putting the
buildability of a large part of main at risk late in the cycle (e.g. after
Feature Freeze). Main inclusion with a clear owner fixes that.
[Security]
- Had #0 security issues in the past:
- No CVEs found for meson in the Ubuntu CVE tracker nor NVD.
- https://ubuntu.com/security/cves?package=meson
- no `suid` or `sgid` binaries
- no executables in `/sbin` and `/usr/sbin`
- Package does not install services, timers or recurring jobs
- Package does not open privileged ports (ports < 1024).
- Package does not expose any external endpoints
- Packages does not contain extensions to security-sensitive software
(filters, scanners, plugins, UI skins, ...)
- The only network-facing feature is the Wrap dependency system (subprojects
/ WrapDB) which downloads sources over HTTPS and verifies them against a
sha256 `source_hash` declared in the .wrap file. It is opt-in per project;
Debian/Ubuntu builds run with `--wrap-mode=nodownload` via debhelper
(dh_auto_configure), so no network access happens on package builds.
- It ships one polkit action file,
/usr/share/polkit-1/actions/com.mesonbuild.install.policy
(action com.mesonbuild.install.run, exec.path /usr/bin/python3,
argv1 /usr/bin/meson; defaults: allow_any=no, allow_inactive=no,
allow_active=auth_admin_keep). It grants nothing without admin
authentication. It is used only by `meson install` (mesonbuild/minstall.py):
when installation fails with PermissionError, and only if running
interactively on a TTY without DESTDIR, meson asks the user "[y/n]" whether
to re-run itself with $MESON_ROOT_CMD, sudo, doas, run0 or (as a last
resort) pkexec. Package builds always use DESTDIR, so this path is never
taken on buildds.
[Quality assurance - function/usage]
- The package works well right after install: it is a CLI tool with no
configuration; `meson setup builddir && ninja -C builddir` works out of the
box.
[Quality assurance - maintenance]
- - Overall, meson's upstream maintenance is good enough for main. It ships
- releases regularly, closes more issues than it opens and has strong test
- coverage. The main weaknesses are a large backlog of old issues (~1.7k)
- and PRs, and the fact that two people (Paolo Bonzini and Dylan Baker)
- do most of the work.
+ - Overall, meson's upstream maintenance is good enough for main. It ships
+ releases regularly, closes more issues than it opens and has strong test
+ coverage. The main weaknesses are a large backlog of old issues (~1.7k)
+ and PRs, and the fact that two people (Paolo Bonzini and Dylan Baker)
+ do most of the work.
- In the last 12 months:
- - Issues opened / closed 340 / 665
- - PRs opened / merged 698 / 581
+ - Issues opened / closed 340 / 665
+ - PRs opened / merged 698 / 581
- Debian maintainer is Jussi Pakkanen, the
upstream project founder, who keeps Debian current (1.12.1-2 in unstable,
1.13.0~rc1 in experimental).
- The package does not deal with exotic hardware we cannot support.
[Quality assurance - testing]
- Upstream:
- - about 1,556 sample projects under test cases/ in 35 categories, plus
- unit tests.
- - CI coverage: 15 GitHub Actions workflows plus Azure Pipelines
+ - about 1,556 sample projects under test cases/ in 35 categories, plus
+ unit tests.
+ - CI coverage: 15 GitHub Actions workflows plus Azure Pipelines
- Debian/Ubuntu:
- - The package runs autopkgtests
- (https://autopkgtest.ubuntu.com/packages/m/meson):
- - basicmeson: minimal C project with gcc, configure/build/test/introspect
- - clangmeson: same using clang
- - exhaustive: full upstream test suite against the installed meson
- - crossbuild: cross-compilation to armhf
- - TODO: tests are failing as of now on RICV64 and 32bits arches -> To be
fixed
+ - The package runs autopkgtests
+ (https://autopkgtest.ubuntu.com/packages/m/meson):
+ - basicmeson: minimal C project with gcc, configure/build/test/introspect
+ - clangmeson: same using clang
+ - exhaustive: full upstream test suite against the installed meson
+ - crossbuild: cross-compilation to armhf
+ - TODO: tests are failing as of now on RICV64 and 32bits arches -> To be
fixed
[Quality assurance - packaging]
- This package does not yield massive lintian Warnings, Errors.
Source lintian on 1.10.1-1ubuntu2: 0 errors, 3 warnings:
- inconsistent-appstream-metadata-license (a metainfo file inside upstream
"test cases/", not shipped)
- orig-tarball-missing-upstream-signature (to be addressed with the merge,
watch file already supports .asc)
- testsuite-restrictions-has-deprecated-skip-not-installable
(debian/tests/control, crossbuild test; Debian 1.12.1-2 replaces this with
an Architecture: field)
- Lintian overrides are present, but ok because:
- debian/source/lintian-overrides:
`meson source: virtual-package-depends-without-real-package-depends`
with the comment "This is only used for cross compilation unit tests."
(the `g++-arm-linux-gnueabihf | bash-doc` build-dep alternative).
- This package does not rely on obsolete or about to be demoted packages.
- The package will not be installed by default (developer tool) and has no
debconf questions.
- Packaging and build is easy: debian/rules is 19 lines, plain
`dh --with python3 --buildsystem=pybuild --with bash-completion`, only
dh_auto_test is overridden to run the upstream test suite.
- Ubuntu delta: 3 deltas
- - lp2049904.patch: rustc `-Clink-arg=-lc` for external C ABI (LP: #2049904)
+ - lp2049904.patch: rustc `-Clink-arg=-lc` for external C ABI (LP: #2049904)
- llvm-22.diff: add LLVM 22 to the known llvm-config list
- control: Replaces: meson-1.5, meson-1.7 for upgrades from noble
(LP: #2126037)
[UI standards]
- Application is not end-user facing (developer CLI tool, no desktop file
needed, does not need translation).
[Dependencies]
- Runtime dependencies of bin:meson:
- python3 (main)
- python3-setuptools (main)
- ninja-build (>= 1.6) — UNIVERSE, ongoing MIR[2]
- Recommends: dpkg-dev (main)
- Build-Depends: many test-only build-dependencies (marked <!nocheck>) are in
universe in tenacious (e.g. dh-python, gobjc, gnustep-make, qtbase5-dev,
valac, gdc, ldc, mercurial, gcovr, lcov, doxygen, nasm, libwxgtk3.2-dev,
bindgen, cython3, llvm-dev, clang-format). These are only needed to
exercise meson's multi-language test suite at build time and are not
runtime dependencies; this is consistent with how other main packages
(e.g. those using dh-python) are handled in tenacious.
[Standards compliance]
- This package correctly follows FHS and Debian Policy (Python module under
/usr/lib/python3/dist-packages, entry point /usr/bin/meson, man page,
bash completion).
- License: Apache-2.0 (debian/copyright, DEP-5 format).
[Maintenance/Owner]
- The owning team will be ~debcrafters[1] and I have their
acknowledgement for that commitment (comments #1 and #2 by paelzer and
seb128 on this bug).
[Background information]
- The Package description explains the package well.
- Upstream Name is Meson, same as the source package name.
- Upstream: https://mesonbuild.com / https://github.com/mesonbuild/meson
[1] https://launchpad.net/~canonical-debcrafters
[2] https://bugs.launchpad.net/ubuntu/+source/ninja-build/+bug/1315313
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2174246
Title:
[MIR] meson
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/meson/+bug/2174246/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs