Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 835453

Summary: www-servers/nginx-1.20.1-r2 (and newer) does not build with vhost_traffic_status enabled
Product: Gentoo Linux Reporter: Jose Roberto <colombojrj>
Component: Current packagesAssignee: Thomas Deutschmann (RETIRED) <whissi>
Status: RESOLVED NEEDINFO    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: ARM64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jose Roberto 2022-03-16 23:51:08 UTC
My environment is Raspberry Pi 3 (64 bits). 

I need vhost_traffic_status enabled on nginx to monitor it. I am using gcc 11. 

Sorry, but I do not have the logs but, I believe they will not be required because this bug was reported here [https://github.com/vozlt/nginx-module-vts/issues/223]. I (believe that I have) fixed this issue by adding the following lines to /var/db/repos/gentoo/www-servers/nginx/nginx-1.20.1-r2.ebuild :

if use nginx_modules_http_vhost_traffic_status; then
    myconf+=( --with-cc-opt=-Wno-stringop-overread )
fi

Is this enough? And again, I am sorry because I have no logs.