pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/42502: wm/openbox PLIST problem (CONF_FILES botch) (NetBSD 4.0 / i386)
>Number: 42502
>Category: pkg
>Synopsis: wm/openbox PLIST problem (CONF_FILES botch) (NetBSD 4.0 / i386)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Dec 23 13:25:00 +0000 2009
>Originator: Robert Elz
>Release: NetBSD 4.0 / i386 (pkgsrc current 2009-12-22)
>Organization:
Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 4.0_STABLE NetBSD 4.0_STABLE
(JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008
kre%jade.coe.psu.ac.th@localhost:/usr/obj/4/kernels/JADE i386
Architecture: i386
Machine: i386
>Description:
When compiled with PKG_SYSCONFBASE set to a non-standard
location, wm/openbox (openbox-3.4.8) produces an error from
the file-check tests run by pkgsrc (with PKG_DEVELOPER=yes)
That's because it installs its autostart.sh directly into
PKG_SYSCONFBASE rather than using the CONF_FILES mechanism
to stage it via /usr/pkg/... (where the PLIST expects it to be).
>How-To-Repeat:
I yse pkg_comp with NetBSD 4.0 release sets installed, and
X11_TYPE=modular (I doubt any of that is relevant to this
problem). During the build I see ...
test -z "/usr/pkg/include/openbox/3.4/openbox" || ./install-sh -c -d
"/usr/pkg/include/openbox/3.4/openbox"
/usr/bin/install -c -o root -g wheel -m 444 'version.h'
'/usr/pkg/include/openbox/3.4/openbox/version.h'
test -z "/etc/conf/xdg/openbox" || ./install-sh -c -d "/etc/conf/xdg/openbox"
/usr/bin/install -c -o root -g wheel -m 444 'data/autostart.sh'
'/etc/conf/xdg/openbox/autostart.sh'
test -z "/usr/pkg/share/xsessions" || ./install-sh -c -d
"/usr/pkg/share/xsessions"
/usr/bin/install -c -o root -g wheel -m 444 'data/xsession/openbox.desktop'
'/usr/pkg/share/xsessions/openbox.desktop'
Then later ...
=> Running POST-INSTALL script actions
openbox-3.4.8: copying /usr/pkg/share/examples/openbox/menu.xml to
/etc/conf/xdg/openbox/menu.xml
openbox-3.4.8: copying /usr/pkg/share/examples/openbox/rc.xml to
/etc/conf/xdg/openbox/rc.xml
pkg_create: can't stat `/usr/pkg/etc/xdg/openbox/autostart.sh'
=> Registering installation for openbox-3.4.8
pkg_admin: openbox-3.4.8: File `/usr/pkg/etc/xdg/openbox/autostart.sh' is in
+CONTENTS but not on filesystem!
And finally...
=> Checking file-check results for openbox-3.4.8
ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in /usr/pkg:
ERROR: /usr/pkg/etc/xdg/openbox/autostart.sh
*** Error code 1
Stop.
>Fix:
It is clear that openbox is doing some of the CONF_FIILES
stuff correctly, but missed autostart.sh from the list of
files needing that treatment.
Home |
Main Index |
Thread Index |
Old Index