Packaging qualification: 2026-09-28
===================================

Copyright 2026 Qore Technologies, s.r.o.

This is pre-release qualification of a development snapshot. It does not
publish a release or qualify distributions/architectures outside the tested
scope. See README.qualification for the repeatable procedure.

Qualified source and scope
--------------------------

Candidate: 3.0.0~git20260928.12-0qore1~ubuntu26.04
Code: 9fc2c969faad288c22ed305b03ac374098a58879
Target: Ubuntu 26.04 (resolute), amd64
Dependency backports: qore-packagers/qore-testing
Evidence: qore-qualification-complete-20260928, retained outside Git under the
qualification host's temporary directory with source/package checksums,
image IDs, dependency inventories, commands and complete logs. ACCEPTANCE.json
summarizes the validated results. The subsequent documentation-only commit
records these results without changing the qualified implementation.

Completed package checks
------------------------

- Two independent source preparations produce identical .dsc, orig.tar.xz and
  debian.tar.xz files; the source .buildinfo and .changes also match in this run.
  Source Lintian passes, with only the
  older checker's newer-standards-version warning (4.7.4 versus 4.7.3).
- Two full binary builds and an architecture-only (-B) build use fresh containers
  with identical dependency inventories/image IDs and no build-time network.
  Builds run unprivileged with an unusable incoming HOME; debhelper supplies a
  private build HOME. The full pair varies source/build paths and incoming
  timezone; package rules normalize the actual timezone to UTC. The -B build
  uses four outer jobs instead of eight. Effective compiler environments were
  recorded, including QCC_JOBS=1 and the absent QCC_SPLIT_THRESHOLD override.
- Every build passes all 394 core suites, 47 compiler/CMake tests, the packaging
  regression checks and binary Lintian. Both full builds include documentation.
- All 390 AOT modules match byte-for-byte across all three builds. All eleven
  full-build packages (seven regular, four debug) match byte-for-byte, including
  qore-doc. The eight architecture-dependent packages also match the -B build.
  Build timestamps in .buildinfo are provenance, separate from package bytes.
- Every package passes manifest integrity, ELF hardening and AOT metadata checks.
  All 410 runtime ELF files in each build have detached DWARF with matching build
  IDs, standard debug paths and debuglink CRCs. The inventories include 390 AOT
  modules and 16 bundled native modules, including JSON, YAML and ONNX-enabled ML.
- Upgrade from the exact local 20260928.4 snapshot (ten packages, including its
  debug packages) passes. Minimal installation contains qore, libqore20 and
  qore-stdlib. All four installed autopkgtests pass: runtime, development, tools
  and remote-debuggers. These cover ONNX CPU inference, JSON/YAML, SDK embedding,
  CMake discovery, qcc, qdx and source-free compiled module loading. Exact
  coinstallation of all eleven artifacts, dpkg file verification, purge and
  reinstall pass. The purged inventory contains no Qore packages.

Evidence: acceptance-source-reproducibility.json, acceptance-build-inputs.json,
acceptance-effective-compiler-environments.json, acceptance-build-test-summary.json,
acceptance-{build,repeat,arch}/, acceptance-*-artifacts.json,
acceptance-unstripped-qmod-*-comparison.json, acceptance-reproducibility.json,
acceptance-common-packages.json, acceptance-lifecycle/ and
acceptance-lifecycle-inventory-check.json.

Downstream source-installation migration
----------------------------------------

The downstream image contains source-installed Qore and independent modules
under /opt. The candidate is installed in a disposable copy, explicitly using
/usr/bin/qore, /usr libraries and packaged module paths first, with external
/opt module paths as fallbacks. Actual library and module filenames are checked.
All 54 bundled/external module-load probes and all 68 offline Qorus suites pass.
The installed object SDK compiles and links a program without RPATH/RUNPATH.
All 6,886 original runtime/SDK/module inventory entries pass content, mode and
symlink verification; build/test checksum checks cover 6,863 file paths.

Qorus source is a clean archive of aa7afb958d1d6a1107a1d68ade164533ab823b9f.
A clean offline build against the installed SDK passes, including qorus-core's
post-build parse validation and API metadata generation. The resulting binary
loads /usr/lib/x86_64-linux-gnu/libqore.so.20, and all 6,863 source-installation
file checksums still match after the build.
JNI remains an independent /opt installation, so its two JAR and two launcher
paths are supplied through the documented QORE_JNI_JAR, QORE_JNI_COMPILER_JAR,
QORE_QJAVAC and QORE_QJAVA2JAR variables. Their checksums are recorded. The initial
configure attempt exposed this prefix assumption; the corrected run uses those
explicit dependencies. A separate harness cache-type assertion was corrected by
supplying typed CMake path arguments; no Qorus source modification was required.

Evidence: downstream/source-provenance.json, candidate-module-smoke.json,
candidate-runtime-linkage.txt, installed-object-sdk/, candidate-offline-gate.json,
candidate-source-install-inventory-check.json, candidate-jni-build-inputs.json
and candidate-qorus-* in the downstream/ evidence directory.

Changes exercised by this qualification
---------------------------------------

- Native and AOT source paths, compiler fingerprints, QPP metadata and installed
  SDK exports no longer retain physical build roots. Prefix maps preserve
  physical source access and unrelated literal strings.
- AOT cleanup, local caches, closure captures, expression slots, native SSA
  PHIs and debugger inventories use stable traversal order. Binary default
  arguments use their values rather than allocation addresses in signatures.
- Directly compiled modules/executables omit the build-only pending-constant cache;
  native initializers still compute runtime values and resource directories.
  Incremental objects preserve declaration-preload values and type information;
  linking those objects preserves their metadata. Qorus artifact reproducibility
  is outside this package qualification.
- Debian rules set UTC for compile-time schema dates and one qcc codegen
  partition per module; independent module compilation remains parallel.
- Fresh documentation sees platform feature definitions before configuration.
  Rendered labels/graphs are independent of build roots. Normalization avoids
  executable-archive probes for generated Doxygen text while exact package
  comparisons still cover every file.
- HTTP reused-connection retry handles the protocol-close/callback race;
  non-idempotent/new-connection/capacity failures do not gain unsafe retries.
  The UDP regression uses a distinct sender port. Negative-epoch local date
  normalization and the original requestStreaming C++ overload are fixed.
- Qualification tools verify exact supplied artifacts after installed tests,
  detached debug build IDs/DWARF/debuglink CRCs, and removal of retired package
  splits. Snapshot changelog generation records pending packaging changes.

Regression evidence includes 47 compiler/CMake tests, targeted AOT/closure/
object-preload/SSA tests and negative tests that fail before the corresponding
fixes. Each code commit passed audit-changes with all 71 checklist items
reported. Audit reports and detailed test logs are in the evidence bundle.

Native ABI and release decision
-------------------------------

Exact runtime/development/debug packages were compared with abidiff using the
installed public headers and complete detached debug roots. Against the local
20260928.4 baseline, there are no removed or changed public interfaces and five
added functions (including the restored requestStreaming overload). Internal
changes outside the public-header scope are filtered; this is not a claim that
all internal C++ layouts are unchanged. The local baseline already includes the
new HTTP Options layout. All 8,206 symbols from the older published binary are
preserved, with 12 additions and no changed symbol types.

Evidence: abi/acceptance-packages.json, acceptance-abidiff-command.json,
acceptance-abidiff.log, acceptance-abidiff-review.json and
acceptance-published-symbols.json in abi/.

The September 27 published snapshot predates upstream changes to public HTTP
connection-manager Options (112 to 208 bytes) and manager (472 to 568 bytes)
layouts. Restoring the original requestStreaming symbol does not restore that
layout. Source-compatible clients using the old layout require recompilation;
binary compatibility with that published layout is not claimed.

Resolve this before a general release: restore the supported layout or change
the SONAME/package name and rebuild affected native modules. Freeze and review
the resulting ABI baseline. The report distinguishes exact-package debug-info
comparisons from the source-equivalent September 27 unstripped rebuild used
for the original layout analysis.

Distribution and independent module scope
-----------------------------------------

The recorded repository inventory found that Ubuntu 26.04 supplies ONNX Runtime,
Arrow and Parquet; its remaining versioned dependencies use the testing PPA's
nghttp2, ngtcp2, nghttp3, patched c-ares and tree-sitter packages. Preserve the
c-ares development fix when updating that dependency.

Debian 13 also needs suitable ONNX Runtime and Arrow/Parquet packages. Ubuntu
24.04/22.04 need a reviewed OpenSSL 3.5 dependency strategy; 22.04's default LLVM
is too old. These targets and other architectures are not qualified here.

Independent module repositories have been inventoried, but their Debian
packages have not been created. There are no prior standalone module packages
available for upgrade tests. Source-installed module migration exercises the
existing downstream image; it does not qualify future module .deb files.
JSON, YAML and every module shipped in Qore's modules/ and qlib/ trees remain
in Qore's packages and must not be packaged again as independent modules.

Remaining release gates
------------------------

- Qore release freeze, resolution of the public ABI baseline, then acceptance
  against the exact final source and binary artifacts.
- CI for the local qualification commits and full Qorus service/database
  integration. The earlier pipeline 57786 at ef1486692 passed all 21 jobs;
  these newer local commits have not been pushed or tested by that pipeline.
- Independent module packages, their installed tests and supported migrations;
  every advertised distribution and architecture needs its own qualification.
- Debug-symbol publication in the PPA. Local debug package success does not
  enable PPA publication; that setting was disabled at the earlier checkpoint.
- Final license/provenance and dependency security-maintenance review, signed
  source/binary manifests and retention of the release evidence.
- Explicit release publication when Qore is ready. This run makes no push,
  upload, promotion or signing-key change.
