Dan handed this off to me to brush up so he could focus on the
info/list/status/contents wad y'all saw earlier.  All kudos to him, all
complaints to me.

    http://cr.opensolaris.org/~dduvall/pkg-search/

The search database doubles in size, but it's still not all that big, in
the scheme of things.

It also seems to have uncovered a bug:

    $ pkg search -s http://localhost:10001 gmake
    basename link usr/sfw/bin/gmake pkg:/[EMAIL 
PROTECTED],5.11-0.84:20080403T075050Z

even though I believe it should also return

    basename file usr/bin/gmake pkg:/[EMAIL 
PROTECTED],5.11-0.84:20080403T075050Z

For now, I've just put in an XXX comment.

It also turns out that import now isn't completely successful.  After
wrapping the database store in a try block, I get this:

    Couldn't add 'path pkg:/[EMAIL PROTECTED],5.11-0.84:20080403T102128Z file 
usr/sfw/lib/webmin/postfix/help/opt_mydomain.es.html' (s_ptr = 01B3d) to search 
database
    Couldn't add 'path pkg:/[EMAIL PROTECTED],5.11-0.84:20080403T103049Z file 
usr/share/gnome/help/totem/pa/figures/totem_start_window.png' (s_ptr = 01Q33) 
to search database
    Couldn't add 'path pkg:/[EMAIL PROTECTED],5.11-0.84:20080403T103049Z file 
usr/share/gnome/help/gnome-access-guide/el/figures/stickyshiftlatch.png' (s_ptr 
= 01Q3D) to search database
    Couldn't add 'content pkg:/[EMAIL PROTECTED],5.11-0.84:20080403T103141Z 
file usr/share/gnome/help/gedit/ja/figures/gedit_format_underline.png' (s_ptr = 
01R2d) to search database
    Couldn't add 'path pkg:/[EMAIL PROTECTED],5.11-0.84:20080403T103141Z file 
usr/share/gnome/help/gedit/ja/figures/gedit_window.png' (s_ptr = 01R2R) to 
search database
    Couldn't add 'content pkg:/[EMAIL PROTECTED],5.11-0.84:20080403T103205Z 
file usr/share/gnome/help/quick-lounge/zh_HK/quick-lounge.xml' (s_ptr = 01S15) 
to search database
    Couldn't add 'path pkg:/[EMAIL PROTECTED],5.11-0.84:20080403T103205Z file 
usr/share/gnome/help/gcalctool/zh_HK/figures/gcalctool_scientific_window.png' 
(s_ptr = 01S1s) to search database
    Couldn't add 'path pkg:/[EMAIL PROTECTED],5.11-0.84:20080403T103205Z link 
usr/share/gnome/help/gnome-netstatus/zh_HK/figures/gnome-netstatus-txrx.png' 
(s_ptr = 01S1S) to search database
    Couldn't add 'content pkg:/[EMAIL PROTECTED],5.11-0.84:20080403T103218Z 
file usr/share/locale/tr/LC_MESSAGES/gdm.mo' (s_ptr = 01T0c) to search database
    Couldn't add 'content pkg:/[EMAIL PROTECTED],5.11-0.84:20080403T103218Z 
file usr/share/locale/lt/LC_MESSAGES/vino.mo' (s_ptr = 01T0S) to search database
    Couldn't add 'content pkg:/[EMAIL PROTECTED],5.11-0.84:20080403T103218Z 
file usr/share/locale/mg/LC_MESSAGES/totem.mo' (s_ptr = 01T0T) to search 
database

I've no idea why these are happening.  DBM just doesn't give any useful
information back, and it's not obvious (like if the data were bigger than
would fit in a DBM page, which was my first thought before I got this
printed out).

Given the apparently limited scope of this breakage, and the fact that it
doesn't seem to be happening on any interesting files, I'm considering just
leaving it as-is for now.

Thanks,
Danek
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to