Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Dec 2011 13:57:59 GMT
From:      Alexey Markov <redrat@mail.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/163715: Empty install variables in mail/p5-Mail-SpamAssassin/pkg-install
Message-ID:  <201112301357.pBUDvxmv063689@red.freebsd.org>
Resent-Message-ID: <201112301400.pBUE0fMV056336@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



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