tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: First pkg_dry milestone
On Tue, 14 Apr 2009, iMil wrote:
> > Also this shows PKGPATH also so doesn't match what pkg_info tells me. For
> > example:
> > So there is not a correlation between pkg_info and pkg_dry.
>
> hmm, did you use pkg_dry -l ? I've just done the same thing here and
> pkg_info and pkg_dry -l matched perfectly
Yes, pkg_info and pkg_dry -l match perfectly other than pkg_dry -l outputs
many lines of "(null)".
Sorry I worded that wrong before. Your tool (-a) shows different package
names as I have installed already -- so I can't use names as would have
used with pkg_add normally, I'd get "nothing to upgrade" and "nothing to
install" (again see that 2 column list I provided in previous mail).
> > > # pkg_dry -T <package>
> >
> > I am not sure what that should do. I can't see any results from it. Please
> > show an -T example. (-t does work for me.)
>
> example :
>
> [~/src/pkg_dry] ./pkg_dry -T glib2
> local reverse dependency tree for glib2
> mc-4.6.1nb4
I tried with gtk2+ and others but didn't get any results.
Using your example core dumped for me:
#0 0x00007f7ffcfc7084 in strlen () from /usr/lib/libc.so.12
#1 0x0000000000405dac in end_expr (str=0x0) at depends.c:49
#2 0x0000000000405ed6 in ddb_rec_direct_deps (param=0x7f7fffffdba0,
argc=1,
argv=0x7f7ffc98ec70, colname=0x7f7ffc98ec68) at depends.c:88
#3 0x00007f7ffd252fe0 in sqlite3_exec () from
/usr/pkg/lib/libsqlite3.so.0
#4 0x000000000040593f in drydb_doquery (
query=0x1 <Address 0x1 out of bounds>, drydb_callback=0x7f7ffc98ec70,
param=0x7f7ffc98ec68) at drydb.c:50
#5 0x0000000000405aa7 in full_dep_tree (pkgname=0x7f7ffffffdfd "glib2",
depquery=0x414910 '\t' <repeats 12 times>, "SELECT LOCAL_PKG.PKGNAME
FROM LOCAL_PKG,LOCAL_DEPS\t\t\t\t\t\tWHERE LOCAL_DEPS.LOCAL_DEPS_PKGNAME
GLOB '%s*'\t\t\t\t\t\tAND LOCAL_PKG.PKG_ID =
LOCAL_DEPS.PKG_ID;\t\t\t\t\t\t\t\t",
pdphead=0x7f7fffffdba0, caller=0x415e90 "show_full_dep_tree", level=1)
at depends.c:178
#6 0x0000000000405c69 in show_full_dep_tree (pkgname=0x7f7ffffffdfd
"glib2",
depquery=0x414910 '\t' <repeats 12 times>, "SELECT LOCAL_PKG.PKGNAME
FROM LOCAL_PKG,LOCAL_DEPS\t\t\t\t\t\tWHERE LOCAL_DEPS.LOCAL_DEPS_PKGNAME
GLOB '%s*'\t\t\t\t\t\tAND LOCAL_PKG.PKG_ID =
LOCAL_DEPS.PKG_ID;\t\t\t\t\t\t\t\t",
msg=<value optimized out>) at depends.c:214
#7 0x00000000004040eb in main (argc=3, argv=0x7f7fffffdc30) at main.c:58
I will send my package list to you off-list.
Home |
Main Index |
Thread Index |
Old Index