Image Packaging System package manager
  • Python 87.7%
  • Roff 8.4%
  • C 1.7%
  • Shell 1.2%
  • Mako 0.4%
  • Other 0.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Till Wegmueller d162b71b7e pkg: fix empty-repo build failure under parallel dmake
When the build environment sets DMAKE_MAX_JOBS (the OI Jenkins nightly
exports an invalid <=0 value that dmake resets to 2), the pkg5 src build
runs under parallel Sun make. The all/install targets impose no ordering
between the C subdirs and the setup.py build/install, and setup.py fires
the CFFI codegen scripts via Popen without waiting for them. Under
parallelism this can leave the proto area incompletely populated (e.g.
proto/root_$ARCH/usr/bin/pkgmogrify missing).

MANIFESTS.cmd in src/pkg/Makefile then runs pkgmogrify to compute the set
of manifests to publish, but swallowed any failure with `exit 0`, so a
missing/broken pkgmogrify silently produced an empty MANIFESTS. The build
published zero packages and failed much later with the misleading
"does not contain a valid package repository" error.

- src/Makefile: add .WAIT so the C subdirs finish before the Python
  build/install, making the all/install targets parallel-safe.
- src/setup.py: collect the CFFI codegen subprocesses and wait for them
  (failing loudly on error) before build_ext compiles the generated .c
  files.
- src/pkg/Makefile: MANIFESTS.cmd now aborts with a clear diagnostic when
  pkgmogrify fails instead of silently yielding an empty manifest list.
2026-07-01 21:06:15 +02:00
doc Add System/Wayland 2026-06-23 20:04:36 +02:00
exception_lists 18552803 pkg needs optional and debug facets that default to false 2015-06-02 14:34:36 +03:00
src pkg: fix empty-repo build failure under parallel dmake 2026-07-01 21:06:15 +02:00
.gitignore Switch to python 3.9 2022-07-23 15:22:33 -05:00
LICENSE-CDDL 25872713 need LICENSE-* files for IPS github repository 2019-08-08 08:37:10 +03:00
LICENSE-CPIO 25872713 need LICENSE-* files for IPS github repository 2019-08-08 08:37:10 +03:00
LICENSE-MINISAT 25872713 need LICENSE-* files for IPS github repository 2019-08-08 08:37:10 +03:00