On Thu, 2002-12-12 at 11:13, [EMAIL PROTECTED] wrote: > On Thu, 12 Dec 2002, Alex Bennee wrote: > > > Shouldn't the requirements/deps for building the src rpm generate an a > > warning before it starts building. > > I understand what you're saying, but how much should it check? The source > package was targeted to a RedHat distribution. It will need to make some > assumptions about how the machine is configured and what directories are > available. RPM does check that appropriate dependencies are satisfied and > with the appropriate scripts, can check for disk space, users, hostnames, > etc.. But I don't believe RedHat should check that it installs correctly > on Mandrake or Suse, just as I don't expect Mandrake packages to build > and install cleanly on other distros.
Anything that is required for a package to build is a dependency, or should be considered such. As a dependency, the build process should complain about not finding its needed components BEFORE the build begins rather than at the very end. It is not that a Redhat src rpm should build on Mandrake, it should simply check that the system it is going to build on meets its requirements for success and complain if it doesn't (like it doesn't find /doc/html which is apparently required for a successful rpm build of kdelibs for some reason). With such a warning at the beginning, correction steps can be taken. In my case, in lieu of finding the particular file that is pointing at /doc, I created a symlink from the proper location, /usr/lib/doc to /doc and it worked. It would be nice to know about "fatal" nitnoids like this before the process begins rather than after it's done: OK, everything built just fine, so let's make the actual rpms...hmmm, I can't find a minor thing like a textfile or html file where I want it to be so...no rpm for you even though it doesn't have any affect on the usefulness or function of what was built in the first place. praedor > Want to buy your Pack or Services from MandrakeSoft? > Go to http://www.mandrakestore.com
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
