From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130 Description of problem: When trying to rebuild sendmail-8.12.8-1.80.src.rpm under 6.2, 7.1, and 7.3 the build fails with various problems. After figuring out the problem, I found fixes. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1.Install sendmail-8.12.8-1.80.src.rpm 2.Run rpm -bb on spec file 3. Actual Results: 7.1 build: The build is looking for redhat.config.m4.in file, of which is specified in the patch sendmail-8.11.0-redhat.patch as redhat.config.m4. The build fails with the error: + sed -e 's,%{_libdir},/usr/lib,g' -e 's,%{_lib},lib,g' redhat.config.m4.in sed: can't read redhat.config.m4.in: No such file or directory 7.3 build: The build looks for db4, which does not exist in 7.3. Error: /usr/bin/ld: cannot find -ldb-4.0 Expected Results: 7.1: The sendmail-8.11.0-redhat.patch file should specify redhat.config.m4.in. 7.3 expected: The sendmail-8.12.2-redhat.patch needs to have -ldb-4.0 changed to -ldb. The include for /usr/include/db4 is harmless. Additional info: The build also fails for 6.2, in the same form the 7.1 build did looking for redhat.config.m4.in. That patch file is sendmail-8.11.0-redhat.patch2 and should be changed likewise. My build failed for 6.2 when it got to the nested ifs around like 52 of the spec file. But I am using an older version of rpm, so I suspect that is the problem. MY problem. :)
I have uploaded sendmail-8.12.8-4b.src.rpm to http://people.redhat.com/laroche/. Let me know if that still fails to build for you. Thanks, Florian La Roche
Ok, the rpm on people.redhat.com works for me, please open a new request if you have further improvements to our sendmail rpm. Thanks, Florian La Roche