Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 933347 - www-servers/nginx-1.26.1 failed to build w/ multiple definition of `ngx_http_postpone_filter_module
Summary: www-servers/nginx-1.26.1 failed to build w/ multiple definition of `ngx_http_...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-01 08:46 UTC by Zhixu Liu
Modified: 2024-06-02 19:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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