Mister Dobalina wrote: > --- Thomas Bächler <[EMAIL PROTECTED]> wrote: > > >> Roman Kyrylych schrieb: >> >>>> bash 3.2.025-2 -> depends on readline>=5.2 >>>> readline 5.2-5 -> depends on ncurses >>>> ncurses 5.6-6 -> depends on glibc >>>> glibc 2.7-7 -> depends on bash -> oops! >>>> >>>> But it looks like there are other ones as well. >>>> >>>> >>> I'd say we remove glibc dependency from ncurses or >>> >> bash dependency >> >>> from glibc. :-/ >>> /me scratches his head >>> >> This cyclic dependency cannot be avoided: bash needs >> glibc to be >> executed, but glibc needs bash in its post_install. >> >> > > A glance through > /var/abs/core/base/glibc/glibc.install turns up > dependence on > > grep > sed > awk > uname (coreutils) > vercmp (pacman) > > none of which appear in the glibc depends array, and > all of which depend on glibc. > > > > Ask a question on any topic and get answers from real people. Go to > Yahoo! Answers and share what you know at http://ca.answers.yahoo.com > > _______________________________________________ > arch mailing list > [email protected] > http://archlinux.org/mailman/listinfo/arch > > It is clear that the libraries must be installed before any dynamically linked utility can run, so actually glibc should depend on nothing with such a utility in its install script. Using dash might alleviate the 'sh' problem - at the expense of a loss of expressive power and possibly a little chaos during the switchover, but would one then also need to introduce statically linked grep, sed, etc.?
If I remember correctly, slackware handles (or handled) this by having a separate package with just the important .so libraries, the full glibc being installed later. That might also be a possibility for Arch, especially if the split package builds are introduced. Another possibility might be to place the glibc install script in another package, which can be installed after its dependencies have been installed. _______________________________________________ arch mailing list [email protected] http://archlinux.org/mailman/listinfo/arch
