This may well have nothing at all to do with Catalyst, but perhaps some
of you have run into this:
Apparently, when you are installing a binary version of a package, the
DEPEND packages are not installed. But, some parts of the ebuild are
still run, such as pkg_setup(). Is this true? In Catalyst, as you
know, the package is only built from source the first time and
thereafter the binary package is installed; I've run into various
packages which are not handling this properly.
As two examples: one package does an "inherit webapp", and then in
livecd-stage1, the webapp.eclass webapp_pkg_setup() function tries to
source ${ETC_CONFIG}, which is /etc/vhosts/webapp-config. But, of
course, the webapp-config package is not installed when installing
binary packages, because webapp.eclass only adds it to the DEPEND list.
Another is the freeradius package which links with a shared library from
the libtool package (libltdl.so), but has no dependency on it and so
it's not installed during binary package setup. At runtime, the daemon
fails due to the missing shared library.
How do you deal with problems like this? Are these bugs in the ebuild
that should be filed against the package in question? Or...?
--
-------------------------------------------------------------------------------
Paul D. Smith <psmith-ZIRUuHA3oDzQT0dZR+AlfA@xxxxxxxxxxxxxxxx>
HASMAT: HA Software Mthds & Tools
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
-------------------------------------------------------------------------------
These are my opinions---Nortel Networks takes no responsibility for them.
--
gentoo-catalyst-aBrp7R+bbdUdnm+yROfE0A@xxxxxxxxxxxxxxxx mailing list
|