Subject: | Looping endlessly on extra files |
Attempting to build RPMs that have extra files created during the build
results in an endless loop trying to add those files. e.g:
# cpan2dist --verbose --format=CPANPLUS::Dist::RPM --skiptest RPM
[... copious build output ...]
RPM build errors:
Installed (but unpackaged) file(s) found:
/usr/bin/rpmprune
/usr/share/man/man1/rpmprune.1.gz
[MSG] extra files installed, fixing spec file
[MSG] dry-run prepare with makemaker...
Running [/usr/bin/perl /usr/bin/cpanp-run-perl
/home/elfchief/.cpanplus/5.8.5/build/Perl-RPM-1.51/Makefile.PL ]...
WARNING: LICENSE is not a known parameter.
'LICENSE' is not a known MakeMaker parameter name.
Local build detected. Generating Perl-RPM.spec...
Generating rpmrc...
Generating rpmmacros...
Writing Makefile for RPM
... followed by another mess of build output, then the same thing again,
each time finding the same two files missing.
If at all useful, this is RHEL4, using the bundled perl 5.8.5.