logo       

DEPEND/RDEPEND vs. binary packages: msg#00021

Subject: DEPEND/RDEPEND vs. binary packages
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




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
linux.arklinux....    user-groups.lin...    kde.usability/2...    ietf.ipp/2002-0...    mail.spam.spamc...    os.netbsd.devel...    audio.cd-record...    text.unicode.de...    php.documentati...    games.fps.halfl...    window-managers...    suse.oracle.gen...    bug-tracking.gn...    video.dvdrip.us...    xfree86.cvs/200...    java.netbeans.m...    network.argus/2...    culture.sf.kill...    debian.ports.al...    freebsd.questio...    qplus.devel/200...    handhelds.palm....   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe