Commit b376e8f
pkg(zellij): fix COPR build by disabling vendored OpenSSL (#218)
## Problem
The COPR build of `zellij-0.44.3`
[failed](https://copr.fedorainfracloud.org/coprs/binarypie/hypercube/build/10657369/)
in `%install` on both `fedora-43` and `fedora-44` chroots. A transitive
dependency enabled the `openssl-sys` crate's `vendored` feature, so
cargo tried to compile its own OpenSSL from source. OpenSSL's
`./Configure` is a perl script that needs `FindBin.pm`, which isn't
present in the minimal mock chroot:
```
Can't locate FindBin.pm in @inc ... at ./Configure line 15.
BEGIN failed--compilation aborted at ./Configure line 15.
```
## Fix
- **`packages/zellij/zellij.spec`**: set `OPENSSL_NO_VENDOR=1` in
`%install` so `openssl-sys` links the chroot's system OpenSSL (already
provided by `BuildRequires: pkgconfig(openssl)`) instead of vendoring
its own copy. This also skips compiling OpenSSL from source entirely.
Release bumped 1 → 2 with a changelog entry.
- **`scripts/packages/config.sh`**: wire `zellij` into `PACKAGE_REPOS`,
`PACKAGE_DEPS`, and `BUILD_BATCHES` (batch 1). It had a package dir and
a `packages/README.md` entry but was missing from the config that drives
both GitHub Actions workflows — so it was never checked for new upstream
releases (`Check Package Versions`) and, despite spec changes being
*detected*, was never actually submitted to COPR (`Build COPR Packages`
only submits packages present in `BUILD_BATCHES`).
## Verification
- `get-spec-version.sh zellij` → `0.44.3-2`
- `get-upstream-version.sh zellij` → `0.44.3` (matches → no spurious
bump PR)
- `config.sh` passes `bash -n`; zellij resolves in all three maps
Merging triggers `Build COPR Packages` (via the `packages/**` path
filter), which will now submit the fixed zellij build to COPR.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent db398b2 commit b376e8f
2 files changed
Lines changed: 17 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
41 | 49 | | |
42 | 50 | | |
43 | 51 | | |
| |||
75 | 83 | | |
76 | 84 | | |
77 | 85 | | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
78 | 91 | | |
79 | 92 | | |
80 | 93 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
| 77 | + | |
76 | 78 | | |
77 | 79 | | |
78 | 80 | | |
| |||
93 | 95 | | |
94 | 96 | | |
95 | 97 | | |
96 | | - | |
| 98 | + | |
97 | 99 | | |
98 | 100 | | |
99 | 101 | | |
| |||
0 commit comments