[Bug 204019] multimedia/ffmpeg: make install stops with an error "Unable to create and execute files in /tmp"

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Oct 25 20:35:56 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204019

            Bug ID: 204019
           Summary: multimedia/ffmpeg: make install stops with an error
                    "Unable to create and execute files in /tmp"
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: multimedia at FreeBSD.org
          Reporter: tommi.pernila at gmail.com
          Assignee: multimedia at FreeBSD.org
             Flags: maintainer-feedback?(multimedia at FreeBSD.org)

After a make install the port multimedia/ffmpeg: stops with an error "Unable 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:=$TEMPDIR}
: ${TMPDIR:=$TMP}
: ${TMPDIR:=/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=$(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=$tmp
}

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-multimedia mailing list