NetBSD Problem Report #48420

From brad.harder@gmail.com  Mon Dec  2 21:22:25 2013
Return-Path: <brad.harder@gmail.com>
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" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 8B3B7A642D
	for <gnats-bugs@gnats.NetBSD.org>; Mon,  2 Dec 2013 21:22:25 +0000 (UTC)
Message-Id: <CABfrOT8y-=zH-8-aLwd8fHLPX5sGR=s1_U541qc1q_PkOR-OXA@mail.gmail.com>
Date: Mon, 2 Dec 2013 13:22:19 -0800
From: B Harder <brad.harder@gmail.com>
Reply-To:
To: pkgsrc-users@NetBSD.org, gnats-bugs <gnats-bugs@netbsd.org>
Subject: lateset firefox 24 failing w/ dtrace

>Number:         48420
>Category:       pkg
>Synopsis:       firefox24 failing to build, patches not proper, dtrace failure
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    ryoon
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 02 21:25:00 +0000 2013
>Closed-Date:    Mon Dec 16 13:48:04 +0000 2013
>Last-Modified:  Mon Dec 16 13:48:04 +0000 2013
>Originator:     B Harder <brad.harder@gmail.com>
>Release:        NetBSD 6.99.28
>Organization:
	method logic digital
>Environment:
System: NetBSD kamloops 6.99.28 NetBSD 6.99.28 (GENERIC) #429: Mon Dec
2 11:20:46 PST 2013
root@kamloops:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
	edited transcript of build failure:

Script started on Mon Dec  2 13:20:23 2013
kamloops# make
=> Bootstrap dependency digest>=20010302: found digest-20121220
=> Checksum SHA1 OK for firefox-24.1.1esr.source.tar.bz2
=> Checksum RMD160 OK for firefox-24.1.1esr.source.tar.bz2
===> Installing dependencies for firefox24-24.1.1nb2
==========================================================================
The supported build options for firefox24 are:

	alsa debug dtrace gnome mozilla-jemalloc official-mozilla-branding
	pulseaudio webrtc

The currently selected options are:

	pulseaudio

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.firefox24 (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
firefox24-24.1.1nb2.  Their current value is shown below:

	* JPEG_DEFAULT = jpeg
	* PYTHON_VERSION_DEFAULT = 27
	* SSLBASE = /usr
	* SSLCERTS = /etc/openssl/certs
	* SSLDIR = /etc/openssl
	* SSLKEYS = /etc/openssl/private

Based on these variables, the following variables have been set:

	* JPEGBASE (defined, but empty)
	* JPEG_TYPE = jpeg
	* PYPACKAGE = python27

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/bin/make clean' after
the changes.
==========================================================================
=> Tool dependency autoconf213>=2.13: found autoconf213-2.13nb3
=> Tool dependency m4>=1.4: found m4-1.4.17
=> Tool dependency gmake>=3.81: found gmake-4.0
=> Tool dependency perl>=5.0: found perl-5.18.1
=> Tool dependency pkg-config>=0.25: found pkg-config-0.28
=> Tool dependency zip-[0-9]*: found zip-3.0nb2
=> Tool dependency zip-[0-9]*: found zip-3.0nb2
=> Tool dependency zip-[0-9]*: found zip-3.0nb2
=> Tool dependency zip-[0-9]*: found zip-3.0nb2
=> Build dependency py27-sqlite2-[0-9]*: found py27-sqlite2-2.6.3nb5
=> Build dependency x11-links>=0.78: found x11-links-0.79
=> Build dependency python27>=2.7.1nb2: found python27-2.7.5
=> Full dependency sqlite3>=3.7.17: found sqlite3-3.8.1
=> Full dependency libevent>=2.0.10: found libevent-2.0.21nb2
=> Full dependency libffi>=3.0.11: found libffi-3.0.13
=> Full dependency nspr>=4.10.2: found nspr-4.10.2
=> Full dependency icu>=52.1: found icu-52.1
=> Full dependency nss>=3.15.3: found nss-3.15.3
=> Full dependency jpeg>=9: found jpeg-9
=> Full dependency cairo>=1.12.14nb3: found cairo-1.12.16
=> Full dependency libvpx>=1.0.0: found libvpx-1.1.0nb2
=> Full dependency libIDL>=0.8.14nb4: found libIDL-0.8.14nb4
=> Full dependency hunspell>=1.3.2: found hunspell-1.3.2nb2
=> Full dependency gtk2+>=2.24.20nb2: found gtk2+-2.24.20nb2
=> Full dependency gstreamer0.10>=0.10.36nb3: found gstreamer0.10-0.10.36nb6
=> Full dependency gst-plugins0.10-base>=0.10.36nb3: found
gst-plugins0.10-base-0.10.36nb7
=> Full dependency pulseaudio>=2.1nb13: found pulseaudio-2.1nb13
=> Full dependency desktop-file-utils>=0.10nb1: found desktop-file-utils-0.22
===> Overriding tools for firefox24-24.1.1nb2
===> Extracting for firefox24-24.1.1nb2
===> Patching for firefox24-24.1.1nb2
=> Applying pkgsrc patches for firefox24-24.1.1nb2
No such line 910 in input file, ignoring
No such line 55 in input file, ignoring
===> Creating toolchain wrappers for firefox24-24.1.1nb2



[...]



/usr/pkgsrc/www/firefox24/work/mozilla-esr24/_virtualenv/bin/python
../config/Preprocessor.py	-DGRE_MILESTONE=24.1.1
-DAPP_BUILDID=20131202132226 -DMOZ_APP_VERSION="24.1.1"
-DMOZ_APP_BASENAME="Firefox" -DMOZ_APP_VENDOR="Mozilla"
-DMOZ_APP_ID="{ec8030f7-c20a-464f-9b0e-13a3a9e97384}"
-DMAR_CHANNEL_ID="firefox-mozilla-esr"
-DACCEPTED_MAR_CHANNEL_IDS="firefox-mozilla-esr"
-DMOZ_PROFILE_MIGRATOR -DMOZ_EXTENSION_MANAGER -DMOZ_GLUE_IN_PROGRAM
-DNO_NSPR_10_SUPPORT -DMOZ_APP_STATIC_INI -DHAVE_64BIT_OS=1
-DJSGC_INCREMENTAL=1 -DMOZILLA_VERSION=\"24.1.1\"
-DMOZILLA_VERSION_U=24.1.1 -DMOZILLA_UAVERSION=\"24.0\" -DD_INO=d_ino
-DSTDC_HEADERS=1 -DHAVE_SSIZE_T=1 -DHAVE_ST_BLKSIZE=1
-DHAVE_SIGINFO_T=1 -DHAVE_UINT=1 -DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE=1
-DHAVE_VISIBILITY_ATTRIBUTE=1 -DHAVE_DIRENT_H=1 -DHAVE_GETOPT_H=1
-DHAVE_MEMORY_H=1 -DHAVE_UNISTD_H=1 -DHAVE_NL_TYPES_H=1
-DHAVE_MALLOC_H=1 -DHAVE_X11_XKBLIB_H=1 -DHAVE_CPUID_H=1
-DHAVE_SYS_QUOTA_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_NETINET_IN_H=1
-DHAVE_SIN_LEN=1 -DHAVE_SCONN_LEN=1 -DHAVE_SIN6_LEN=1 -DHAVE_SA_LEN=1
-DINCLUDE_MOZILLA_DTRACE=1 -DHAVE_SYS_CDEFS_H=1 -DHAVE_DLOPEN=1
-DHAVE_DLADDR=1 -DHAVE_MEMMEM=1 -DFUNCPROTO=15 -DHAVE_LIBXSS=1
-DHAVE_RANDOM=1 -DHAVE_STRERROR=1 -DHAVE_LCHOWN=1 -DHAVE_FCHMOD=1
-DHAVE_SNPRINTF=1 -DHAVE_MEMMOVE=1 -DHAVE_SETBUF=1 -DHAVE_ISATTY=1
-DHAVE_FLOCKFILE=1 -DHAVE_LOCALTIME_R=1 -DHAVE_STRTOK_R=1
-DHAVE_CLOCK_MONOTONIC=1 -DHAVE_LANGINFO_CODESET=1 -DVA_COPY=va_copy
-DHAVE_VA_COPY=1 -DHAVE_VA_LIST_AS_ARRAY=1 -DMALLOC_H=\<malloc.h\>
-DHAVE_STRNDUP=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_VALLOC=1
-DHAVE_I18N_LC_MESSAGES=1 -DHAVE_LOCALECONV=1
-DNS_ATTR_MALLOC=__attribute__\(\(malloc\)\)
-DNS_WARN_UNUSED_RESULT=__attribute__\(\(warn_unused_result\)\)
-DRELEASE_BUILD=1 -DMOZ_UPDATE_CHANNEL=default
-DMOZ_GOOGLE_API_KEY=no-google-api-key -DEARLY_BETA_OR_EARLIER=1
-DMOZ_PHOENIX=1 -DMOZ_BUILD_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AVE_INTTYPES_H=1
-DMOZ_ENABLE_SKIA=1 -DUSE_SKIA=1 -DUSE_SKIA_GPU=1 -DMOZ_XUL=1
-DMOZ_PROFILELOCKING=1 -DBUILD_CTYPES=1 -DMOZ_PLACES=1 -DMOZ_SOCIAL=1
-DMOZ_SERVICES_COMMON=1 -DMOZ_SERVICES_CRYPTO=1
-DMOZ_SERVICES_HEALTHREPORT=1 -DMOZ_SERVICES_METRICS=1
-DMOZ_SERVICES_SYNC=1 -DMOZ_MACBUNDLE_ID=org.mozilla.nightly
-DMOZ_B2G_VERSION=\"1.0.0\" -DMOZ_B2G_OS_NAME=\"\"
-DMOZ_APP_UA_NAME=\"\" -DMOZ_APP_UA_VERSION=\"24.1.1\"
-DFIREFOX_VERSION=24.1.1 -DMOZ_UA_BUILDID=\"\"
-DMOZ_TELEMETRY_DISPLAY_REV=2 -DMOZ_DATA_REPORTING=1
-DMOZ_DLL_SUFFIX=\".so\" -DXP_UNIX=1 -DMOZ_ACCESSIBILITY_ATK=1
-DATK_MAJOR_VERSION=2 -DATK_MINOR_VERSION=8 -DATK_REV_VERSION=0
-DNDEBUG -DTRIMMED "../build/application.ini" -o
"../dist/bin/application.ini"
/usr/pkgsrc/www/firefox24/work/mozilla-esr24/_virtualenv/bin/python
appini_header.py ../dist/bin/application.ini > application.ini.h
gmake[3]: Leaving directory '/usr/pkgsrc/www/firefox24/work/mozilla-esr24/build'
BUILDSTATUS TIERDIR_FINISH build
BUILDSTATUS TIERDIR_START probes
/usr/pkg/bin/gmake -C probes export
gmake[3]: Entering directory
'/usr/pkgsrc/www/firefox24/work/mozilla-esr24/probes'
dtrace -h -s ../probes/mozilla-trace.d -o mozilla-trace.h.tmp
gmake[3]: dtrace: Command not found
Makefile:17: recipe for target '../dist/include/mozilla-trace.h' failed
gmake[3]: *** [../dist/include/mozilla-trace.h] Error 127
gmake[3]: Leaving directory
'/usr/pkgsrc/www/firefox24/work/mozilla-esr24/probes'
config/makefiles/target_export.mk:16: recipe for target
'export_tier_base' failed
gmake[2]: *** [export_tier_base] Error 2
gmake[2]: Leaving directory '/usr/pkgsrc/www/firefox24/work/mozilla-esr24'
config/rules.mk:737: recipe for target 'tier_base' failed
gmake[1]: *** [tier_base] Error 2
gmake[1]: Leaving directory '/usr/pkgsrc/www/firefox24/work/mozilla-esr24'
config/rules.mk:670: recipe for target 'all' failed
gmake: *** [all] Error 2
*** Error code 2

Stop.
make[1]: stopped in /usr/pkgsrc/www/firefox24
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/www/firefox24
kamloops# ^D
Script done on Mon Dec	2 13:22:32 2013


>How-To-Repeat:
	w/ pkgsrc-current, cd ./www/firefox24; make
>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->ryoon
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Tue, 10 Dec 2013 11:06:20 +0000
Responsible-Changed-Why:
Over to maintainer.


From: "Ryo ONODERA" <ryoon@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/48420 CVS commit: pkgsrc/www/firefox24
Date: Sun, 15 Dec 2013 14:02:25 +0000

 Module Name:	pkgsrc
 Committed By:	ryoon
 Date:		Sun Dec 15 14:02:25 UTC 2013

 Modified Files:
 	pkgsrc/www/firefox24: Makefile distinfo
 	pkgsrc/www/firefox24/patches: patch-aa patch-as
 	    patch-toolkit_components_osfile_osfile__unix__back.jsm

 Log Message:
 Update to 24.2.0

 * Fix PR pkg/48420: fix build on NetBSD with drace support
   Patches from richard@

 Changelog:
 Fixed in Firefox ESR 24.2
 MFSA 2013-117 Mis-issued ANSSI/DCSSI certificate
 MFSA 2013-116 JPEG information leak
 MFSA 2013-115 GetElementIC typed array stubs can be generated outside observed typesets
 MFSA 2013-114 Use-after-free in synthetic mouse movement
 MFSA 2013-113 Trust settings for built-in roots ignored during EV certificate validation
 MFSA 2013-111 Segmentation violation when replacing ordered list elements
 MFSA 2013-109 Use-after-free during Table Editing
 MFSA 2013-108 Use-after-free in event listeners
 MFSA 2013-104 Miscellaneous memory safety hazards (rv:26.0 / rv:24.2)


 To generate a diff of this commit:
 cvs rdiff -u -r1.8 -r1.9 pkgsrc/www/firefox24/Makefile
 cvs rdiff -u -r1.4 -r1.5 pkgsrc/www/firefox24/distinfo
 cvs rdiff -u -r1.1 -r1.2 pkgsrc/www/firefox24/patches/patch-aa \
     pkgsrc/www/firefox24/patches/patch-as
 cvs rdiff -u -r1.2 -r1.3 \
     pkgsrc/www/firefox24/patches/patch-toolkit_components_osfile_osfile__unix__back.jsm

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->feedback
State-Changed-By: ryoon@NetBSD.org
State-Changed-When: Sun, 15 Dec 2013 14:11:36 +0000
State-Changed-Why:
Please try latest firefox24.


From: B Harder <brad.harder@gmail.com>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/48420 (firefox24 failing to build, patches not proper, dtrace failure)
Date: Sun, 15 Dec 2013 12:41:10 -0800

 --485b3970d12626bc8b04ed98b707
 Content-Type: text/plain; charset=ISO-8859-1

 I see that Firefox version has been bumped (am attempting build now), but
 patches are still not applying cleanly.
 On Dec 15, 2013 6:11 AM, <ryoon@netbsd.org> wrote:

 > Synopsis: firefox24 failing to build, patches not proper, dtrace failure
 >
 > State-Changed-From-To: open->feedback
 > State-Changed-By: ryoon@NetBSD.org
 > State-Changed-When: Sun, 15 Dec 2013 14:11:36 +0000
 > State-Changed-Why:
 > Please try latest firefox24.
 >
 >
 >
 >

 --485b3970d12626bc8b04ed98b707
 Content-Type: text/html; charset=ISO-8859-1

 <p dir="ltr">I see that Firefox version has been bumped (am attempting build now), but patches are still not applying cleanly.</p>
 <div class="gmail_quote">On Dec 15, 2013 6:11 AM,  &lt;<a href="mailto:ryoon@netbsd.org">ryoon@netbsd.org</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
 Synopsis: firefox24 failing to build, patches not proper, dtrace failure<br>
 <br>
 State-Changed-From-To: open-&gt;feedback<br>
 State-Changed-By: ryoon@NetBSD.org<br>
 State-Changed-When: Sun, 15 Dec 2013 14:11:36 +0000<br>
 State-Changed-Why:<br>
 Please try latest firefox24.<br>
 <br>
 <br>
 <br>
 </blockquote></div>

 --485b3970d12626bc8b04ed98b707--

From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/48420 (firefox24 failing to build, patches not proper,
 dtrace failure)
Date: Mon, 16 Dec 2013 01:19:26 +0000

 not sent to gnats (often happens if you reply to yourself with many
 mailers...)

    ------

 From: B Harder <brad.harder@gmail.com>
 To: ryoon@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org, B Harder
 	<brad.harder@gmail.com>
 Subject: Re: pkg/48420 (firefox24 failing to build, patches not proper, dtrace
 	failure)
 Date: Sun, 15 Dec 2013 14:45:29 -0800

 This successfully built.

 -bch

 On 12/15/13, B Harder <brad.harder@gmail.com> wrote:
 > The following reply was made to PR pkg/48420; it has been noted by GNATS.
 >
 > From: B Harder <brad.harder@gmail.com>
 > To: gnats-bugs@netbsd.org
 > Cc:
 > Subject: Re: pkg/48420 (firefox24 failing to build, patches not proper,
 > dtrace failure)
 > Date: Sun, 15 Dec 2013 12:41:10 -0800
 >
 >  --485b3970d12626bc8b04ed98b707
 >  Content-Type: text/plain; charset=ISO-8859-1
 >
 >  I see that Firefox version has been bumped (am attempting build now), but
 >  patches are still not applying cleanly.
 >  On Dec 15, 2013 6:11 AM, <ryoon@netbsd.org> wrote:
 >
 >  > Synopsis: firefox24 failing to build, patches not proper, dtrace failure
 >  >
 >  > State-Changed-From-To: open->feedback
 >  > State-Changed-By: ryoon@NetBSD.org
 >  > State-Changed-When: Sun, 15 Dec 2013 14:11:36 +0000
 >  > State-Changed-Why:
 >  > Please try latest firefox24.
 >  >
 >  >
 >  >
 >  >
 >
 >  --485b3970d12626bc8b04ed98b707
 >  Content-Type: text/html; charset=ISO-8859-1
 >
 >  <p dir="ltr">I see that Firefox version has been bumped (am attempting
 > build now), but patches are still not applying cleanly.</p>
 >  <div class="gmail_quote">On Dec 15, 2013 6:11 AM,  &lt;<a
 > href="mailto:ryoon@netbsd.org">ryoon@netbsd.org</a>&gt; wrote:<br
 > type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0
 > .8ex;border-left:1px #ccc solid;padding-left:1ex">
 >  Synopsis: firefox24 failing to build, patches not proper, dtrace
 > failure<br>
 >  <br>
 >  State-Changed-From-To: open-&gt;feedback<br>
 >  State-Changed-By: ryoon@NetBSD.org<br>
 >  State-Changed-When: Sun, 15 Dec 2013 14:11:36 +0000<br>
 >  State-Changed-Why:<br>
 >  Please try latest firefox24.<br>
 >  <br>
 >  <br>
 >  <br>
 >  </blockquote></div>
 >
 >  --485b3970d12626bc8b04ed98b707--
 >
 >


 -- 
 Brad Harder
 Method Logic Digital Consulting
 http://www.methodlogic.net/
 http://twitter.com/bcharder

State-Changed-From-To: feedback->closed
State-Changed-By: ryoon@NetBSD.org
State-Changed-When: Mon, 16 Dec 2013 13:48:04 +0000
State-Changed-Why:
confirmed fixed, thank you


>Unformatted:

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-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.