NetBSD Problem Report #51515

From www@NetBSD.org  Wed Sep 28 11:34:58 2016
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 "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 07F307A16D
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 28 Sep 2016 11:34:58 +0000 (UTC)
Message-Id: <20160928113456.A60EE7A2C2@mollari.NetBSD.org>
Date: Wed, 28 Sep 2016 11:34:56 +0000 (UTC)
From: venture37@geeklan.co.uk
Reply-To: venture37@geeklan.co.uk
To: gnats-bugs@NetBSD.org
Subject: www/firefox fails to build with webrtc option enabled
X-Send-Pr-Version: www-1.0

>Number:         51515
>Category:       pkg
>Synopsis:       www/firefox fails to build with webrtc option enabled
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 28 11:35:00 +0000 2016
>Last-Modified:  Wed Sep 28 14:20:00 +0000 2016
>Originator:     Sevan Janiyan
>Release:        pkgsrc-current
>Organization:
>Environment:
NetBSD 7.0.1_PATCH (GENERIC) #0: Tue Sep 27 10:04:38 BST 2016 GENERIC i386
>Description:
Attempting to build www/firefox with the webrtc option enabled on NetBSD/7.0.1 i386, it fails due to lack of support for the SCTP implementation in NetBSD.

/usr/pkgsrc/www/firefox/work/build/_virtualenv/bin/python /usr/pkgsrc/www/firefox/work/firefox-49.0/config/expandlibs_gen.py -o libtoolkit_profile.a.desc Unified_cpp_toolkit_profile0.o  
/usr/pkgsrc/www/firefox/work/firefox-49.0/netwerk/sctp/src/netinet6/sctp6_usrreq.c: In function 'sctp6_notify':
/usr/pkgsrc/www/firefox/work/firefox-49.0/netwerk/sctp/src/netinet6/sctp6_usrreq.c:475:35: error: 'ICMP_UNREACH_ADMIN_PROHIBIT' undeclared (first use in this function)
             (icmph->icmp6_code == ICMP_UNREACH_ADMIN_PROHIBIT)) {
                                   ^
/usr/pkgsrc/www/firefox/work/firefox-49.0/netwerk/sctp/src/netinet6/sctp6_usrreq.c:475:35: note: each undeclared identifier is reported only once for each function it appears in
/usr/pkgsrc/www/firefox/work/firefox-49.0/config/rules.mk:891: recipe for target 'sctp6_usrreq.o' failed

>How-To-Repeat:
build www/firefox with PKG_OPTIONS.firefox=webrtc defined in mk.conf
>Fix:

>Audit-Trail:
From: Joerg Sonnenberger <joerg@bec.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/51515: www/firefox fails to build with webrtc option enabled
Date: Wed, 28 Sep 2016 15:29:35 +0200

 On Wed, Sep 28, 2016 at 11:35:00AM +0000, venture37@geeklan.co.uk wrote:
 > Attempting to build www/firefox with the webrtc option enabled on
 > NetBSD/7.0.1 i386, it fails due to lack of support for the SCTP
 > implementation in NetBSD.
 > 
 > /usr/pkgsrc/www/firefox/work/build/_virtualenv/bin/python /usr/pkgsrc/www/firefox/work/firefox-49.0/config/expandlibs_gen.py -o libtoolkit_profile.a.desc Unified_cpp_toolkit_profile0.o  
 > /usr/pkgsrc/www/firefox/work/firefox-49.0/netwerk/sctp/src/netinet6/sctp6_usrreq.c: In function 'sctp6_notify':
 > /usr/pkgsrc/www/firefox/work/firefox-49.0/netwerk/sctp/src/netinet6/sctp6_usrreq.c:475:35: error: 'ICMP_UNREACH_ADMIN_PROHIBIT' undeclared (first use in this function)
 >              (icmph->icmp6_code == ICMP_UNREACH_ADMIN_PROHIBIT)) {
 >                                    ^

 Missing netinet/ip_icmp.h?

 Joerg

From: Sevan Janiyan <venture37@geeklan.co.uk>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/51515: www/firefox fails to build with webrtc option enabled
Date: Wed, 28 Sep 2016 15:18:03 +0100

 On 28/09/2016 14:30, Joerg Sonnenberger wrote:
 >  Missing netinet/ip_icmp.h?

 Yep, tried that, it was preceded by clashes & redefinitions.

 Sevan

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.