From owner-freebsd-ports-bugs@freebsd.org Mon Jun 1 08:24:30 2020 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 89EEB32DE6A for ; Mon, 1 Jun 2020 08:24:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 49b7WL37QSz4P8L for ; Mon, 1 Jun 2020 08:24:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 69BAA32E13A; Mon, 1 Jun 2020 08:24:30 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6982032DE69 for ; Mon, 1 Jun 2020 08:24:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49b7WL2DStz4PBp for ; Mon, 1 Jun 2020 08:24:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 480328460 for ; Mon, 1 Jun 2020 08:24:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0518OUJc093275 for ; Mon, 1 Jun 2020 08:24:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0518OUTT093271 for ports-bugs@FreeBSD.org; Mon, 1 Jun 2020 08:24:30 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f 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 Date: Mon, 01 Jun 2020 08:24:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: thomas@bsdunix.ch X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ume@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jun 2020 08:24:30 -0000 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.=