Problem rebuilding Simons new source RPM

Harris Landgarten harrisl at lhjonline.com
Sun Nov 24 22:27:36 EST 2002


I am currently running Cyrus 2.1.9 under Redhat 8 using Simons source
RPM. I had no problem recompiling and installing from the source RPM per
documentation. Subsequently I have updated many Perl Modules. When I try
to rebuild the 2.1.10-3 rpm from source I get an error during the
rebuild process. The error is from this section of shell script:

 

# Create filelist for perl package, compress manpages before

[ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress

find
/var/tmp/cyrus-imapd-2.1.10-root/usr/lib/perl5/site_perl/5.8.0/i386-linu
x-thread-multi/Cyrus
/var/tmp/cyrus-imapd-2.1.10-root/usr/lib/perl5/site_perl/5.8.0/i386-linu
x-thread-multi/auto/Cyrus -type f -print |

  sed "s@^/var/tmp/cyrus-imapd-2.1.10-root@@g" |

  grep -v perllocal.pod |

  grep -v "\.packlist" > perl-Cyrus-2.1.10-filelist

find /var/tmp/cyrus-imapd-2.1.10-root/usr/share/man -type f -name
"Cyrus*" -print |

  sed "s@^/var/tmp/cyrus-imapd-2.1.10-root@@g" |

  grep -v perllocal.pod |

  grep -v "\.packlist" >> perl-Cyrus-2.1.10-filelist

if [ "$(cat perl-Cyrus-2.1.10-filelist)X" = "X" ] ; then

  echo "ERROR: EMPTY FILE LIST"

  exit -1

fi

 

It appears that perl-Cyrus-2.1.10-filelist is never being written at
all. If I manually run these commands after erroring out,
perl-Cyrus-2.1.10-filelist is properly written. I am not sure how to
debug an rpmbuild -rebuild so I can see what is going on. BTW, when I
try rpmbuild -rebuild on the original 2.1.9 source RPM that I originally
installed from, it errors out in the same place. When I tried rebuilding
on another Redhat 8.0 box on which the perl modules are relatively
untouched, the rpmbuild ran to conclusion.

 

Any ideas on what is going on or how to debug an rpmbuild -rebuild would
be appreciated.

 

Harris

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.andrew.cmu.edu/mailman/private/info-cyrus/attachments/20021124/78fcc6bc/attachment.html


More information about the Info-cyrus mailing list