Bug 43049

Summary: rpmbuild fails on debuginfo files where dir names contain space.
Product: Sisyphus Reporter: viy <viy>
Component: rpm-buildAssignee: placeholder <placeholder>
Status: NEW --- QA Contact: qa-sisyphus
Severity: normal    
Priority: P5 CC: arseny, glebfm, imz, ldv, placeholder, vt
Version: unstable   
Hardware: x86_64   
OS: Linux   
URL: https://git.altlinux.org/tasks/301744/build/100/x86_64/log

Description viy 2022-06-23 13:09:22 MSK
rpmbuild fails on  debuginfo files where dir names contain space.

failure on
/usr/src/debug/eclipse-platform-sources-I20210906-0500/.../Eclipse SWT/...
/usr/src/debug/eclipse-platform-sources-I20210906-0500/.../Eclipse PI/...

Looks like the filelist for *-debuginfo subpackage is not created properly (space is not quoted or escaped).

for details, see
https://git.altlinux.org/tasks/301744/build/100/x86_64/log

...
[00:00:41]     Two files on one line: /usr/src/debug/eclipse-platform-sources-I20210906-0500/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse
[00:00:41]     File must begin with "/": SWT
[00:00:41]     Two files on one line: /usr/src/debug/eclipse-platform-sources-I20210906-0500/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse
[00:00:41]     File must begin with "/": PI/gtk/library/webkitgtk_custom.c
[00:00:41]     Two files on one line: /usr/src/debug/eclipse-platform-sources-I20210906-0500/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse
...
Comment 1 Vitaly Chikunov 2022-06-25 06:23:16 MSK
Are you sure that escapes are allowed in filenames there?
Comment 2 viy 2022-06-25 18:20:22 MSK
(Ответ для Vitaly Chikunov на комментарий #1)
> Are you sure that escapes are allowed in filenames there?

I not sure about escapes, but double quotes does work for modern rpm 
(It is googled and should be checked for our old rpm 4.04).