Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 585804 - www-servers/nginx-1.11.1[rtmp] - emake failed: ngx_rtmp_core_module.c:548:9: error: cannot convert to a pointer type
Summary: www-servers/nginx-1.11.1[rtmp] - emake failed: ngx_rtmp_core_module.c:548:9: ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tiziano Müller (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-13 10:58 UTC by Sergey Ilinykh
Modified: 2016-06-16 06:56 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,54.14 KB, text/plain)
2016-06-13 10:59 UTC, Sergey Ilinykh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Ilinykh 2016-06-13 10:58:44 UTC
New nginx with rtmp use flag enabled fails to build

Reproducible: Always




x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -maes -I/usr/include -I/home/portage/build/portage/www-servers/nginx-1.11.1/work/nginx-rtmp-module-1.1.7  -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 \
        -o objs/addon/nginx-rtmp-module-1.1.7/ngx_rtmp_mp4_module.o \
        /home/portage/build/portage/www-servers/nginx-1.11.1/work/nginx-rtmp-module-1.1.7/ngx_rtmp_mp4_module.c
/home/portage/build/portage/www-servers/nginx-1.11.1/work/nginx-rtmp-module-1.1.7/ngx_rtmp_core_module.c:548:9: error: cannot convert to a pointer type
         if (ngx_memcmp(ls[i].sockaddr + off, u.sockaddr + off, len) != 0) {
         ^
Comment 1 Sergey Ilinykh 2016-06-13 10:59:51 UTC
Created attachment 437356 [details]
build.log
Comment 2 Coacher 2016-06-13 12:51:37 UTC
Please attach the output of `emerge --info'.
Comment 3 Thomas Deutschmann (RETIRED) gentoo-dev 2016-06-13 12:57:16 UTC
Confirmed, looking into this...
Comment 4 Thomas Deutschmann (RETIRED) gentoo-dev 2016-06-13 14:05:10 UTC
PR submitted: https://github.com/gentoo/gentoo/pull/1669
Comment 5 Patrice Clement gentoo-dev 2016-06-16 06:56:52 UTC
commit 6241ba18ca4a5e043a97ad11cf450c8d27b3079f (HEAD -> master, origin/master, origin/HEAD)
Author:     Thomas Deutschmann <whissi@whissi.de>
AuthorDate: Mon Jun 13 15:49:57 2016 +0200
Commit:     Patrice Clement <monsieurp@gentoo.org>
CommitDate: Thu Jun 16 06:27:33 2016 +0000

www-servers/nginx: Patch for rtmp module. Fixes bug 585804.

Proposed patch for upstream bug 820 added to fix building of
nginx's 3rd party module "rtmp" against nginx-1.11.0+.

Bug: https://github.com/arut/nginx-rtmp-module/issues/820
Gentoo-Bug: https://bugs.gentoo.org/585804

Package-Manager: portage-2.3.0_rc1
Closes: https://github.com/gentoo/gentoo/pull/1669

Signed-off-by: Patrice Clement <monsieurp@gentoo.org>

www-servers/nginx/files/rtmp-nginx-1.11.0.patch | 39 +++++++++++++++++++++++++++++++++++++++
www-servers/nginx/nginx-1.10.1.ebuild           |  7 ++++---
www-servers/nginx/nginx-1.11.1.ebuild           | 13 ++++++++++---
3 files changed, 53 insertions(+), 6 deletions(-)
create mode 100644 www-servers/nginx/files/rtmp-nginx-1.11.0.patch