Skip to content

v1.5.2 — a Debian install works

Choose a tag to compare

@jjba23 jjba23 released this 26 Nov 08:30
· 20 commits to trunk since this release
86db849

Summary

A Debian install works now. Debian's guile-3.0 package ships
/usr/bin/guile-3.0 and no plain guile, so the installed launcher answered a
Debian system with guile: command not found and never started at all; it now
looks for both names. The rest of the release is packaging/debian, which is
now a source package a Debian developer would expect to find: a build that
fails instead of quietly skipping a module, compiled files in the site-ccache
Guile actually reads, a watch file, an autopkgtest and a DEP-5 copyright.
Nothing in the library, the command line or a file format changed.

Fixed

  • The launcher starts the interpreter under the name the system installs it
    by
    -- guile where a distribution provides it, then guile-3.0 where that
    is the only name there is. test/veritas/unit/integration.scm runs the
    launcher on a PATH built the way Debian builds one -- the programs it needs
    before Guile starts, and a stand-in guile-3.0 -- so the second name is a
    case rather than a hope. guix.scm rewrites that assignment instead of the
    old exec line, so a Guix build still starts the store's own program.

Changed

  • packaging/debian is a real Debian package.
    • rules byte-compiles each module with guild-3.0, the name Debian ships,
      and a module that does not compile fails the build. The recipe called
      guild compile with || true, so every compiled file was missing and the
      reason stayed in the log.
    • The compiled files are installed into the site-ccache guile-3.0.pc
      reports -- the multiarch directory under /usr/lib on Debian, not
      /usr/lib/guile/3.0 -- and the installed tree is started once during the
      build, so a launcher that cannot find its library is a build failure.
    • control names pkg-config and guile-3.0-dev, no longer depends on
      Essential packages, has an ASCII synopsis, sits in devel where make is,
      and is at Standards-Version: 4.7.0.
    • New files: debian/watch for uscan; debian/tests, an autopkgtest that
      asks the installed program for its version, a listing, a plan, a dry run
      and a completion; debian/upstream/metadata (DEP-12); and
      debian/maak.docs and debian/maak.manpages in place of the copies the
      recipe made by hand.
    • debian/copyright names the two skills AGENTS.md is generated from, and
      the oldest changelog entry no longer claims to close a bug number it never
      closed.
  • maak deb-build installs pkg-config with the rest of the Debian build
    tools, and docs/installation.org describes the Debian build as it is
    instead of calling it experimental.

Verification

  • The full Veritas suite is green on the release commit (./scripts/maak-test,
    exit 0): 37 files, 132 suites, 992 tests and 1090 assertions, no failing case
    and no aborted run -- including the spec that compares every copy of the
    version and the one that resolves every file: link in the guide.
  • guix build -f guix.scm succeeds, and the launcher it installs carries the
    store's own Guile in the rewritten assignment and starts with no guile on
    PATH.
  • The Debian recipe's build half was run against this tree's Guile: 31 modules
    copied and byte-compiled, the tree installed and started, and the installed
    launcher answered --version with 1.5.2 and printed a bash completion.
    packaging/debian/tests/smoke passes against the checkout's launcher.

Notes

  • Not run here, because this machine is openSUSE and carries no dpkg tooling:
    dpkg-buildpackage, lintian, uscan and autopkgtest against a real
    .changes file. The recipe, debian/tests/smoke and the version's copies
    were each exercised by hand instead, as listed above.
  • The Arch recipe, the Void Linux template and the Homebrew formula get the
    checksum of this release's archive in a commit of its own, because it cannot
    be known until the tag is published.