![]() |
MADDE problem with spaces ?
Hi all,
I'm trying to package an application and I'm encountering a problem with the MADDE packaged with the latest Nokia Qt SDK on Linux 64bits: [Yann@localhost wagic-build-maemo]$ mad dh_builddeb tarlisted: Error in input line 308: strange content, type information error tarlisted -i debian/wagic.tarlist -o data.tar failed dh_builddeb: command returned error code 512 Looking at my tarlist file, the line 308 contains the following stuff: 644 root root . usr/share/wagic/Res/test/enchanted evening.txt debian/wagic/usr/share/wagic/Res/test/enchanted evening.txt If I remove it from the tarlist file, I'm getting the following error: [Yann@localhost wagic-build-maemo]$ mad dh_builddeb tarlisted: Error in input line 403: strange content, type information error tarlisted -i debian/wagic.tarlist -o data.tar failed dh_builddeb: command returned error code 512 This time, the line 403 contains the following stuff: 644 root root . usr/share/wagic/Res/test/safe passage.txt debian/wagic/usr/share/wagic/Res/test/safe passage.txt None of the lines between the problematic ones contain any empty space. So, a few questions : - Is that a known bug ? - Am I supposed to be able to deploy files/directories with empty space with MADDE ? - Any possible workaround ? Thanks for your help, Yann. |
Re: MADDE problem with spaces ?
Googling around, I looked at the code of tarlisted here and noticed it seems to expect "\\\ " instead of " " in files with spaces ...
So, my guess is that dh_fixperms code does not generate a tarlist file with the correct file format. |
Re: MADDE problem with spaces ?
good point. the backslashes in tarlist file would fix the problem.
(not that we are supporting whitespaces in installation paths, but at least we can work best effort-basis) I see how dh_fixperms is to be fixed... |
Re: MADDE problem with spaces ?
get
http://meego.gitorious.org/meego-dev...ls/dh_fixperms then enter 'mad which dh_fixperms' and replace that one with the one downloaded from gitorious above. amd chmod 755 the replaced file |
Re: MADDE problem with spaces ?
Thanks, it seems to work great ! :)
|
All times are GMT. The time now is 18:04. |
vBulletin® Version 3.8.8