** Description changed:

+ ninja-build is a hard runtime dependency of meson (meson generates
+ build.ninja files and invokes ninja), so it must be promoted together.
+ 
+ Previous MIR: LP: #1315313 (2014, Chris Coulson, needed to build Oxide).
+ It was ACKed by the MIR team (jdstrand) with conditions: enable the test
+ suite, have a team bug subscriber, and file two minor Debian bugs. All were
+ done, and the package was in main from utopic (14.10) to xenial. On
+ 2016-04-11, ten days before the xenial release, it was moved to universe as
+ part of a bulk demotion of the packages listed on component-mismatches.
+ It was not re-promoted after that and has been in universe since (~10 years). 
Because
+ so much time has passed, this is a fresh review. The 2014 conditions still
+ hold: build-time tests run (build/ninja_test), there is an owning team
+ (~debcrafters, replacing the long-gone oxide-developers), and the
+ old Apache-2.0 copyright lintian errors no longer appear.
+ 
+ [Availability]
+ - The package ninja-build is already in Ubuntu universe.
+ - It currently builds and works for architectures: amd64, amd64v3, arm64,
+   armhf, i386, ppc64el, riscv64, s390x
+ - Link to package: https://launchpad.net/ubuntu/+source/ninja-build
+ - In sync with Debian (1.13.2-1), no Ubuntu delta.
+ 
+ [Rationale]
+ - Required at runtime by meson (above). It is also the backend used by
+   cmake -G Ninja and by many other build tooling (gn, etc.), and a
+   build-dependency of many main packages.
+ - Binary package to be in main: ninja-build.
+ 
+ [Security]
+ - Had #0 security issues in the past (Ubuntu CVE tracker and NVD: none).
+ - no suid/sgid, no /sbin, no services/timers, no network, no privileged
+   ports. It is a small C++ program executing commands from a build.ninja file
+   generated by meson/cmake; same build-system threat model as make.
+ 
+ [Quality assurance - function/usage]
+ - Works right after install, no configuration.
+ 
+ [Quality assurance - maintenance]
+ - Ubuntu: 1 open bug, LP: #1518967 "Crash on ninja -t browse <target>"
+   (High, from 2015, no activity since 2015-11). `-t browse` is a debug tool
+   that starts a local Python web server; it is a corner case not used by
+   meson/cmake. TODO: re-test on tenacious and close or forward upstream.
+ - Debian: https://bugs.debian.org/cgi-bin/pkgreport.cgi?src=ninja-build
+ - Upstream active: https://github.com/ninja-build/ninja
+ 
+ [Quality assurance - testing]
+ - Build-time tests: `build/ninja_test` (upstream googletest suite) runs
+   during build; failures fail the build.
+ - autopkgtest `basic` (with build-essential) passes on amd64, arm64, armhf,
+   ppc64el, s390x, i386:
+   https://autopkgtest.ubuntu.com/packages/n/ninja-build
+ - Additionally, it is heavily exercised indirectly by the meson
+   autopkgtests and by every meson/cmake-ninja build in the archive.
+ 
+ [Quality assurance - packaging]
+ - debian/watch present; Maintainer: Felix Geyer (Debian), synced.
+ - Lintian: 0 errors, 0 warnings on the source package.
+ - debian/rules is short (CMake via dh, LTO enabled, docs + man page).
+ - One patch: deps_log_test_support_big_endian_architectures.patch (test fix
+   for s390x).
+ 
+ [UI standards]
+ - Not end-user facing (developer CLI tool).
+ 
+ [Dependencies]
+ - Runtime: libc6, libstdc++6, libgcc-s1 (all main). Suggests: python3.
+ - Build-Depends in universe (build/doc only): asciidoc, docbook-xsl,
+   help2man, libgtest-dev.
+ 
+ [Standards compliance]
+ - Follows FHS and Debian Policy. License: Apache-2.0.
+ 
+ [Maintenance/Owner]
+ - Owning team: ~debcrafters[1] (same commitment as for meson).
+ - No vendored code, no static builds, not rust/go.
+ 
+ [Background information]
+ - Upstream name "Ninja", source package named ninja-build (the binary is
+   /usr/bin/ninja; the "-build" suffix avoids a historic name clash).
+ - Upstream: https://ninja-build.org/
+ 
+ [1] https://launchpad.net/~canonical-debcrafters
+ 
+ === MIR for Trusty ===
+ 
  1) Availability
  
  It's available on all architectures.
  
  2) Rationale
  
  ninja-build is now a hard build requirement for Oxide which is in main.
  As Google are explicitly disabling support for building Chromium with
  GYP's makefile backend**, it will also be a requirement for Chromium too
  (although Chromium isn't in main, yet). Chromium from the dev channel is
  not buildable with GYP's makefile backend, and Google have no plans to
  resolve this.
  
  ** see
  
https://chromium.googlesource.com/chromium/src/build/+/9bc1c207a18ffa8284095d9350e835a4518870f6
  
  3) Security
  
  - No open issues
  - No executables with suid or sgid bit set
  - No executables in /sbin or /usr/sbin
  - No daemon
  - Doesn't open any ports
  - Doesn't add plugins to security sensitive software, although it does 
provide bash-completion, zsh completion, vim and emacs plugins
  
  4) QA
  
  - Works after installing with no additional effort.
  - Package does not ask debconf questions.
  - No major long-term outstanding bugs. As this is the primary build tool used 
by Chrome developers, it would be reasonable to assume that there are people 
who care a lot for this.
  - There is 1 important bug in Debian's BTS, but this is sparc specific:
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=697268
  - Upstream, there are 17 issues in the issue tracker that are marked as bugs. 
Out of these, 5 are Windows specific. None are particularly important, and 
don't affect its use for building Oxide or Chromium:
  https://github.com/martine/ninja/issues?labels=bug&page=1&state=open
  - The package is currently sync'd from Debian. It's at version 1.3.4, and 
could probably do with updating to the latest release (1.4.0) which is the 
version used to build Chromium. The current version does work fine though.
  - It builds a test binary, but doesn't appear to run this at the moment. It 
does use a python script to create a bootstrapped ninja binary, which it then 
uses to build itself.
  - Has a debian/watch file.
  
  5) UI standards
  
  - N/A
  
  6) Dependencies
  
  debhelper, gtest, python, asciidoc, hardening-wrapper, re2c, help2man,
  libxslt, docbook-xsl, docbook-xml, doc-main - all in main.
  
  7) Standards compliance
  
  - No issues
  
  8) Maintenance
  
  - Package will be low maintenace. The current release (1.4.0) is 8
  months old. The previous release (1.3.4) was 3 months before that.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1315313

Title:
  [MIR] ninja-build

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ninja-build/+bug/1315313/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to