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)
        Prince of Songkla University
System: NetBSD 4.0_STABLE NetBSD 4.0_STABLE 
(JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 i386
Architecture: i386
Machine: i386
        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 directly into
        PKG_SYSCONFBASE rather than using the CONF_FILES mechanism
        to stage it via /usr/pkg/... (where the PLIST expects it to be).

        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/bin/install -c -o root -g wheel -m 444 '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/' 
test -z "/usr/pkg/share/xsessions" || ./install-sh -c -d 
 /usr/bin/install -c -o root -g wheel -m 444 'data/xsession/openbox.desktop' 

        Then later ...

=> Running POST-INSTALL script actions
openbox-3.4.8: copying /usr/pkg/share/examples/openbox/menu.xml to 
openbox-3.4.8: copying /usr/pkg/share/examples/openbox/rc.xml to 
pkg_create: can't stat `/usr/pkg/etc/xdg/openbox/'
=> Registering installation for openbox-3.4.8
pkg_admin: openbox-3.4.8: File `/usr/pkg/etc/xdg/openbox/' 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/
*** Error code 1


        It is clear that openbox is doing some of the CONF_FIILES
        stuff correctly, but missed from the list of
        files needing that treatment.

Home | Main Index | Thread Index | Old Index