NetBSD Problem Report #47523

From  Sat Feb  2 00:02:09 2013
Return-Path: <>
Received: from ( [])
	by (Postfix) with ESMTP id BD82563E568
	for <>; Sat,  2 Feb 2013 00:02:08 +0000 (UTC)
Message-Id: <>
Date: Sat,  2 Feb 2013 00:56:55 +0100 (MET)
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:    leot
>State:          feedback
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 02 00:05:00 +0000 2013
>Last-Modified:  Tue Sep 18 11:09:44 +0000 2018
>Originator:     Christoph Badura
>Release:        NetBSD 5.1_STABLE
bozotic software testing labs


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


( cd /usr/pkgsrc/graphics/fotoxx && make )
	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.



Responsible-Changed-From-To: pkg-manager->leot
Responsible-Changed-When: Tue, 18 Sep 2018 11:03:47 +0000

State-Changed-From-To: open->feedback
State-Changed-When: Tue, 18 Sep 2018 11:09:44 +0000
I think that xdg-utils-1.1.3nb1 contains a fix for that, JFTR here
the commit message:

 revision 1.14
 date: 2018-08-20 02:43:33 +0200;  author: leot;  state: Exp;  lines: +9 -1;  commitid: m2EPYZbXvtWXfNOA;
 xdg-utils: Avoid hardcoded paths via a SUBST

 Previously all xdg-utils scripts just honored system /usr/local and /etc, fix
 that by substitute them via SUBST framework.


Can you please let us know if that fixes the issue?
(if that's the case we can also remove the workaround for that
in graphics/fotoxx/Makefile)

Thank you!


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD:,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.