NetBSD Problem Report #54671

From www@netbsd.org  Sat Nov  2 16:59:14 2019
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 41B237A1E2
	for <gnats-bugs@gnats.NetBSD.org>; Sat,  2 Nov 2019 16:59:14 +0000 (UTC)
Message-Id: <20191102165913.504AB7A253@mollari.NetBSD.org>
Date: Sat,  2 Nov 2019 16:59:13 +0000 (UTC)
From: ng0@n0.is
Reply-To: ng0@n0.is
To: gnats-bugs@NetBSD.org
Subject: www/firefox52: conflicting types for 'in6_sin_2_v4mapsin6'
X-Send-Pr-Version: www-1.0

>Number:         54671
>Category:       pkg
>Synopsis:       www/firefox52: conflicting types for 'in6_sin_2_v4mapsin6'
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    ryoon
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Nov 02 17:00:00 +0000 2019
>Last-Modified:  Mon Nov 11 11:15:55 +0000 2019
>Originator:     ng0
>Release:        current
>Organization:
>Environment:
NetBSD 9.99.17 (GENERIC) amd64
>Description:
/usr/work/www/firefox52/work/build/_virtualenv/bin/python /usr/work/www/firefox52/work/firefox-52.9.0esr/config/expandlibs_gen.py -o libaccessible_aom.a.desc Unified_cpp_accessible_aom0.o  
gmake[3]: Leaving directory '/usr/work/www/firefox52/work/build/accessible/aom'
/usr/work/www/firefox52/work/.cwrapper/bin/gcc -o sctp_output.o -c -I/usr/work/www/firefox52/work/build/dist/system_wrappers -include /usr/work/www/firefox52/work/firefox-52.9.0esr/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 -DOS_POSIX=1 -DOS_NETBSD=1 -DOS_BSD=1 -DSCTP_SIMPLE_ALLOCATOR=1 -DSCTP_PROCESS_LEVEL_LOCKS=1 -D__Userspace__=1 -DINET=1 -DCALLBACK_API=1 -DSCTP_DEBUG=1 -DINET6=1 -D__Userspace_os_NetBSD=1 -U__NetBSD__ -DSTATIC_EXPORTABLE_JS_API -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -I/usr/work/www/firefox52/work/firefox-52.9.0esr/netwerk/sctp/src -I/usr/work/www/firefox52/work/build/netwerk/sctp/src -I/usr/work/www/firefox52/work/build/ipc/ipdl/_ipdlheaders -I/usr/work/www/firefox52/work/firefox-52.9.0esr/ipc/chromium/src -I/usr/work/www/firefox52/work/firefox-52.9.0esr/ipc/glue -I/usr/work/www/firefox52/work/firefox-52.9.0esr/dom/base -I/usr/work/www/firefox52/work/firefox-52.9.0esr/netwerk/base -I/usr/work/www/firefox52/work/build/dist/include  -I/usr/pkg/includ
 e/nspr -I/usr/pkg/include/nss -I/usr/pkg/include/nspr    -I/usr/X11R7/include/pixman-1   -fPIC -DPIC  -include /usr/work/www/firefox52/work/build/mozilla-config.h -DMOZILLA_CLIENT -MD -MP -MF .deps/sctp_output.o.pp -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/nspr -I/usr/pkg/include/nss/nss -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/ffmpeg3 -Wall -Wempty-body -Wignored-qualifiers -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -fno-lifetime-dse -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/nspr -I/usr/pkg/include/nss/nss -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/us
 r/pkg/include/ffmpeg3 -fno-strict-aliasing -Dunix -fno-math-errno -pthread -pipe -I/usr/pkg/include  -O2 -fomit-frame-pointer -std=gnu99  /usr/work/www/firefox52/work/firefox-52.9.0esr/netwerk/sctp/src/netinet/sctp_output.c
In file included from /usr/work/www/firefox52/work/firefox-52.9.0esr/netwerk/sctp/src/netinet/sctp_output.c:75:
/usr/work/www/firefox52/work/firefox-52.9.0esr/netwerk/sctp/src/netinet6/sctp6_var.h:45:13: error: conflicting types for 'in6_sin_2_v4mapsin6'
 extern void in6_sin_2_v4mapsin6(struct sockaddr_in *, struct sockaddr_in6 *);
             ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/netinet/in.h:372,
                 from /usr/work/www/firefox52/work/build/dist/system_wrappers/netinet/in.h:3,
                 from /usr/work/www/firefox52/work/firefox-52.9.0esr/netwerk/sctp/src/netinet/sctp_os_userspace.h:483,
                 from /usr/work/www/firefox52/work/firefox-52.9.0esr/netwerk/sctp/src/netinet/sctp_os.h:72,
                 from /usr/work/www/firefox52/work/firefox-52.9.0esr/netwerk/sctp/src/netinet/sctp_output.c:38:
/usr/include/netinet6/in6.h:677:6: note: previous declaration of 'in6_sin_2_v4mapsin6' was here
 void in6_sin_2_v4mapsin6(const struct sockaddr_in *, struct sockaddr_in6 *);
      ^~~~~~~~~~~~~~~~~~~
gmake[3]: *** [/usr/work/www/firefox52/work/firefox-52.9.0esr/config/rules.mk:883: sctp_output.o] Error 1
gmake[3]: *** Waiting for unfinished jobs....

>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->ryoon
Responsible-Changed-By: leot@NetBSD.org
Responsible-Changed-When: Mon, 11 Nov 2019 11:15:55 +0000
Responsible-Changed-Why:
Ryo, can you please give it a look?
(over to MAINTAINER)


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.