From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Dec 30 14:00:42 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C5A31065670 for ; Fri, 30 Dec 2011 14:00:42 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CE3C18FC16 for ; Fri, 30 Dec 2011 14:00:41 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id pBUE0fjL056339 for ; Fri, 30 Dec 2011 14:00:41 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id pBUE0fMV056336; Fri, 30 Dec 2011 14:00:41 GMT (envelope-from gnats) Resent-Date: Fri, 30 Dec 2011 14:00:41 GMT Resent-Message-Id: <201112301400.pBUE0fMV056336@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, Alexey Markov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C06A4106566B for ; Fri, 30 Dec 2011 13:58:00 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id AAF148FC12 for ; Fri, 30 Dec 2011 13:58:00 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id pBUDvxH8063690 for ; Fri, 30 Dec 2011 13:57:59 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id pBUDvxmv063689; Fri, 30 Dec 2011 13:57:59 GMT (envelope-from nobody) Message-Id: <201112301357.pBUDvxmv063689@red.freebsd.org> Date: Fri, 30 Dec 2011 13:57:59 GMT From: Alexey Markov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/163715: Empty install variables in mail/p5-Mail-SpamAssassin/pkg-install X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2011 14:00:42 -0000 >Number: 163715 >Category: ports >Synopsis: Empty install variables in mail/p5-Mail-SpamAssassin/pkg-install >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Dec 30 14:00:40 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Alexey Markov >Release: FreeBSD 8.2-RELEASE-p5 >Organization: JSC Complitex >Environment: FreeBSD meson.complitex.ru 8.2-RELEASE-p5 FreeBSD 8.2-RELEASE-p5 #0: Mon Dec 26 13:43:29 MSK 2011 redrat@meson.complitex.ru:/arc/obj/arc/src/sys/MESON amd64 >Description: In revision 1.12 of mail/p5-Mail-SpamAssassin/pkg-install direct call of 'install' utility was changed to call of ${INSTALL} variable: ${INSTALL} -d -o ${USER} -g ${GROUP} /var/run/spamd ${PREFIX}/bin/spamassassin -x -L --lint Now on 'make install' I get following error: ===> Creating users and/or groups. Using existing group 'spamd'. Using existing user 'spamd'. -d: not found ./+INSTALL: /bin/spamassassin: not found It seems that ${INSTALL} and ${PREFIX} variables are empty in the moment of pkg-install script execution. As a result of it the /var/run/spamd directory is not created in process of port installation, and spamd daemon cannot start because of missed directory. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: