-
Notifications
You must be signed in to change notification settings - Fork 11
syntax checking of annotator.pl broke cassandane tests in Fedora #96
Comments
I guess if cassandane.ini is configured to use a Cyrus source tree rather than an install tree, then the install-time perl hooks haven't run. The perl files in the source tree are not the same thing as what's actually installed. The first line of make output in this case should be something like "warning: Cyrus perl paths not found on disk. Is Cyrus installed?" -- do you see that? |
Yes, I do.
|
So, since the Cyrus directory here is a source tree rather than an install tree, and the I've had a think about how I might detect this case and skip syntax-checking the annotator.pl file after all, but given that this is a Makefile, it's gonna be messy and precarious at best... Can you have the package patch Cassandane with something like this before it runs
It won't fix anything (it can't), but it will restore the previous behaviour of skipping the syntax checks of |
In Fedora (as well as RHEL and I assume other distributions) cassandane tests are run against cyrus-imapd which was built but not installed.
Since commit ab91497 this no longer works and failed with error:
Base class package "Cyrus::Annotator::Daemon" is empty.
(Perhaps you need to 'use' the module which defines that package first,
or make that module available in @inc (@inc contains: /builddir/build/BUILDROOT/cyrus-imapd-3.2.4-1.fc34.x86_64/usr/share/perl5/vendor_perl /builddir/build/BUILDROOT/cyrus-imapd-3.2.4-1.fc34.x86_64/usr/lib64/perl5/vendor_perl /builddir/build/BUILDROOT/cyrus-imapd-3.2.4-1.fc34.x86_64/usr/share/perl5/5.32 /builddir/build/BUILDROOT/cyrus-imapd-3.2.4-1.fc34.x86_64/usr/lib64/perl5/5.32 /usr/local/lib64/perl5/5.32 /usr/local/share/perl5/5.32 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5).
at ./utils/annotator.pl line 45.
The text was updated successfully, but these errors were encountered: