Skip to content

Added step to install sufficient pcre2 on rhel-8 build hosts in setup-cfengine-build-host.sh - #2608

Merged
aleksandrychev merged 2 commits into
cfengine:masterfrom
craigcomstock:ent-14716
Nov 5, 2026
Merged

aleksandrychev merged 2 commits into
cfengine:masterfrom
craigcomstock:ent-14716

Conversation

@craigcomstock

@craigcomstock craigcomstock commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Build the version specified in deps-packaging/pcre2.

On rhel-8 this is especially needed because libntech requires 10.34+ version of pcre2 that is not available there.

Ticket: ENT-14716
Changelog: none

together
cfengine/core#6473
#2608

…-cfengine-build-host.sh

Build the version specified in deps-packaging/pcre2.

On rhel-8 this is especially needed because libntech requires 10.34+ version of pcre2 that is not available there.

Ticket: ENT-14716
Changelog: none
@craigcomstock

Copy link
Copy Markdown
Contributor Author

works for me on rhel-8-arm64

[ec2-user@ip-172-31-9-38 ~]$ uname -a
Linux ip-172-31-9-38.us-east-2.compute.internal 4.18.0-553.172.1.el8_10.aarch64 #1 SMP Wed Oct 7 00:56:50 UTC 2026 aarch64 aarch64 aarch64 GNU/Linux
[ec2-user@ip-172-31-9-38 ~]$ cat /etc/os-release 
NAME="Red Hat Enterprise Linux"
VERSION="8.10 (Ootpa)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="8.10"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Red Hat Enterprise Linux 8.10 (Ootpa)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:8::baseos"
HOME_URL="https://www.redhat.com/"
DOCUMENTATION_URL="https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8"
BUG_REPORT_URL="https://issues.redhat.com/"

REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 8"
REDHAT_BUGZILLA_PRODUCT_VERSION=8.10
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.10"
[ec2-user@ip-172-31-9-38 ~]$ sudo buildscripts/ci/setup-cfengine-build-host.sh
... lots of logs ...
[ec2-user@ip-172-31-9-38 ~]$ echo $?
0

fakeroot install needed to use ${sys.arch} instead of hard-coded x86_64.

Ticket: ENT-14716
Changelog: none
@aleksandrychev
aleksandrychev merged commit a61e921 into cfengine:master Nov 5, 2026
1 check passed
@craigcomstock
craigcomstock deleted the ent-14716 branch November 5, 2026 12:48
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