NetBSD Problem Report #50991

From root@peano.jt.org  Tue Mar 22 13:03:15 2016
Return-Path: <root@peano.jt.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 641EE7A0F3
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 22 Mar 2016 13:03:15 +0000 (UTC)
Message-Id: <20160322130308.4AA11CFD53C@peano.jt.org>
Date: Tue, 22 Mar 2016 08:03:08 -0500 (CDT)
From: jtowler@soncom.com
Reply-To: jtowler@soncom.com
To: gnats-bugs@NetBSD.org
Subject: firefox36 errs
X-Send-Pr-Version: 3.95

>Number:         50991
>Category:       pkg
>Synopsis:       firefox36 build fails on i386 NetBSD-7.0
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    ryoon
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 22 13:05:00 +0000 2016
>Last-Modified:  Tue Jun 19 02:55:01 +0000 2018
>Originator:     John R. Towler
>Release:        NetBSD 7.0  (GENERIC.201509250726Z) i386
>Organization:

>Environment:


System: NetBSD peano.jt.org 7.0 NetBSD 7.0 (GENERIC.201509250726Z) i386
Architecture: i386
Machine: i386
Description:
	there is a type declaration error in firefox36 in xulrunner192 subbuild

How-To-Repeat:

	from bash-4.3# make,

	This is the nohup.out log of the compilation error I thought
	it could be fixed by changing the CXXFLAGS to add -fpermissive
	and this is wrong.  I don't know that much C++, and I don't
	see from the macros in the code how to reach in and fix the
	type mismatch.  I was trying in Dec 2011-Jan 2012 to hand fix
	firefox versions but I did not succeed until pkgsrc solutions
	solved the problem finally.  Sorry about the length of the report.


nsWildCard.cpp
c++ -o nsWildCard.o -c -I../../dist/system_wrappers -include ../../config/gcc_hid
den.h -DMOZILLA_INTERNAL_API -DOSTYPE=\"NetBSD7\" -DOSARCH=NetBSD -D_IMPL_NS_COM 
-I.. -I. -I. -I../../dist/include -I../../dist/include/nsprpub  -I/usr/local/pkgs
rc/devel/xulrunner192/work/mozilla-1.9.2/dist/include/nspr -I/usr/local/pkgsrc/de
vel/xulrunner192/work/mozilla-1.9.2/dist/include/nss      -I/usr/X11R7/include   
-fPIC -DPIC  -I/usr/local/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R
7/include/libdrm -I/usr/X11R7/include/freetype2  -I/usr/X11R7/include -fno-rtti -
fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-
privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-long-long -
O2 -I/usr/local/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/
libdrm -I/usr/X11R7/include/freetype2 -fno-strict-aliasing -Dunix -fshort-wchar -
pthread -pipe  -DNDEBUG -DTRIMMED -O2 -fpermissive  -I/usr/local/include -I/usr/i
nclude -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/free
type2  -I/usr/X11R7/include -DMOZILLA_CLIENT -include ../../mozilla-config.h -Wp,
-MD,.deps/nsWildCard.pp nsWildCard.cpp
SpecialSystemDirectory.cpp
c++ -o SpecialSystemDirectory.o -c -I../../dist/system_wrappers -include ../../co
nfig/gcc_hidden.h -DMOZILLA_INTERNAL_API -DOSTYPE=\"NetBSD7\" -DOSARCH=NetBSD -D_
IMPL_NS_COM -I.. -I. -I. -I../../dist/include -I../../dist/include/nsprpub  -I/us
r/local/pkgsrc/devel/xulrunner192/work/mozilla-1.9.2/dist/include/nspr -I/usr/loc
al/pkgsrc/devel/xulrunner192/work/mozilla-1.9.2/dist/include/nss      -I/usr/X11R
7/include   -fPIC -DPIC  -I/usr/local/include -I/usr/include -I/usr/X11R7/include
 -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2  -I/usr/X11R7/include
:
 -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-long-long -O2 -I/usr/local/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -fno-strict-aliasing -Dunix -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -O2 -fpermissive  -I/usr/local/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2  -I/usr/X11R7/include -DMOZILLA_CLIENT -include ../../mozilla-config.h -Wp,-MD,.deps/SpecialSystemDirectory.pp SpecialSystemDirectory.cpp
nsFastLoadFile.cpp
c++ -o nsFastLoadFile.o -c -I../../dist/system_wrappers -include ../../config/gcc_hidden.h -DMOZILLA_INTERNAL_API -DOSTYPE=\"NetBSD7\" -DOSARCH=NetBSD -D_IMPL_NS_COM -I.. -I. -I. -I../../dist/include -I../../dist/include/nsprpub  -I/usr/local/pkgsrc/devel/xulrunner192/work/mozilla-1.9.2/dist/include/nspr -I/usr/local/pkgsrc/devel/xulrunner192/work/mozilla-1.9.2/dist/include/nss      -I/usr/X11R7/include   -fPIC -DPIC  -I/usr/local/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2  -I/usr/X11R7/include -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-long-long -O2 -I/usr/local/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -fno-strict-aliasing -Dunix -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -O2 -fpermissive  -I/usr/local/include -I/usr/include -I/usr/X11R7/in
 clude -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2  -I/usr/X11R7/include -DMOZILLA_CLIENT -include ../../mozilla-config.h -Wp,-MD,.deps/nsFastLoadFile.pp nsFastLoadFile.cpp
In file included from nsFastLoadFile.cpp:58:0:
nsFastLoadFile.h:298:18: error: conflicting type attributes specified for 'virtual nsresult nsFastLoadFileReader::ReadSegments(nsWriteSegmentFun, void*, PRUint32, PRUint32*)'
    NS_IMETHODIMP ReadSegments(nsWriteSegmentFun aWriter, void* aClosure,
                  ^
In file included from ../../dist/include/nsIBinaryInputStream.h:10:0,
                 from ../../dist/include/nsIObjectInputStream.h:10,
                 from nsBinaryStream.h:44,
                 from nsFastLoadFile.cpp:57:
:nsBinaryStream.h:113:5: error:   overriding 'virtual nsresult nsBinaryInputStream::ReadSegments(nsWriteSegmentFun, void*, PRUint32, PRUint32*)'
     NS_DECL_NSIINPUTSTREAM
     ^
../../config/rules.mk:1408: recipe for target 'nsFastLoadFile.o' failed
gmake[4]: *** [nsFastLoadFile.o] Error 1
gmake[4]: Leaving directory '/usr/local/pkgsrc/devel/xulrunner192/work/mozilla-1.9.2/xpcom/io'
../config/rules.mk:914: recipe for target 'libs' failed
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory '/usr/local/pkgsrc/devel/xulrunner192/work/mozilla-1.9.2/xpcom'
config/rules.mk:763: recipe for target 'libs_tier_xpcom' failed
gmake[2]: *** [libs_tier_xpcom] Error 2
gmake[2]: Leaving directory '/usr/local/pkgsrc/devel/xulrunner192/work/mozilla-1.9.2'
config/rules.mk:773: recipe for target 'tier_xpcom' failed
gmake[1]: *** [tier_xpcom] Error 2
gmake[1]: Leaving directory '/usr/local/pkgsrc/devel/xulrunner192/work/mozilla-1.9.2'
config/rules.mk:726: recipe for target 'all' failed
gmake: *** [all] Error 2
*** Error code 2

Stop.
make[2]: stopped in /usr/local/pkgsrc/devel/xulrunner192
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/devel/xulrunner192
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/www/firefox36






>Description:

>How-To-Repeat:

>Fix:

Unknown
>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->ryoon
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Sat, 26 Mar 2016 14:42:29 +0000
Responsible-Changed-Why:
Over to Ryo.


From: coypu@sdf.org
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/50991: firefox36 build fails on i386 NetBSD-7.0
Date: Tue, 19 Jun 2018 02:50:16 +0000

 This should really be resolved by removing the www/firefox36 package. It's probably a misunderstanding it was left.
 firefox36 isn't firefox 36, it's firefox 3.6. We can't support such old versions.

 However the build error is in xulrunner192, which has further dependencies. gxine, yelp, mplayer-plugin.

>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.