Subject: empty +SIZE_* files and dc: stack empty
To: None <>
From: Jeremy C. Reed <>
List: tech-pkg
Date: 10/21/2003 16:30:15
Recently, while installing packages I have seen:

  dc: stack empty

This is dc (GNU bc 1.06) 1.3.

I see revision 1.1278 (13/Sep/2003) of made some changes to
figuring out sizes. I don't know if it is related.

And now I see that my new packages don't have any output with pkg_info -s
or -S switches.

$ ls -l /var/db/pkg/fontconfig-2.2.1nb2/+SIZE_*
-rw-r--r--    1 root     root            0 Oct 21 16:11 /var/db/pkg/fontconfig-2.2.1nb2/+SIZE_ALL
-rw-r--r--    1 root     root            1 Oct 21 16:11 /var/db/pkg/fontconfig-2.2.1nb2/+SIZE_PKG

$ bmake show-var VARNAME=PKG_BEST_EXISTS
/usr/sbin/pkg_admin -K /var/db/pkg -b -d /var/db/pkg -S lsbest

reed@k3:/usr/pkgsrc/fonts/fontconfig$ /usr/sbin/pkg_admin -K /var/db/pkg -b -d /var/db/pkg -S lsbest

On another system, it is:
/usr/sbin/pkg_admin -K /var/db/pkg -b -d /var/db/pkg -s "" lsbest
(-s "" instead of -S)

Anyone with empty +SIZE_* files?

   Jeremy C. Reed