First my apologies for not getting back to you sooner on this, I've
been very busy this weekend...
I've had to make several changes in saddpkg because it seems I never
really had it updated fully to handle the differences in output since
it was originally written for rpm 4.x and apt-get, and of course now
needs to work with rpm 5.x and smart...
I've committed the changes to svn in the /projects/pkgutils folder and
we still need to have translation capability for the following:
line 141: "failed build dependencies" (from rpmbuild)
line 144: "failed dependencies" (from rpm)
line 159: "error" AND "file not found" (from rpmbuild)
The string "file not found" is displayed by rpmbuild if the
dependencies are already met and it is looking for the files from the
package, because I'm using rpmbuild -bl as the command to check for
missing deps. Try rpmbuild -bl with a package for which you already
have all the BuildRequires installed and you will see something like
this:
$ rpmbuild -bl bc.spec
Processing files: bc-1.06-26.x86_64
error: File not found:
/home/stumpy/src/rpm/BUILDROOT/bc-1.06-26-unity2009.x86_64/usr/bin/bc
error: File not found:
/home/stumpy/src/rpm/BUILDROOT/bc-1.06-26-unity2009.x86_64/usr/bin/dc
error: File not found by glob:
/home/stumpy/src/rpm/BUILDROOT/bc-1.06-26-unity2009.x86_64/usr/share/man/man1/bc.1*
error: File not found by glob:
/home/stumpy/src/rpm/BUILDROOT/bc-1.06-26-unity2009.x86_64/usr/share/man/man1/dc.1*
error: File not found by glob:
/home/stumpy/src/rpm/BUILDROOT/bc-1.06-26-unity2009.x86_64/usr/share/info/
bc.info*
error: File not found by glob:
/home/stumpy/src/rpm/BUILDROOT/bc-1.06-26-unity2009.x86_64/usr/share/info/
dc.info*
error: File not found:
/home/stumpy/src/rpm/BUILDROOT/bc-1.06-26-unity2009.x86_64/usr/share/doc/bc
So saddpkg needs to filter out those lines by searching for "file not
found" (line 159).
If you need more info please let me know...
P.S. - I don't think I've mentioned it before, but saddpkg can be used
in two ways, to install missing deps for either a spec file (assumes
you have the package in your rpm build tree in the SPECS & SOURCES
folders), or just for installing the deps for an rpm file... so "sudo
saddpkg bc-1.06-26-unity2009.x86_64.rpm" is legal also...