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

Bug 933347

Summary: www-servers/nginx-1.26.1 failed to build w/ multiple definition of `ngx_http_postpone_filter_module
Product: Gentoo Linux Reporter: Zhixu Liu <zhixu.liu>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Zhixu Liu 2024-06-01 08:46:46 UTC
The problem is, http_postpone_filter module is always build, but was set to no before add vod module, then cause:

/usr/bin/x86_64-pc-linux-gnu-ld.bfd: objs/src/http/ngx_http_postpone_filter_module.o:(.data+0x40): multiple definition of `ngx_http_postpone_filter_module'; objs/src/http/ngx_http_postpone_filter_module.o:(.data+0x40): first defined here

export HTTP_POSTPONE=no should removed in ebuild, see following:

    if use nginx_modules_http_vod; then
        http_enabled=1
        export HTTP_POSTPONE=no
        myconf+=( --add-module=${HTTP_VOD_MODULE_WD} )
    fi

Reproducible: Always