Subject: pkg/16820: Binary package dependencies not accurate enough WRT libraries
To: None <gnats-bugs@gnats.netbsd.org>
From: None <kpneal@pobox.com>
List: netbsd-bugs
Date: 05/14/2002 23:42:20
>Number: 16820
>Category: pkg
>Synopsis: Binary packages don't always record exactly what libraries are needed.
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue May 14 20:43:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Kevin P. Neal
>Release: NetBSD 1.5.2
>Organization:
None
>Environment:
System: NetBSD tome.neutralgood.org 1.5.2 NetBSD 1.5.2 (TOME) #52: Thu May 9 17:33:04 EDT 2002 kpn@tome.neutralgood.org:/local/kernel/compile/TOME alpha
>Description:
I build all packages on my machine 'tesseract'. Then I pkg_add the
binary packages on 'tome'. When I did a pkg_add of gnumeric the
install proceeded and appeared to work. The executable doesn't
work because tesseract has a newer libpth installed than tome, so
I get this:
tome% ldd `which gnumeric` | grep 'not found'
-lpthread.14 => not found
-lpthread.14 => not found
-lpthread.14 => not found
-lgdk_imlib.10 => not found
-lgdk_imlib.10 => not found
-lgdk_imlib.10 => not found
-lgdk_imlib.10 => not found
-lgdk_imlib.10 => not found
-lgdk_imlib.10 => not found
-lgdk_imlib.10 => not found
-lgdk_imlib.10 => not found
Nowhere was there any indication of a problem before I tried
running gnumeric.
>How-To-Repeat:
On one machine, build binary packages. Install them on another machine,
but have a slightly older libpth installed. Watch programs that require
newer libpth fail to run.
Note that I built most if not all packages with 'make package' in
pkgsrc. I may have built some packages with pkg_tarup, I don't
recall exactly.
>Fix:
None provided.
>Release-Note:
>Audit-Trail:
>Unformatted: