Closed MindHunter86 closed 2 years ago
@MindHunter86
2022-03-13T20:15:18.0789135Z #22 35.60 ../graphite-nginx-module-3.1/src/ngx_http_graphite_module.c:1963:42: error: passing argument 2 of 'ngx_regex_exec' discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
Соответственно можете собрать с -Wno-error=discarded-qualifiers
добавленным в --with-cc-opt=" .... "
.
А вообще собирать желательно с PCRE2.
Спасибо! Сделал сборку с pcre2 и добавил опции по вашей рекомендации. Но как я понимаю, опцию можно будет убирать после вышеуказанного коммита?)
Да, опцию лучше будет убрать, иначе что-то более серьезное можно пропустить в будущем.
Да, опцию лучше будет убрать, иначе что-то более серьезное можно пропустить в будущем.
Хорошо, понял) Тогда жду мерж. Спасибо большое за помощь)
Привет. Пытаюсь собрать модуль со свежим nginx и напоролся на то, что не собираемся с версии 1.21.5 и больше. Я сделал мальенький воркфлоу в гитхаб экшнс и проверил, что версии 1.21.1 - 1.21.4 собираются нормально.
Мои опции сборки (вырезано из моего большого докерфайла):
Не могу точно сказать это конфликт модулей или все же апдейт самого nginx. Исходя из чейндж лога там прикрутили PCRE по дефолту, может быть с этим связано.
Вот сам лог с ошибкой:
При необходимости полный докерфайл и полные логи сборки можно найти тут https://github.com/MindHunter86/docker-nginx и тут https://github.com/MindHunter86/docker-nginx/actions
Заранее благодарю за фикс)