From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040803 Description of problem: Using the src rpm, and modifying the plugin Makefile to enable 'radius' plugin to be built, running rpmbuild fails with 2 problems: 1) Error messages relating to the radius plugin stamp-h.in file. Solution: 'touch' this file, repackage the ppp-2.4.2.tar.gz file and then run rpmbuild again. It gets past this problem. 2) The build finally fails with: RPM build errors: Installed (but unpackaged) file(s) found: (list of files) Solution: Modify the spec file %files section to include these files. Re-run rpmbuild and it should all work fine now. Attachments show the 2 errors in more detail. Version-Release number of selected component (if applicable): ppp-2.4.2-3.FC2.1 How reproducible: Always Steps to Reproduce: 1. As root install ppp-2.4.2-3.FC2.1.src.rpm 2. As root enter: cd /usr/src/redhat/SOURCES tar xvfz ppp-2.4.2.tar.gz (then edit 'ppp-2.4.2/pppd/plugins/Makefile' line 8 to include radius plugin. It should look like 'SUBDIRS += radius') tar cvf ppp-2.4.2.tar /bin/rm ppp-2.4.2.tar.gz gzip ppp-2.4.2.tar (This has now changed the source to build the radius plugin) cd /usr/src/redhat/SPECS 3. Enter 'rpmbuild -bb ppp.spec' Actual Results: The rebuild fails. Attachment shows first and second error messages produced. Expected Results: Rebuild should work correctly and build the relevant rpms with the radius plugin. Additional info:
Created attachment 104179 [details] PPP radius plugin rebuild - first error The way around this problem is to execute: touch ./ppp-2.4.2/pppd/plugins/radius/radiusclient/stamp-h.in after untarring/ungzipping the ppp-2.4.2.tar.gz source file.
Created attachment 104180 [details] PPP radius plugin - second error The way around this problem is to modify the 'ppp.spec' file. Paste in the missing file pathnames into the '%files' section of the spec file, and then the rebuild should work fine.
Oops - step 2 in reproducing the problem should be modified to say: tar cvf ppp-2.4.2.tar ppp-2.4.2
Created attachment 104193 [details] Error log on build rpm on AMD64 platform.
On AMD64 after this solution I get error described https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=133087 :(
The radius plugin of ppp is not supported at this time. Closing "DEFERRED"