Reply
Thread Tools
Posts: 62 | Thanked: 178 times | Joined on Sep 2010
#1
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.
 
Posts: 62 | Thanked: 178 times | Joined on Sep 2010
#2
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.
 
too's Avatar
Posts: 122 | Thanked: 135 times | Joined on Dec 2009 @ Helsinki
#3
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...
 
too's Avatar
Posts: 122 | Thanked: 135 times | Joined on Dec 2009 @ Helsinki
#4
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

Last edited by too; 2010-09-23 at 12:36. Reason: chmod 755
 

The Following User Says Thank You to too For This Useful Post:
Posts: 62 | Thanked: 178 times | Joined on Sep 2010
#5
Thanks, it seems to work great !
 

The Following User Says Thank You to Xawotihs For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 04:38.