From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Apr 26 13:30:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C3A069D for ; Sat, 26 Apr 2014 13:30:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9FF451BE3 for ; Sat, 26 Apr 2014 13:30:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s3QDU0Ap093461 for ; Sat, 26 Apr 2014 13:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s3QDU0IG093460; Sat, 26 Apr 2014 13:30:00 GMT (envelope-from gnats) Resent-Date: Sat, 26 Apr 2014 13:30:00 GMT Resent-Message-Id: <201404261330.s3QDU0IG093460@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Tim Bishop Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1D414FF1 for ; Sat, 26 Apr 2014 13:26:19 +0000 (UTC) Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E37571BD2 for ; Sat, 26 Apr 2014 13:26:18 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s3QDQIus089544 for ; Sat, 26 Apr 2014 13:26:18 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s3QDQIoM089539; Sat, 26 Apr 2014 13:26:18 GMT (envelope-from nobody) Message-Id: <201404261326.s3QDQIoM089539@cgiserv.freebsd.org> Date: Sat, 26 Apr 2014 13:26:18 GMT From: Tim Bishop To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/189019: mail/exim: Perl is always needed for build X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Apr 2014 13:30:00 -0000 >Number: 189019 >Category: ports >Synopsis: mail/exim: Perl is always needed for build >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Apr 26 13:30:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Tim Bishop >Release: stable/9 >Organization: >Environment: 9.2-STABLE >Description: I'm building mail/exim without the EMBEDDED_PERL option, and in my poudriere builds this means that perl isn't included. During the build I see: ===> Configuring for exim-4.82 /bin/sh scripts/source_checks scripts/source_checks: perl: not found scripts/source_checks: perl: not found scripts/source_checks: perl: not found scripts/source_checks: perl: not found scripts/source_checks: perl: not found scripts/source_checks: perl: not found scripts/source_checks: perl: not found scripts/source_checks: perl: not found scripts/source_checks: perl: not found scripts/source_checks: perl: not found scripts/source_checks: perl: not found scripts/source_checks: perl: not found scripts/source_checks: perl: not found scripts/source_checks: perl: not found scripts/source_checks: perl: not found scripts/source_checks: perl: not found scripts/source_checks: perl: not found scripts/source_checks: perl: not found scripts/source_checks: perl: not found scripts/source_checks: perl: not found >How-To-Repeat: Build mail/exim without the EMBEDDED_PERL option, which is on by default. >Fix: This would probably be sufficient, but could do with a bit more testing and verification from the maintainer. Index: Makefile =================================================================== --- Makefile (revision 352256) +++ Makefile (working copy) @@ -19,6 +19,7 @@ USE_BZIP2= yes WANT_GNOME= yes MAKE_JOBS_UNSAFE= yes +USES+= perl5 NO_STAGE= yes # One can tune the following "hidden" knobs: @@ -221,7 +222,6 @@ .endif .if ${PORT_OPTIONS:MEMBEDDED_PERL} -USES+= perl5 SEDLIST+= -e 's,^\# (EXIM_PERL=),\1,' .endif >Release-Note: >Audit-Trail: >Unformatted: >>> Creating links to source files... And more similar stuff later on. Then scripts are being installed with #! lines looking like this: % head -1 /usr/local/sbin/eximstats #! -w Which should be using perl. The Makefile also has the following in do-configure: @${REINPLACE_CMD} -E -e 's/^(PERL_COMMAND=).*/\1${PERL:S,/,\/,g}/' \ -e 's/^(CC=).*/\1${CC:S,/,\/,g}/' ${WRKSRC}/OS/Makefile-Default And I'm expecting (but haven't verified) that ${PERL} is only available when USES perl5 is enabled. So it looks to me like perl should at the very least be a build dependency so that the configure and build stages work, but probably needs to be a runtime dependency too for things like eximstats?