pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/46216: pkgtools/pkg_regress uses non-portable -t option of mktemp
>Number: 46216
>Category: pkg
>Synopsis: pkgtools/pkg_regress uses non-portable -t option of mktemp
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Mar 17 19:15:01 +0000 2012
>Originator: Litvinov Sergey
>Release: Ubuntu Linux
>Organization:
>Environment:
>Description:
pkg_regress fails to run tests with the following message
mktemp: too few X's in template `pkg_regress'
This is a relevant line in pkgtools/pkg_regress/files/pkg_regress.sh:94
TEST_OUTFILE=`mktemp -t pkg_regress` || exit 1
mktemp --version
mktemp (GNU coreutils) 8.5
Also a man page says "-t" is deprecated
-t interpret TEMPLATE as a single file name component, relative to a
directory: $TMPDIR, if set; else the directory specified via -p; else /tmp
[deprecated]
>How-To-Repeat:
Install pkgtools/pkg_regress
and run
pkg_regress
>Fix:
I added run-time dependencies on sysutils/mktemp in
pkgtools/pkg_regress/Makefile
Home |
Main Index |
Thread Index |
Old Index