Problems with wildcards on non-ASCII file names in make process
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
make-dfsg (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Shell commands in make process cannot handle file names including Chinese characters when given wildcards.
make fails with the following output:
mv commons.
mv: cannot stat `commons.
make: *** [order.gif] Error 1
though directory "commons" has files like the following:
方-torder.gif
A workaround is either repeating the command outside the make environment (just on the shell), or replacing the line with
mv commons.
instead (note the replacement of ? with * which catches multiple characters).
The Makefile used only fails on Ubuntu, while it works with current Debian unstable.
$ lsb_release -rd
Description: Ubuntu 9.04
Release: 9.04
$ apt-cache policy make
make:
Installed: 3.81-5
Candidate: 3.81-5
Version table:
*** 3.81-5 0
500 http://
100 /var/lib/
Works for me in Ubuntu Jaunty.