Subject: pkg/36260: x11/xfce4-session PLIST problem
To: None <,,>
From: None <kre@munnari.OZ.AU>
List: pkgsrc-bugs
Date: 05/02/2007 07:45:00
>Number:         36260
>Category:       pkg
>Synopsis:       x11/xfce4-session PLIST problem
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 02 07:45:00 +0000 2007
>Originator:     Robert Elz
>Release:        NetBSD 3.99.15  (pkgsc current within past 12 hours)
	Prince of Songkla University
System: NetBSD 3.99.15 NetBSD 3.99.15 (GENERIC-1.696-20060125) #8: Wed Jan 25 04:59:39 ICT 2006 i386
Architecture: i386
Machine: i386
	The PLIST for x11/xfce4-session includes a file which
	gets included in the system config directory (which is
	end system alterable - and which I prefer to alter) but
	references it using its full pathname as if PKG_SYSCONFBASE
	was not set.

	Build and install x11/xfce4-session with
	PKG_SYSCONFBASE set to something other than the default.
	Attempt to make a binary package.

	Expect to see ...

=> Checking file-check results for xfce4-session-4.4.1
ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in /usr/pkg:
ERROR:         /usr/pkg/etc/xdg/autostart/xfce4-tips-autostart.desktop
*** Error code 1

	Look back earlier and notice ...

test -z "/etc/conf/xdg/autostart" || /bin/sh ../mkinstalldirs "/etc/conf/xdg/aut
mkdir /etc/conf/xdg/autostart
 /usr/bin/install -c -o root -g wheel -m 444 'xfce4-tips-autostart.desktop' '/etc/conf/xdg/autostart/xfce4-tips-autostart.desktop'

	where xfce4-tips-autostart.desktop is being installed
	(correctly) where it is apparently meant to be installed
	(given PKG_SYSCONFBASE=/etc/conf which is what I use).

	Somehow make PLIST understand files whose location is not
	fixed (or if that one wasn't supposed tobe in PKG_SYSCONFBASE
	then don't put it there!)