NetBSD Problem Report #47523

From bad@bsd.de  Sat Feb  2 00:02:09 2013
Return-Path: <bad@bsd.de>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id BD82563E568
	for <gnats-bugs@gnats.NetBSD.org>; Sat,  2 Feb 2013 00:02:08 +0000 (UTC)
Message-Id: <20130201235655.857299F@limiting-factor.k.bsd.de>
Date: Sat,  2 Feb 2013 00:56:55 +0100 (MET)
From: bad@bsd.de
Reply-To: bad@bsd.de
To: gnats-bugs@gnats.NetBSD.org
Subject: misc/xdg-utils completely broken because of rampant absolute paths
X-Send-Pr-Version: 3.95

>Number:         47523
>Category:       pkg
>Synopsis:       xdg-utils doesn't know about pkgsrc directories
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 02 00:05:00 +0000 2013
>Originator:     Christoph Badura
>Release:        NetBSD 5.1_STABLE
>Organization:
bozotic software testing labs

>Environment:


System: NetBSD limiting-factor 5.1_STABLE NetBSD 5.1_STABLE (nervous-energy) #4: Fri Nov 4 16:57:02 MET 2011 root@youll-thank-me-later:/m/obj/m/src/sys/arch/i386/compile/nervous-energy i386
Architecture: i386
Machine: i386
>Description:
programs from xdg-utils bomb out randomly depending on whether various
directories at absolute paths exist or not, none of which are in standard
pkgsrc locations.

Found by code inspection after packaging fotoxx failed with:
	xdg-desktop-menu: No writable system menu directory found.

>How-To-Repeat:

( cd /usr/pkgsrc/graphics/fotoxx && make )
>Fix:
	at least xdg-desktop-menu is full with absolute paths that may or may
	not exist in a pkgsrc environment, none of which are in standard
	pkgsrc locations and are inappropriate for USER_DESTDIR in any case.
	Locations checked include but are not limited to e.g. /usr/share,
	/usr/local/share, /etc/xdg.


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