pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/41940: devel/cflow file-check test failure - uninstalled locale files (NetBSD 4.0)



>Number:         41940
>Category:       pkg
>Synopsis:       devel/cflow file-check test failure - uninstalled locale files 
>(NetBSD 4.0)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 26 11:00:00 +0000 2009
>Originator:     Robert Elz
>Release:        NetBSD 4.0_STABLE
>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:
        devel/cflow fails to installed bunch of locale files
        (message translation files, I guess) that the PLIST
        expects to be installed, and hence fails the file-check
        test run with PKG_DEVELOPER=yes (the files would be
        missing if a binary package were allowed to be created
        by running without PKG_DEVELOPER set)

>How-To-Repeat:
        I use pkg_comp with NetBSD 4.0 sets installed, ane libkver
        to simulate a fairly pure, plain, boring, NetBSD 4.0
        releae environment (no x* sets, pkgsrc modular xord used instead).
        I doubt any of that (except perhaps 4.0) is relevant for this PR.

        Building devel/cflow (as in "make package") in that environment
        (which has PKG_DEVELOPER set because that's what pkg_comp likes)
        expect to see ...

=> Checking file-check results for cflow-1.3nb1
ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in /usr/pkg:
ERROR:         /usr/pkg/share/locale/da/LC_MESSAGES/cflow.mo
ERROR:         /usr/pkg/share/locale/ga/LC_MESSAGES/cflow.mo
ERROR:         /usr/pkg/share/locale/id/LC_MESSAGES/cflow.mo
ERROR:         /usr/pkg/share/locale/pl/LC_MESSAGES/cflow.mo
ERROR:         /usr/pkg/share/locale/uk/LC_MESSAGES/cflow.mo
ERROR:         /usr/pkg/share/locale/vi/LC_MESSAGES/cflow.mo
ERROR:         /usr/pkg/share/locale/zh_CN/LC_MESSAGES/cflow.mo
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/devel/cflow

        there are the usual (when this happens) earlier warning
        messages along the lines of ...

pkg_create: can't stat `/usr/pkg/share/locale/da/LC_MESSAGES/cflow.mo'

        and

pkg_admin: cflow-1.3nb1: File `/usr/pkg/share/locale/da/LC_MESSAGES/cflow.mo' 
is in +CONTENTS but not on filesystem!

        (for each of the missing files).   Aside from that I see no
        obvious references to anything relating to those lc_messages
        files (I dont' see anywhere they're built, or anything like
        that).

        The config stage does seem to find working locale.h
        iconv msgfmt (etc) - that is, I see no output from config
        that looks like it might have been detecting anything
        missing that should have been present - it seems to find
        (correctly I assume) the buildlink'd msgfmt wrapper

        About the only slightly odd thing I see is ...

checking whether to use NLS... no

        which I suppose might explain why no messages files were
        created 9or installed, obviously) - but I have no idea why the
        answer there was "no".

        I have nothing related to locales, nls, or cflow in /etc/mk.conf
        everything there is (should be) basic NetBSD 4.0 default settings.

>Fix:
        ???



Home | Main Index | Thread Index | Old Index