dynamic-not-listed dependencies
Hi list We use one crux-server to build packages for all the other one, via pkg-repgen and pkg-get. From time to time problems occur with dynamic dependencies. Packages which installed on build-server, but not on the target, are linked to other binaries. pkg-get failed with these dependencies because they are not registered in Pkgfile. dep_diff: compares prt-get deptree (Pkgfile:Depends on) with finddeps (prt-utils) for one or all installed packages. This script generates a list of dynamic-not-listed dependencies (dependencies to core-ports are silently ignored). May be this script is also a help for other user. In our case nearly 100 Packages are affected ! Good to know the problem. But how to solve it ? I see 3 ways out: 1. modify Pkgfile:Depends on 2. modify Pkgfile:configure --no_that --no_these 3. use different chroot-environments for different type of server The 3th way is possible the most time-consuming one. But the other two have also disadvantages. Can't use default ports anymore. :-( Any hints ? -- Falk Hamann, IT T +49-7191-9669-242, Falk.Hamann@dbaudio.com, www.dbaudio.com d&b audiotechnik AG, Eugen-Adolff-Str. 134, 71522 Backnang, Germany Vorsitzender des Aufsichtsrats: Hilmar Schill; Vorstand: Frank Bothe, Markus Strohmeier Finanzen: Kay Lange, Marketing: Simon Johnston, Vertrieb: Peter Tongue Sitz: Backnang; Amtsgericht - Registergericht - Stuttgart, HRB 270952
Falk Hamann [2007-11-26 18:47]: Hi Falk,
We use one crux-server to build packages for all the other one, via pkg-repgen and pkg-get.
From time to time problems occur with dynamic dependencies. Packages which installed on build-server, but not on the target, are linked to other binaries. pkg-get failed with these dependencies because they are not registered in Pkgfile.
dep_diff: compares prt-get deptree (Pkgfile:Depends on) with finddeps (prt-utils) for one or all installed packages.
This script generates a list of dynamic-not-listed dependencies (dependencies to core-ports are silently ignored).
May be this script is also a help for other user.
In our case nearly 100 Packages are affected ! Good to know the problem. But how to solve it ?
I see 3 ways out: 1. modify Pkgfile:Depends on 2. modify Pkgfile:configure --no_that --no_these 3. use different chroot-environments for different type of server
What about installing the same set of libraries on all of your servers? ie if at the moment only server1 requires libfoo, install libfoo on server2 and server3 as well? I'm afraid we don't have an easy fix for that problem :/ Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?
On Mon, 26 Nov 2007 19:13:54 +0100 Tilman Sauerbeck <tilman@crux.nu> wrote:
What about installing the same set of libraries on all of your servers? ie if at the moment only server1 requires libfoo, install libfoo on server2 and server3 as well?
One example is the "libary" openldap. :-/ Or an other is cups depends on dbus depends on xorg-libx11.
I'm afraid we don't have an easy fix for that problem :/
It seems that hard to find a compromise. Thanks for your aid. -- Falk Hamann, IT T +49-7191-9669-242, Falk.Hamann@dbaudio.com, www.dbaudio.com d&b audiotechnik AG, Eugen-Adolff-Str. 134, 71522 Backnang, Germany Vorsitzender des Aufsichtsrats: Hilmar Schill; Vorstand: Frank Bothe, Markus Strohmeier Finanzen: Kay Lange, Marketing: Simon Johnston, Vertrieb: Peter Tongue Sitz: Backnang; Amtsgericht - Registergericht - Stuttgart, HRB 270952
participants (2)
-
Falk Hamann
-
Tilman Sauerbeck