Red Hat Bugzilla – Bug 100901
Source RPM does not rebuild- installed, but unpackaged files.
Last modified: 2015-03-04 20:12:37 EST
Description of problem:
Was trying to rebuild this package on Red Hat Enterprise Linux ES (v2.1)
originally (so I could later rebuild freeradius), and it stops mid-build and
asks a question interactively:
Writing Makefile for NetSNMP::agent
Checking if your kit is complete...
Note (probably harmless): No library found for -lnetsnmp
Writing Makefile for SNMP
Unable to locate the MIBs, Please enter the path: 
That much is not really a bug, as net-snmp is not packaged for RHEL ES (2.1)
But I figured if I rebuilt the package on Severn I might be able to deduce what
on earth it's looking for and try to provide it. The rebuild on Severn however
fails with this message:
RPM build errors:
error: Installed (but unpackaged) file(s) found:
Installed (but unpackaged) file(s) found:
So I guess the spec file needs some 'love' in the %files section.
Version-Release number of selected component (if applicable):
I've just fixed another problem with net-snmp building when net-snmp-devel
wasn't installed. (net-snmp-5.0.8-6 and later).
Maybe this fixes this problem for you as well. Please verify. :-)
Read ya, Phil
OK, it's really fixed in dist-10 now, i had the same problem during rebuild and
figured where the problem was.
Fixed in the latest rawhide version.
Read ya, Phil