Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Jun 2020 08:24:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 246904] mail/cyrus-imapd32: fix Running Q/A tests (stage-qa) and fix a LIB_DEPENDS
Message-ID:  <bug-246904-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246904

            Bug ID: 246904
           Summary: mail/cyrus-imapd32: fix Running Q/A tests (stage-qa)
                    and fix a LIB_DEPENDS
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ume@FreeBSD.org
          Reporter: thomas@bsdunix.ch
                CC: thomas@bsdunix.ch
             Flags: maintainer-feedback?(ume@FreeBSD.org)
          Assignee: ume@FreeBSD.org
             Flags: maintainer-feedback?(thomas@bsdunix.ch)
                CC: thomas@bsdunix.ch

Created attachment 215123
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D215123&action=
=3Dedit
cyrus-impad32 Makefile diff

Hello

When I try to compile cyrus-imap32 (3.2.1) i see multiple warnings and erro=
rs
listed below.

My system:
FreeBSD 12.1-RELEASE-p5 GENERIC  amd64
/etc/make.conf:
LOADER_ZFS_SUPPORT=3DYES
WITHOUT_X11=3Dyes
DEVELOPER=3Dyes
DEFAULT_VERSIONS+=3Dssl=3Dopenssl

/etc/src.conf is empty

/etc/sysctl.conf:
security.bsd.stack_guard_page=3D1


Error message during port compile with default port options:
Error: '/usr/bin/perl' is an invalid shebang you need USES=3Dshebangfix for
'cyrus/sbin/masssievec'
Error: '/usr/bin/perl' is an invalid shebang you need USES=3Dshebangfix for
'bin/sieveshell'
Warning: 'lib/libcyrus_imap.so.0.0.0' is not stripped consider trying
INSTALL_TARGET=3Dinstall-strip or using ${STRIP_CMD}
Warning: 'lib/libcyrus_com_err.so.0.0.0' is not stripped consider trying
INSTALL_TARGET=3Dinstall-strip or using ${STRIP_CMD}
Warning: 'lib/perl5/site_perl/mach/5.30/auto/Cyrus/IMAP/IMAP.so' is not
stripped consider trying INSTALL_TARGET=3Dinstall-strip or using ${STRIP_CM=
D}
Warning:
'lib/perl5/site_perl/mach/5.30/auto/Cyrus/SIEVE/managesieve/managesieve.so'=
 is
not stripped consider trying INSTALL_TARGET=3Dinstall-strip or using ${STRI=
P_CMD}
Warning: 'lib/libcyrus_min.so.0.0.0' is not stripped consider trying
INSTALL_TARGET=3Dinstall-strip or using ${STRIP_CMD}
Warning: 'lib/libcyrus_sieve.so.0.0.0' is not stripped consider trying
INSTALL_TARGET=3Dinstall-strip or using ${STRIP_CMD}
Warning: 'lib/libcyrus.so.0.0.0' is not stripped consider trying
INSTALL_TARGET=3Dinstall-strip or using ${STRIP_CMD}
Error: /usr/local/lib/libcyrus_imap.so.0.0.0 is linked to
/usr/local/lib/libuuid.so.1 from misc/e2fsprogs-libuuid but it is not decla=
red
as a dependency
Warning: you need LIB_DEPENDS+=3Dlibuuid.so:misc/e2fsprogs-libuuid
*** Error code 1

Possible fixes I've added to a new Makefile:
I modified the Makefile to add:
LIB_DEPENDS libuuid.so:misc/e2fsprogs-libuuid
Added tools/masssievec perl/sieve/scripts/*.pl to SHEBANG_FILES
INSTALL_TARGET=3Dinstall-strip and ${STRIP_CMD} in the post-install for the=
 perl
.so
Added PORTREVISION =3D 1

This changes fixes all Warnings and Errors in "Running Q/A tests (stage-qa)"
for the port.


There is a configure warning too for an unknow option --with-cyrus-group. I=
 did
not address this:
configure: WARNING: unrecognized options:  --with-cyrus-group

Please check the Makefile. I'm not 100% sure if my ${STRIP_CMD} option is "=
best
practice".

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-246904-7788>