debmake failes with rsync error when working directory path contains space with --tar

Bug #1703269 reported by 林博仁(Buo-ren Lin)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
debmake (Debian)
Fix Released
Unknown
debmake (Ubuntu)
New
Undecided
Unassigned

Bug Description

## Bug Reproduce Instructions
1. mkdir "directory with space"
1. cd "directory with space"
1. debmake --package directory-with-space --upstreamversion 1.0 --tar

## Console output

```
I: set parameters
I: sanity check of parameters
W: -p "directory-with-space" != auto set value ""
W: -u "1.0" != auto set value "0~1707100151"
I: pkg="directory-with-space", ver="1.0", rev="1"
I: make the upstream tarball with "tar --exclude=debian"
I: pwd = "/tmp/directory with space"
I: pwd = "/tmp"
I: $ rsync -av --link-dest=/tmp/directory with space directory with space/. directory-with-space-1.0
sending incremental file list
rsync: link_stat "/tmp/with" failed: No such file or directory (2)
rsync: link_stat "/tmp/space" failed: No such file or directory (2)
rsync: link_stat "/tmp/directory" failed: No such file or directory (2)
rsync: link_stat "/tmp/with" failed: No such file or directory (2)
rsync: change_dir "/tmp//space" failed: No such file or directory (2)
--link-dest arg does not exist: /tmp/directory

sent 20 bytes received 63 bytes 166.00 bytes/sec
total size is 0 speedup is 0.00
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1183) [sender=3.1.1]
E: rsync -aCv failed.
```

description: updated
summary: debmake failes with rsync error when working directory path contains
- space
+ space with --tar
Changed in debmake (Debian):
status: Unknown → New
Changed in debmake (Debian):
status: New → Fix Released
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.