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: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-06-01 08:46 UTC by Zhixu Liu
Modified: 2024-08-30 07:50 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
Comment 1 Larry the Git Cow gentoo-dev 2024-08-30 07:50:24 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d4fe535bddde817ff8c0a191c5dbf2fbcb45a2b

commit 5d4fe535bddde817ff8c0a191c5dbf2fbcb45a2b
Author:     Z. Liu <zhixu.liu@gmail.com>
AuthorDate: 2024-08-23 12:35:09 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2024-08-30 07:50:21 +0000

    www-servers/nginx: remove HTTP_POSTPONE=no for nginx-vod module
    
    Closes: https://bugs.gentoo.org/933347
    Signed-off-by: Z. Liu <zhixu.liu@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/38260
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 www-servers/nginx/{nginx-1.26.2.ebuild => nginx-1.26.2-r1.ebuild} | 1 -
 www-servers/nginx/{nginx-1.27.1.ebuild => nginx-1.27.1-r1.ebuild} | 1 -
 2 files changed, 2 deletions(-)