Bug 43049 - rpmbuild fails on debuginfo files where dir names contain space.
Summary: rpmbuild fails on debuginfo files where dir names contain space.
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: rpm-build (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: placeholder@altlinux.org
QA Contact: qa-sisyphus
URL: https://git.altlinux.org/tasks/301744...
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-23 13:09 MSK by viy
Modified: 2022-06-25 18:20 MSK (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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).