Subject: odd packaging issue
To: None <tech-pkg@netbsd.org>
From: Louis Guillaume <lguillaume@berklee.edu>
List: tech-pkg
Date: 09/21/2004 20:41:36
Hello,
There's something funny going on with "make package". On the system
where pkgsrc lives and the packages are installed, there are several
files that don't actually make it into the binary packages.
I first noticed this after installing kde3. On my pkgsrc machine, there
was the little tray utility to do the xrandr stuff. But when I installed
the binary package on a machine at home, that utility wasn't there. This
prompted me to ...
. Delete all packages...
# ls /var/db/pkg | while read i ;do
> pkg_delete -r $i
> done
#
. Clean up /usr/pkg
# rm -Rf /usr/pkg/*
. Remove all binary packages
# rm -Rf /usr/pkgsrc/packages/*
. Install kde3 from the meta package...
# cd /usr/pkgsrc/meta-pkgs/kde3
# make clean CLEANDEPENDS=YES
...
# make package
KDE is made and all seems well...
. Verify the binary packages...
# pkg_info -aLq > pkg_info_list
# find /usr/pkg > pkg_find_list
# > pkg_miss_list
# while read i ;do
> grep "$i" pkg_info_list >/dev/null 2>&1 || echo "$i exists but is not
in a package" >>pkg_miss_list
> done <pkg_find_list
#
# wc -l pkg_miss_list
661 pkg_miss_list
Yikes! But, some of these are .pkgsrc files...
# grep -v "\.pkgsrc" pkg_miss_list | wc -l
639
Yikes again! Probably lots of directories...
# grep -v "\.pkgsrc" pkg_miss_list |
# while read i ;do
# name=`echo $i|sed 's/ .*//'`
# [ -d "$name" ] || echo "$name exists but is not in a package"
# done > pkgmiss
# cat pkgmiss
/usr/pkg/bin/krandrtray exists but is not in a package
/usr/pkg/bin/krandrinithack exists but is not in a package
/usr/pkg/bin/bdftopcf exists but is not in a package
/usr/pkg/bin/fstobdf exists but is not in a package
/usr/pkg/bin/mkfontdir exists but is not in a package
/usr/pkg/bin/mkfontscale exists but is not in a package
/usr/pkg/etc/openldap/schema/corba.schema exists but is not in a package
/usr/pkg/etc/openldap/schema/core.schema exists but is not in a package
/usr/pkg/etc/openldap/schema/java.schema exists but is not in a package
/usr/pkg/etc/openldap/schema/inetorgperson.schema exists but is not in a
package
/usr/pkg/etc/openldap/schema/cosine.schema exists but is not in a package
/usr/pkg/etc/openldap/schema/misc.schema exists but is not in a package
/usr/pkg/etc/openldap/schema/nis.schema exists but is not in a package
/usr/pkg/etc/openldap/schema/openldap.schema exists but is not in a package
/usr/pkg/etc/openldap/ldap.conf exists but is not in a package
/usr/pkg/etc/openldap/slapd.conf exists but is not in a package
/usr/pkg/etc/slp.conf exists but is not in a package
/usr/pkg/etc/slp.reg exists but is not in a package
/usr/pkg/etc/slp.spi exists but is not in a package
/usr/pkg/etc/cups/client.conf exists but is not in a package
/usr/pkg/etc/cups/cupsd.conf exists but is not in a package
/usr/pkg/etc/cups/classes.conf exists but is not in a package
/usr/pkg/etc/cups/mime.convs exists but is not in a package
/usr/pkg/etc/cups/mime.types exists but is not in a package
/usr/pkg/etc/cups/printers.conf exists but is not in a package
/usr/pkg/etc/cups/pstoraster.convs exists but is not in a package
/usr/pkg/etc/fontconfig/fonts.conf exists but is not in a package
/usr/pkg/etc/fontconfig/fonts.dtd exists but is not in a package
/usr/pkg/etc/fontconfig/local.conf exists but is not in a package
/usr/pkg/etc/esd.conf exists but is not in a package
/usr/pkg/etc/sgml/catalog exists but is not in a package
/usr/pkg/etc/xml/catalog exists but is not in a package
/usr/pkg/etc/kdm/kdmrc exists but is not in a package
/usr/pkg/etc/imlib/imrc exists but is not in a package
/usr/pkg/etc/imlib/im_palette.pal exists but is not in a package
/usr/pkg/etc/imlib/im_palette-small.pal exists but is not in a package
/usr/pkg/etc/imlib/im_palette-tiny.pal exists but is not in a package
/usr/pkg/info/dir exists but is not in a package
/usr/pkg/lib/charset.alias exists but is not in a package
/usr/pkg/lib/X11/config/host.def exists but is not in a package
/usr/pkg/lib/kde3/kcm_randr.so exists but is not in a package
/usr/pkg/lib/kde3/kcm_randr.la exists but is not in a package
/usr/pkg/lib/kde3/krandrinithack.so exists but is not in a package
/usr/pkg/lib/kde3/krandrinithack.la exists but is not in a package
/usr/pkg/lib/libkdeinit_krandrinithack.so exists but is not in a package
/usr/pkg/lib/libkdeinit_krandrinithack.la exists but is not in a package
/usr/pkg/share/locale/locale.alias exists but is not in a package
/usr/pkg/share/sgml/catalog exists but is not in a package
/usr/pkg/share/xml/catalog exists but is not in a package
/usr/pkg/share/applications/kde/krandrtray.desktop exists but is not in
a package
/usr/pkg/share/kde/applnk/.hidden/randr.desktop exists but is not in a
package
Seems like the problem involves several packages. Is this a know issue
or just a package maintenance deal?
Please let me know if I can do anything to help with this. Thanks,
Louis