NetBSD Problem Report #47801

From www@NetBSD.org  Tue May  7 14:16:57 2013
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 2DBD263F004
	for <gnats-bugs@gnats.NetBSD.org>; Tue,  7 May 2013 14:16:57 +0000 (UTC)
Message-Id: <20130507141656.4112F63F004@www.NetBSD.org>
Date: Tue,  7 May 2013 14:16:56 +0000 (UTC)
From: ali@df.lth.se
Reply-To: ali@df.lth.se
To: gnats-bugs@NetBSD.org
Subject: "gnome" pkg option broken in devel/xulrunner
X-Send-Pr-Version: www-1.0

>Number:         47801
>Category:       pkg
>Synopsis:       "gnome" pkg option broken in devel/xulrunner
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 07 14:20:00 +0000 2013
>Last-Modified:  Sun May 19 12:35:03 +0000 2013
>Originator:     Anders Lindgren
>Release:        NetBSD-6.1_RC4/amd64 + pkgsrc 2013Q1
>Organization:
>Environment:
# uname -a
NetBSD gosefnutt 6.1_RC4 NetBSD 6.1_RC4 (GENERIC) amd64
>Description:
If "gnome" is present in PKG_DEFAULT_OPTIONS in mk.conf, www/firefox and devel/xulrunner fail to install because of a non-existent file:

In devel/xulrunner:

    # make show-options
    Any of the following general options may be selected:
            debug    Enable debugging facilities in the package.
            gnome    Enable GNOME support.
            mozilla-jemalloc        Enable building with Mozilla'a jemalloc.
            pulseaudio       Enable support for the PulseAudio sound server.

    These options are enabled by default:

    These options are currently enabled:
            gnome pulseaudio

    You can select which build options to use by setting PKG_DEFAULT_OPTIONS
    or PKG_OPTIONS.xulrunner.
    # make install
    => Bootstrap dependency digest>=20010302: found digest-20121220
    ===> Building binary package for xulrunner-19.0.2nb1
    => Creating binary package /usr/pkgsrc/packages/All/xulrunner-19.0.2nb1.tgz
    pkg_create: can't stat `/usr/pkgsrc/devel/xulrunner/work/.destdir/usr/pkg/lib/xulrunner/components/libnkgnomevfs.so'
    pkg_create: lstat failed for file lib/xulrunner/components/libnkgnomevfs.so: No such file or directory
    *** Error code 2

    Stop.
    make: stopped in /usr/pkgsrc/devel/xulrunner
    *** Error code 1

    Stop.
    make: stopped in /usr/pkgsrc/devel/xulrunner

>How-To-Repeat:
Put "gnome" i PKG_DEFAULT_OPTIONS, build e.g. www/firefox.

>Fix:
Removing "gnome" from PKG_DEFAULT_OPTIONS makes the packaging and installation succeed.

>Audit-Trail:
From: "Ryo ONODERA" <ryoon@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/47801 CVS commit: pkgsrc/www/firefox
Date: Sun, 19 May 2013 12:31:58 +0000

 Module Name:	pkgsrc
 Committed By:	ryoon
 Date:		Sun May 19 12:31:58 UTC 2013

 Modified Files:
 	pkgsrc/www/firefox: PLIST options.mk

 Log Message:
 Fix gnome option.

 This is related to PR pkg/47801.
 But devel/xulrunner is broken now.


 To generate a diff of this commit:
 cvs rdiff -u -r1.63 -r1.64 pkgsrc/www/firefox/PLIST
 cvs rdiff -u -r1.11 -r1.12 pkgsrc/www/firefox/options.mk

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

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.