Skip to content

Commit 784cf0b

Browse files
author
Gabor Berkes
committed
Debug: increase verbosity in pcre2.m4 for macOS GitHub Actions
Added AC_MSG_NOTICE macros to pcre2.m4 to enhance debugging output. This change aims to identify the cause of build failures on macOS runners in GitHub Actions, which do not occur locally or on other platforms (Linux, Windows). The added verbosity will help trace the build process and inspect variable values for inconsistencies in the macOS runner environment.
1 parent a07d0c7 commit 784cf0b

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/ci.yml

-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ jobs:
105105
geoip \
106106
ssdeep \
107107
pcre \
108-
pcre2 \
109108
bison \
110109
flex
111110
- uses: actions/checkout@v4

build/pcre2.m4

+7-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ if test "x${with_pcre2}" == "xno"; then
2929
AC_MSG_NOTICE([Support for PCRE2 was disabled by the utilization of --without-pcre2 or --with-pcre2=no])
3030
PCRE2_DISABLED=yes
3131
else
32-
# pcre2 is the default
3332
PCRE2_MANDATORY=yes
33+
AC_MSG_NOTICE([PCRE2 is enabled by default.])
3434
# if test "x${with_pcre2}" == "xyes"; then
3535
# PCRE2_MANDATORY=yes
3636
# AC_MSG_NOTICE([PCRE2 support was marked as mandatory by the utilization of --with-pcre2=yes])
@@ -98,9 +98,14 @@ else
9898
AC_MSG_NOTICE([PCRE2 is disabled by default.])
9999
else
100100
PCRE2_FOUND=1
101-
AC_MSG_NOTICE([using PCRE2 v${PCRE2_VERSION}])
102101
PCRE2_CFLAGS="${PCRE2_CFLAGS}"
103102
PCRE2_DISPLAY="${PCRE2_LDADD}, ${PCRE2_CFLAGS}"
103+
AC_MSG_NOTICE([using PCRE2_VERSION ${PCRE2_VERSION}])
104+
AC_MSG_NOTICE([using PCRE2_LDADD ${PCRE2_LDADD}])
105+
AC_MSG_NOTICE([using PCRE2_LIBS ${PCRE2_LIBS}])
106+
AC_MSG_NOTICE([using PCRE2_LDFLAGS ${PCRE2_LDFLAGS}])
107+
AC_MSG_NOTICE([using PCRE2_CFLAGS ${PCRE2_CFLAGS}])
108+
AC_MSG_NOTICE([using PCRE2_DISPLAY ${PCRE2_DISPLAY}])
104109
AC_SUBST(PCRE2_VERSION)
105110
AC_SUBST(PCRE2_LDADD)
106111
AC_SUBST(PCRE2_LIBS)

0 commit comments

Comments
 (0)