NetBSD Problem Report #46876

From  Thu Aug 30 01:19:30 2012
Return-Path: <>
Received: from ( [])
	by (Postfix) with ESMTP id EA63663B8E6
	for <>; Thu, 30 Aug 2012 01:19:29 +0000 (UTC)
Message-Id: <>
Date: Thu, 30 Aug 2012 01:19:28 +0000 (UTC)
Subject: devel/xulrunner DragonFly 'struct dirent' has no member named 'd_reclen'
X-Send-Pr-Version: www-1.0

>Number:         46876
>Category:       pkg
>Synopsis:       devel/xulrunner DragonFly 'struct dirent' has no member named 'd_reclen'
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    ryoon
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 30 01:20:00 +0000 2012
>Closed-Date:    Wed Sep 05 17:22:40 +0000 2012
>Last-Modified:  Wed Sep 05 17:22:40 +0000 2012
>Originator:     David Shao
>Release:        DragonFly 3.1-DEVELOPMENT x86_64
DragonFly 3.1-DEVELOPMENT x86_64
Using DragonFly pkgsrc master Wed Aug 29 14:20:07 2012 -0700 and
pkg_rolling-replace -u
produces an error building xulrunner

c++ -o process_util_posix.o -c -I../../dist/stl_wrappers -I../../dist/system_wrappers -include ../../config/gcc_hidden.h -DMOZ_GLUE_IN_PROGRAM -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES  -DSTATIC_EXPORTABLE_JS_API -DEXCLUDE_SKIA_DEPENDENCIES  -DOS_POSIX=1 -DOS_DRAGONFLY=1 -DOS_BSD=1  -I../../dist -I../../ipc/chromium/src -I../../ipc/glue -I../../ipc/ipdl/_ipdlheaders  -I. -I. -I../../dist/include -I../../dist/include/nsprpub  -I/usr/pkg/include/nspr -I/usr/pkg/include/nss/nss -I/usr/pkg/include/nss -I/usr/pkg/include/nspr        -fPIC -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/gettext -I/usr/pkg/include/nspr -I/usr/pkg/include/freetype2 -fno-rtti -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -g -I/usr/include -I/usr/pk
 g/include -I/usr/pkg/include/gettext -I/usr/pkg/include/nspr -I/usr/pkg/include/freetype2 -fno-exceptions -fno-strict-aliasing -ffunction-sections -fdata-sections -pthread -pipe  -DNDEBUG -DTRIMMED -pthread -I/usr/pkg/include/gtk-2.0 -I/usr/pkg/lib/gtk-2.0/include -I/usr/pkg/include/atk-1.0 -I/usr/pkg/include/cairo -I/usr/pkg/include/gdk-pixbuf-2.0 -I/usr/pkg/include/pango-1.0 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -I/usr/pkg/include/pixman-1 -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libpng15 -I/usr/pkg/include/gtk-unix-print-2.0   -O2 -fomit-frame-pointer  -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/gettext -I/usr/pkg/include/nspr -I/usr/pkg/include/freetype2 -DMOZILLA_CLIENT -include ../../mozilla-config.h -MD -MF .deps/process_util_posix.pp /usr/pkgsrc/devel/xulrunner/work/mozilla-release/ipc/chromium/src/base/
In file included from ../../ipc/chromium/src/base/dir_reader_posix.h:24,
                 from /usr/pkgsrc/devel/xulrunner/work/mozilla-release/ipc/chromium/src/base/
../../ipc/chromium/src/base/dir_reader_bsd.h: In member function 'bool base::DirReaderBSD::Next()':
../../ipc/chromium/src/base/dir_reader_bsd.h:52: error: 'struct dirent' has no member named 'd_reclen'
gmake[4]: *** [process_util_posix.o] Error 1
gmake[4]: Leaving directory `/usr/pkgsrc/devel/xulrunner/work/mozilla-release/ipc/chromium'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory `/usr/pkgsrc/devel/xulrunner/work/mozilla-release/ipc'
gmake[2]: *** [libs_tier_platform] Error 2
gmake[2]: Leaving directory `/usr/pkgsrc/devel/xulrunner/work/mozilla-release'
gmake[1]: *** [tier_platform] Error 2
gmake[1]: Leaving directory `/usr/pkgsrc/devel/xulrunner/work/mozilla-release'
gmake: *** [all] Error 2
*** Error code 2

Using DragonFly pkgsrc master Wed Aug 29 14:20:07 2012 -0700 on
DragonFly 3.1-DEVELOPMENT x86_64, run
pkg_rolling-replace -u



Responsible-Changed-From-To: pkg-manager->ryoon
Responsible-Changed-When: Thu, 30 Aug 2012 08:17:46 +0000
Can you fix that please? If not, please assign to the DragonFly PR handlers.

State-Changed-From-To: open->feedback
State-Changed-When: Sun, 02 Sep 2012 20:23:26 +0000
does version 1.3 of patches/patch-ipc_chromium_src_base_dir__reader__bsd.h
fix this? (committed ~12 hours ago)

From: David Shao <>
Subject: Re: pkg/46876: devel/xulrunner DragonFly 'struct dirent' has no
 member named 'd_reclen'
Date: Tue, 4 Sep 2012 18:35:24 -0700

 xulrunner and firefox both build and appear to function correctly on
 both i386 and x86_64 DragonFly 3.1-DEVEL at least as of current pkgsrc
 commit bd0dee7f4ee509b346346a2be9e0646baac2d80c
 Author: pkgsrc fixup <>
 Date:   Tue Sep 4 06:56:01 2012 -0700

State-Changed-From-To: feedback->closed
State-Changed-When: Wed, 05 Sep 2012 17:22:40 +0000
Confirmed fixed, thanks.


NetBSD Home
NetBSD PR Database Search

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