lorder reports errors; for example, from mktemp
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bsdmainutils (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
If you run the lorder script from package bsdmainutils (version 11.1.2ubuntu1) on Ubuntu 18.04.1 LTS it reports several errors:
$ lorder a.o b.o
mktemp: too few X's in template ‘_reference_’
mktemp: too few X's in template ‘_symbol_’
a.o a.o
b.o b.o
sed: couldn't open file : No such file or directory
expr: Invalid character class name
/usr/bin/lorder: 80: [: -ne: unexpected operator
sort: option requires an argument -- 'o'
Try 'sort --help' for more information.
sort: option requires an argument -- 'o'
Try 'sort --help' for more information.
join: missing operand after '2.1'
Try 'join --help' for more information.
It seems the new script invokes mktemp with an invalid template.
I expected the program not to generate errors; they did not occur on Ubuntu 14.04.5 LTS (package version 9.0.5ubuntu1).
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: bsdmainutils 11.1.2ubuntu1
ProcVersionSign
Uname: Linux 4.15.0-45-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Tue Feb 12 13:30:19 2019
InstallationDate: Installed on 2019-01-03 (39 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
ProcEnviron:
LANGUAGE=en_GB:en
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: bsdmainutils
UpgradeStatus: No upgrade log present (probably fresh install)
Status changed to 'Confirmed' because the bug affects multiple users.