Public bug reported:

Shell commands in make process cannot handle file names including
Chinese characters when given wildcards.

make fails with the following output:

mv commons.tmp/?-torder.gif torder.gif                                          
mv: cannot stat `commons.tmp/?-torder.gif': No such file or directory           
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.tmp/*-torder.gif torder.gif
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://hk.archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status

** Affects: make-dfsg (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Problems with wildcards on non-ASCII file names in make process
https://bugs.launchpad.net/bugs/380456
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to