FYI, I wrote a packager info blurb about debuginfo packages, see http://fedoraproject.org/wiki/Packaging/Debuginfo
Potential problem cases, see roughly < 10kB files at: http://mirrors.kernel.org/fedora/core/development/i386/debug/?C=S;O=A http://mirrors.kernel.org/fedora/extras/development/i386/debug/?C=S;O=A (download.fedora.redhat.com's dir indexes aren't sortable)
I've reported bugs against a bunch of Extras packages lately and some of have been already fixed. Sanity checking debuginfo packages would also be an useful addition to the packaging/reviewing guidelines IMO, so I added it to Packaging/GuidelinesTodo in Wiki. The next upstream version of rpmlint (> 0.76) will also have a check for empty debuginfo packages.
Am Samstag, den 20.05.2006, 12:07 +0300 schrieb Ville Skyttä:
FYI, I wrote a packager info blurb about debuginfo packages, see http://fedoraproject.org/wiki/Packaging/Debuginfo
thx
[...] I've reported bugs against a bunch of Extras packages lately and some of have been already fixed. Sanity checking debuginfo packages would also be an useful addition to the packaging/reviewing guidelines IMO, so I added it to Packaging/GuidelinesTodo in Wiki.
Yeah, probably.
/me hopes that the list doesn't get longer and longer over time.
The next upstream version of rpmlint (> 0.76) will also have a check for empty debuginfo packages.
We should probably work towards a solution where we run rpmlint or other checks (rpath) automatically in the buildsystem (or on a separate machine).
CU thl
On Sat, May 20, 2006 at 12:11:06PM +0200, Thorsten Leemhuis wrote:
We should probably work towards a solution where we run rpmlint or other checks (rpath) automatically in the buildsystem (or on a separate machine).
agreed. I'm running both rpmlint and rpmdiff against all packages as part of the "rebuild core in mock" project.
http://linux.dell.com/files/fedora/FixBuildRequires/mock-results/
Each package has an 'rpmlint.log' and an 'rpmdiff.log' (against Red Hat buildsystem-made packages) file in its result/ directory.
On Sat, 2006-05-20 at 12:07 +0300, Ville Skyttä wrote:
FYI, I wrote a packager info blurb about debuginfo packages, see http://fedoraproject.org/wiki/Packaging/Debuginfo
Potential problem cases, see roughly < 10kB files at: http://mirrors.kernel.org/fedora/core/development/i386/debug/?C=S;O=A http://mirrors.kernel.org/fedora/extras/development/i386/debug/?C=S;O=A (download.fedora.redhat.com's dir indexes aren't sortable)
You might want to add https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=192422
Toshio is dead right, rpmbuild doesn't generate debuginfos if %build is missing. So far all of my local RPMs which exposed this issue were lacking %build.
I've reported bugs against a bunch of Extras packages lately and some of have been already fixed. Sanity checking debuginfo packages would also be an useful addition to the packaging/reviewing guidelines IMO, so I added it to Packaging/GuidelinesTodo in Wiki. The next upstream version of rpmlint (> 0.76) will also have a check for empty debuginfo packages.
You could consider to add a check for missing %build
Ralf
packaging@lists.fedoraproject.org