Skip to content

produce-script now reads the LMDB version from the first mirror line only - #2614

Draft
larsewi wants to merge 1 commit into
cfengine:masterfrom
larsewi:fix-lmdb-version-parsing
Draft

larsewi wants to merge 1 commit into
cfengine:masterfrom
larsewi:fix-lmdb-version-parsing

Conversation

@larsewi

@larsewi larsewi commented Nov 8, 2026

Copy link
Copy Markdown
Contributor
  • Since the GitHub mirror was added to deps-packaging/lmdb/source (Added a GitHub mirror for the LMDB source tarball #2594), the file has two lines, and produce-script set LMDB_VERSION to the version twice.
  • The second copy ended up on a line of its own in the generated install scripts, so preinst/postrm failed with 1.0.3: not found and the packages could not be installed (e.g. the enterprise deployment_tests job).
  • sed now quits after the first line.

🤖 Generated with Claude Code

…e only

Since the GitHub mirror was added, `deps-packaging/lmdb/source` has two
lines, so `LMDB_VERSION` got the version twice. The second copy became a
line of its own in the generated install scripts, which failed with
`1.0.3: not found` and broke package installation.

Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
@larsewi

larsewi commented Nov 8, 2026

Copy link
Copy Markdown
Contributor Author

@cf-bottom Jenkins please :)

@cf-bottom

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants