Bug 195115

Summary: mail/cyrus-imapd24 fails stage-qa
Product: Ports & Packages Reporter: Mikhail T. <freebsd-2024>
Component: Individual Port(s)Assignee: Hajimu UMEMOTO <ume>
Status: Closed FIXED    
Severity: Affects Some People Flags: freebsd-2024: maintainer-feedback? (ume)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Use REINPLACE_CMD to correct the none

Description Mikhail T. 2014-11-17 17:50:18 UTC
The stage-qa step lists two errors -- both about references to the ${WRKSRC} found under ${WRKDIR}/stage/

====> Running Q/A tests (stage-qa)
Error: 'lib/perl5/site_perl/5.16/mach/auto/Cyrus/IMAP/.packlist' is referring to /home/ports/mail/cyrus-imapd24/work/stage
Error: 'lib/perl5/site_perl/5.16/mach/auto/Cyrus/SIEVE/managesieve/.packlist' is referring to /home/ports/mail/cyrus-imapd24/work/stage
Warning: 'lib/perl5/site_perl/5.16/mach/auto/Cyrus/IMAP/IMAP.so' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD}
Warning: 'lib/perl5/site_perl/5.16/mach/auto/Cyrus/SIEVE/managesieve/managesieve.so' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD}
*** Error code 1

Stop.
make[1]: stopped in /home/ports/mail/cyrus-imapd24
*** Error code 1

Indeed, the two listed .packlist-files are wrong.
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2014-11-17 17:50:18 UTC
Auto-assigned to maintainer ume@FreeBSD.org
Comment 2 Mikhail T. 2014-11-17 18:06:38 UTC
Created attachment 149527 [details]
Use REINPLACE_CMD to correct the

This patch brute-forces the port into obedience, but it should not be necessary -- whatever builds the .packlist-files, should be smarter, or else all other ports installing perl-modules would be broken too...
Comment 3 commit-hook freebsd_committer freebsd_triage 2014-11-18 14:32:24 UTC
A commit references this bug:

Author: ume
Date: Tue Nov 18 14:31:25 UTC 2014
New revision: 372723
URL: https://svnweb.freebsd.org/changeset/ports/372723

Log:
  Fix .packlist

  PR:		195115

Changes:
  head/mail/cyrus-imapd23/Makefile
  head/mail/cyrus-imapd24/Makefile
Comment 4 Hajimu UMEMOTO freebsd_committer freebsd_triage 2014-11-18 14:35:11 UTC
Thank you.  It should be fixed now.