pkgsrc-Bugs archive

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

pkg/45940: audio/csound5 PLIST error (or faulty recent update)



>Number:         45940
>Category:       pkg
>Synopsis:       audio/csound5 PLIST error (or faulty recent update)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 06 16:25:00 +0000 2012
>Originator:     Robert Elz
>Release:        NetBSD 5.0 (pkgsrc current 2012-02-06)
>Organization:
        Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 5.1_STABLE NetBSD 5.1_STABLE 
(JADE-1.12-20120130) #27: Tue Jan 31 05:20:31 ICT 2012 
kre%jade.coe.psu.ac.th@localhost:/usr/obj/5/kernels/i386/JADE i386
Architecture: i386
Machine: i386
>Description:
        A couple of days ago, audio/csound5 had a revbump, and PLIST
        change, with the comment
                Add control plugin

        The entire change, as best I can ascertain it, was to add one line
        to the PLIST, and to bump the pkgrevision.

        That can't be right, a PKGREVISION change cannot cause a new file
        to appear - and it didn't, now I see a PLIST problem (that is, from
        the file_check test) and the problem is that the PLIST wants this
        new file:
                lib/csound5/plugins/libcontrol.so
        which is not installed anywhere (or built anywhere, as best I can tell).

        My guess would be that some option to cause this extra feature to
        be built failed to get added in the upgrade process, or perhaps
        the need for that file was caused by some autoconf stupidity finding
        something installed on someone's system, and so building this extra
        library (pkgsrc is supposed to make sure that kind of thing never
        happens).

>How-To-Repeat:
        I use pkg_comp and build starting in an almost empty sandbox
        (with libkver and NetBSD 5.0 release sets installed, USER_DESTDIR=no
        and X11_TYPE=native).

        In that environment (i386) I see (with PKG_DEVELOPER=yes, as
        pkg_comp sets it)

cd /usr/pkg && /bin/ln -s ../lib/csound5/csound bin/csound5
=> Automatic manual page handling
=> Generating post-install file lists
pkg_create: can't stat `/usr/pkg/lib/csound5/plugins/libcontrol.so'
=> Registering installation for csound5-5.01nb12
pkg_admin: csound5-5.01nb12: File `/usr/pkg/lib/csound5/plugins/libcontrol.so' 
is in +CONTENTS but not on filesystem!
csound5-5.01nb12 requires installed package fltk-1.1.10nb3
csound5-5.01nb12 requires installed package fluidsynth-1.1.5
csound5-5.01nb12 requires installed package jpeg-8d
csound5-5.01nb12 requires installed package libsndfile-1.0.25
csound5-5.01nb12 requires installed package png-1.5.8
=> Checking file-check results for csound5-5.01nb12
ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in /usr/pkg:
ERROR:         /usr/pkg/lib/csound5/plugins/libcontrol.so
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/audio/csound5
*** Error code 1

Stop.

        The three error references there for libcontrol.so (the normal
        trilogy when a file is missing) are the only references to libcontrol
        (with or without the .so extension) anywhere in the build log.

>Fix:
        Either finish the update to enable this thing, whatever it is,
        or back out the change that added it (there have been a zillion
        revbumps recently, so it might not be necessary to do yet another
        if the choice is to remove the file from the PLIST).



Home | Main Index | Thread Index | Old Index