Kong / kong-build-tools

Build tools to package and release Kong
Apache License 2.0
83 stars 72 forks source link

[Backport release/2.8.x] chore(patches): fix ldoc intermittent fail caused by LuaJIT #648

Closed zhongweiy closed 9 months ago

zhongweiy commented 11 months ago

backport from https://github.com/Kong/kong/pull/11983.

Fix #KAG-1761

zhongweiy commented 11 months ago

The change is verified locally by command: ./kong-ngx-build -p buildroot --openresty 1.19.9.1 --openssl 1.1.1o --luarocks 3.8.0 --pcre 8.45 --debug --force

log:

NOTICE: Applying OpenResty patch /home/zhongweiyao/projects/kong-build-tools/openresty-patches/patches/1.19.9.1/LuaJIT-2.1-20210510_04_ldoc_error_fix.patch patching file LuaJIT-2.1-20210510/src/lj_record.c ... SUCCESS: OpenResty 1.19.9.1 has been built successfully!

And version information (openresty 1.19.9.1) is from CI work log https://github.com/Kong/kong/actions/runs/7081088755/job/19269866153?pr=12142).

zhongweiy commented 9 months ago

Confirmed with @fffonion , this is not required.