Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Oct 2015 20:35:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        multimedia@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 204019] multimedia/ffmpeg: make install stops with an error "Unable to create and execute files in /tmp"
Message-ID:  <bug-204019-12827-FOIhilO3iw@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-204019-12827@https.bugs.freebsd.org/bugzilla/>
References:  <bug-204019-12827@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
tommi.pernila@gmail.com has reassigned Bugzilla Automation
<bugzilla@FreeBSD.org>'s request for maintainer-feedback to
multimedia@FreeBSD.org:
Bug 204019: multimedia/ffmpeg: make install stops with an error "Unable to
create and execute files in /tmp"
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D204019



--- Description ---
After a make install the port multimedia/ffmpeg: stops with an error "Unabl=
e to
create and execute files in /tmp".

Other ports compile without issues on the same system.
Portmaster stops with the same error.

My guess is that there is some bug in these lines from configure?
Starting from line 3295:
# set temporary file name
: ${TMPDIR:=3D$TEMPDIR}
: ${TMPDIR:=3D$TMP}
: ${TMPDIR:=3D/tmp}

if [ -n "$tempprefix" ] ; then
    mktemp(){
	echo $tempprefix.${HOSTNAME}.${UID}
    }
elif ! check_cmd mktemp -u XXXXXX; then
    # simple replacement for missing mktemp
    # NOT SAFE FOR GENERAL USE
    mktemp(){
	echo "${2%%XXX*}.${HOSTNAME}.${UID}.$$"
    }
fi

tmpfile(){
    tmp=3D$(mktemp -u "${TMPDIR}/ffconf.XXXXXXXX")$2 &&
	(set -C; exec > $tmp) 2>/dev/null ||
	die "Unable to create temporary file in $TMPDIR."
    append TMPFILES $tmp
    eval $1=3D$tmp
}=



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