Problems with wildcards on non-ASCII file names in make process

Bug #380456 reported by Christoph Burgmer
6
This bug affects 1 person
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.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

Revision history for this message
Christoph Burgmer (cburgmer) wrote :

Works for me in Ubuntu Jaunty.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.