Subject: pkg/33537: devel/gettext-asprintf (check files in install)
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Gilles Dauphin <dauphin@enst.fr>
List: pkgsrc-bugs
Date: 05/23/2006 12:35:00
>Number:         33537
>Category:       pkg
>Synopsis:       devel/gettext-asprintf (check files in install)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 23 12:35:00 +0000 2006
>Originator:     Gilles Dauphin
>Release:        SunOS 5.10 i86pc
>Organization:
ENST 
>Environment:


System: SunOS bi.enst.fr 5.10 Generic_Patch_118844-30 i86pc


>Description:


===> Installing for gettext-asprintf-0.14.5
=> Generating pre-install file lists
share/aclocal: 
        gid (3, 0, modified)
test -z "/usr/pkg/lib" || /bin/bash ./../../build-aux/mkinstalldirs "/usr/pkg/lib"
 /bin/bash ./libtool --mode=install /usr/ucb/install -c -o root -g root  'libasprintf.la' '/usr/pkg/lib/l
ibasprintf.la'
/usr/ucb/install -c -o root -g root .libs/libasprintf.so.0.0.0 /usr/pkg/lib/libasprintf.so.0.0.0
(cd /usr/pkg/lib && { ln -s -f libasprintf.so.0.0.0 libasprintf.so.0 || { rm -f libasprintf.so.0 && ln -s
 libasprintf.so.0.0.0 libasprintf.so.0; }; })
(cd /usr/pkg/lib && { ln -s -f libasprintf.so.0.0.0 libasprintf.so || { rm -f libasprintf.so && ln -s lib
asprintf.so.0.0.0 libasprintf.so; }; })
chmod +x /usr/pkg/lib/libasprintf.so.0.0.0
/usr/ucb/install -c -o root -g root .libs/libasprintf.lai /usr/pkg/lib/libasprintf.la
/usr/ucb/install -c -o root -g root .libs/libasprintf.a /usr/pkg/lib/libasprintf.a
chmod 644 /usr/pkg/lib/libasprintf.a
ranlib /usr/pkg/lib/libasprintf.a
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/pkg/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - use the `-RLIBDIR' linker flag

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/bash ./../../build-aux/mkinstalldirs /usr/pkg/share/doc/libasprintf
mkdir /usr/pkg/share/doc/libasprintf
/usr/ucb/install -c -o root -g root -m 444 `if test -f autosprintf_all.html; then echo .; else echo .; fi
`/autosprintf_all.html /usr/pkg/share/doc/libasprintf/autosprintf.html
test -z "/usr/pkg/include" || /bin/bash ./../../build-aux/mkinstalldirs "/usr/pkg/include"
 /usr/ucb/install -c -o root -g root -m 444 'autosprintf.h' '/usr/pkg/include/autosprintf.h'
test -z "/usr/pkg/info" || /bin/bash ./../../build-aux/mkinstalldirs "/usr/pkg/info"
 /usr/ucb/install -c -o root -g root -m 444 './autosprintf.info' '/usr/pkg/info/autosprintf.info'
 install-info --info-dir='/usr/pkg/info' '/usr/pkg/info/autosprintf.info'
===> [Automatic manual page handling]
=> Generating post-install file lists
===> Registering installation for gettext-asprintf-0.14.5
=> Checking for missing run-time search paths in gettext-asprintf-0.14.5
=> Checking for work-directory references in gettext-asprintf-0.14.5
=> Checking file-check results for gettext-asprintf-0.14.5
*** The PLIST does not match installed files!
*** The following files are in /usr/pkg but not in the PLIST:
        /usr/pkg/info/dir
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/devel/gettext-asprintf
*** Error code 1




>How-To-Repeat:


the first time you install gettext-asprintf
bmake install

else the second time do
bmake deinstall
rm /usr/pkg/info/dir
bmake install




>Fix:


add /usr/pkg/info/dir in PLIST