mirror of
https://github.com/OpenIndiana/pkg5.git
synced 2026-08-19 20:09:51 +00:00
Image Packaging System package manager
- Python 87.7%
- Roff 8.4%
- C 1.7%
- Shell 1.2%
- Mako 0.4%
- Other 0.5%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
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. |
||
| doc | ||
| exception_lists | ||
| src | ||
| .gitignore | ||
| LICENSE-CDDL | ||
| LICENSE-CPIO | ||
| LICENSE-MINISAT | ||