NetBSD Problem Report #48580
From www@NetBSD.org Sat Feb 8 09:01:39 2014
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 74FE1A6494
for <gnats-bugs@gnats.NetBSD.org>; Sat, 8 Feb 2014 09:01:39 +0000 (UTC)
Message-Id: <20140208090138.0108AA64AE@mollari.NetBSD.org>
Date: Sat, 8 Feb 2014 09:01:37 +0000 (UTC)
From: joseyluis@gmail.com
Reply-To: joseyluis@gmail.com
To: gnats-bugs@NetBSD.org
Subject: www/firefox www/seamonkey
X-Send-Pr-Version: www-1.0
>Number: 48580
>Category: pkg
>Synopsis: www/firefox www/seamonkey
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: ryoon
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Feb 08 09:05:00 +0000 2014
>Closed-Date: Mon Dec 12 09:47:35 +0000 2016
>Last-Modified: Mon Dec 12 09:47:35 +0000 2016
>Originator: Jose Luis Rodriguez Garcia
>Release: pkgsrc-2013Q4 and pkgsrc-2013Q3
>Organization:
>Environment:
NetBSD mypc 6.1.2_PATCH NetBSD 6.1.2_PATCH (GENERIC) amd64
>Description:
Trying to compile firefox or seamonkey with mozilla-jemalloc, it fails with this bug (it is the same problem):
I have tried with pkgsrc-2013Q3 and pkgsrc-2013Q4
c++ -o mozalloc.o -c -DMOZ_GLUE_IN_PROGRAM -DNO_NSPR_10_SUPPORT -I../../xpcom -I/pkg_comp/obj/pkgsrc/www/firefox/default/mozilla-release/memory/mozalloc -I. -I../../dist/include -I/usr/pkg/include/nspr -I/usr/pkg/include/nss/nss -I/usr/pkg/include/nss -I/usr/pkg/include/nspr -fPIC -DPIC -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/lib/dbus-1.0/include/dbus -DMOZILLA_CLIENT -include ../../mozilla-config.h -MD -MP -MF .deps/mozalloc.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/lib/dbus-1.0/include/dbus -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wsign-compare -Wno-invalid-offsetof -Wcast-align -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/nspr -I/us
r/pkg/include/nss/nss -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/lib/dbus-1.0/include/dbus -fno-exceptions -fno-strict-aliasing -Dunix -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -O2 -fomit-frame-pointer /pkg_comp/obj/pkgsrc/www/firefox/default/mozilla-release/memory/mozalloc/mozalloc.cpp
/pkg_comp/obj/pkgsrc/www/firefox/default/mozilla-release/memory/mozalloc/mozalloc.cpp: In function 'size_t moz_malloc_usable_size(void*)':
/pkg_comp/obj/pkgsrc/www/firefox/default/mozilla-release/memory/mozalloc/mozalloc.cpp:214:34: error: 'malloc_usable_size' was not declared in this scope
/pkg_comp/obj/pkgsrc/www/firefox/default/mozilla-release/memory/mozalloc/mozalloc.cpp:220:1: error: control reaches end of non-void function
/pkg_comp/obj/pkgsrc/www/firefox/default/mozilla-release/config/rules.mk:1129: recipe for target 'mozalloc.o' failed
gmake[2]: *** [mozalloc.o] Error 1
gmake[2]: Leaving directory '/pkg_comp/obj/pkgsrc/www/firefox/default/build/memory/mozalloc'
/pkg_comp/obj/pkgsrc/www/firefox/default/mozilla-release/config/recurse.mk:16: recipe for target 'compile' failed
gmake[1]: *** [compile] Error 2
gmake[1]: Leaving directory '/pkg_comp/obj/pkgsrc/www/firefox/default/build'
/pkg_comp/obj/pkgsrc/www/firefox/default/mozilla-release/config/rules.mk:694: recipe for target 'all' failed
gmake: *** [all] Error 2
*** Error code 2
Stop.
make: stopped in /usr/pkgsrc/www/firefox
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/www/firefox
pkg_comp:test.conf#
>How-To-Repeat:
Add to /etc/mk.conf:
PKG_OPTIONS.seamonkey=mozilla-jemalloc
PKG_OPTIONS.firefox=mozilla-jemalloc
and:
cd /usr/pkgsrc/www/firefox; make install
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->ryoon
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Sat, 08 Feb 2014 09:40:55 +0000
Responsible-Changed-Why:
Over to maintainer.
State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Mon, 12 Dec 2016 09:47:35 +0000
State-Changed-Why:
can't reproduce in pkgsrc-current (2016Q4)
>Unformatted:
(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.