[maemo-developers] Maemo Theme Maker failed to produce Debian package

From: Jeremiah Foster jeremiah at jeremiahfoster.com
Date: Tue Mar 30 14:40:17 EEST 2010
On Mar 30, 2010, at 12:54 PM, Daniil Ivanov wrote:

> Hi all!

Hi there!

> 
> I'm trying to produce sample theme package using Maemo Theme Maker 1.2.9:
> https://garage.maemo.org/projects/thememaker/

I haven't use that tool before unfortunately, so I can't give you any advice except to contact the developer. It looks like it uses Java which is a pretty odd language to use to build debian packages seeing that debian is not necessarily consider the greatest Java platform in the world. 

I have a suspicion that creating a package following the wiki might be easier: http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Packaging,_Deploying_and_Distributing

There are also other tools in Maemo you might want to try; mud and py2deb, and perhaps others I am missing.

Jeremiah

> I'm selecting backgrounds-template.png as Theme Background and
> nuvo-fremantle-template.png as Theme Source Image.
> Maemo Theme Maker produces the folder with package files and then
> fails with a message:
> 
> Control file creation failed.
> =====!CLEANUP START!=====
> ===> cleanup: piu
> ===> cleanup: /home/divanov/thememaker/ThemeMaker1.2.9/piu/opt
> ===> cleanup: /home/divanov/thememaker/ThemeMaker1.2.9/piu/opt/themes
> ===> cleanup: /home/divanov/thememaker/ThemeMaker1.2.9/piu/opt/themes/piu
> ===> cleanup: /home/divanov/thememaker/ThemeMaker1.2.9/piu/opt/themes/piu/startup-wizard
> ===> cleanup: /home/divanov/thememaker/ThemeMaker1.2.9/piu/opt/themes/piu/rtcom-messaging-ui
> deleted/home/divanov/thememaker/ThemeMaker1.2.9/piu/opt/themes/piu/rtcom-messaging-ui/.DS_Store
> ===> cleanup: /home/divanov/thememaker/ThemeMaker1.2.9/piu/opt/themes/piu/mediaplayer
> deleted/home/divanov/thememaker/ThemeMaker1.2.9/piu/opt/themes/piu/mediaplayer/.DS_Store
> ===> cleanup: /home/divanov/thememaker/ThemeMaker1.2.9/piu/opt/themes/piu/call-ui
> deleted/home/divanov/thememaker/ThemeMaker1.2.9/piu/opt/themes/piu/call-ui/.DS_Store
> ===> cleanup: /home/divanov/thememaker/ThemeMaker1.2.9/piu/opt/themes/piu/gtk-2.0
> deleted/home/divanov/thememaker/ThemeMaker1.2.9/piu/opt/themes/piu/gtk-2.0/.DS_Store
> ===> cleanup: /home/divanov/thememaker/ThemeMaker1.2.9/piu/opt/themes/piu/images
> deleted/home/divanov/thememaker/ThemeMaker1.2.9/piu/opt/themes/piu/images/.DS_Store
> ===> cleanup: /home/divanov/thememaker/ThemeMaker1.2.9/piu/opt/themes/piu/css
> deleted/home/divanov/thememaker/ThemeMaker1.2.9/piu/opt/themes/piu/css/.DS_Store
> ===> cleanup: /home/divanov/thememaker/ThemeMaker1.2.9/piu/opt/themes/piu/backgrounds
> deleted/home/divanov/thememaker/ThemeMaker1.2.9/piu/opt/themes/piu/backgrounds/.DS_Store
> ===> cleanup: /home/divanov/thememaker/ThemeMaker1.2.9/piu/opt/themes/piu/icons
> deleted/home/divanov/thememaker/ThemeMaker1.2.9/piu/opt/themes/piu/icons/.DS_Store
> ===> cleanup: /home/divanov/thememaker/ThemeMaker1.2.9/piu/opt/themes/piu/icons/scalable
> deleted/home/divanov/thememaker/ThemeMaker1.2.9/piu/opt/themes/piu/icons/scalable/.DS_Store
> ===> cleanup: /home/divanov/thememaker/ThemeMaker1.2.9/piu/opt/themes/piu/icons/scalable/hildon
> deleted/home/divanov/thememaker/ThemeMaker1.2.9/piu/opt/themes/piu/icons/scalable/hildon/.DS_Store
> deleted recursive:/home/divanov/thememaker/ThemeMaker1.2.9/piu/opt/themes/piu/__MACOSX
> ===> cleanup: /home/divanov/thememaker/ThemeMaker1.2.9/piu/opt/themes/piu/matchbox2
> deleted/home/divanov/thememaker/ThemeMaker1.2.9/piu/opt/themes/piu/matchbox2/.DS_Store
> ===> cleanup: /home/divanov/thememaker/ThemeMaker1.2.9/piu/opt/themes/piu/opera
> ===> cleanup: /home/divanov/thememaker/ThemeMaker1.2.9/piu/opt/themes/piu/opera/dropdown
> ===> cleanup: /home/divanov/thememaker/ThemeMaker1.2.9/piu/opt/themes/piu/opera/checkbox
> ===> cleanup: /home/divanov/thememaker/ThemeMaker1.2.9/piu/opt/themes/piu/opera/scrollbar
> ===> cleanup: /home/divanov/thememaker/ThemeMaker1.2.9/piu/opt/themes/piu/opera/active_element
> ===> cleanup: /home/divanov/thememaker/ThemeMaker1.2.9/piu/opt/themes/piu/opera/active_element_out_of_view
> ===> cleanup: /home/divanov/thememaker/ThemeMaker1.2.9/piu/opt/themes/piu/opera/push_button
> ===> cleanup: /home/divanov/thememaker/ThemeMaker1.2.9/piu/opt/themes/piu/opera/edit
> ===> cleanup: /home/divanov/thememaker/ThemeMaker1.2.9/piu/opt/themes/piu/opera/radio_button
> ===> cleanup: /home/divanov/thememaker/ThemeMaker1.2.9/piu/opt/themes/piu/opera/scrollbar_knob
> ===> cleanup: /home/divanov/thememaker/ThemeMaker1.2.9/piu/opt/themes/piu/opera/resize_corner
> ===> cleanup: /home/divanov/thememaker/ThemeMaker1.2.9/piu/opt/themes/piu/debian
> deleted/home/divanov/thememaker/ThemeMaker1.2.9/piu/opt/themes/piu/debian/.DS_Store
> ===> cleanup: /home/divanov/thememaker/ThemeMaker1.2.9/piu/opt/themes/piu/calendar
> deleted/home/divanov/thememaker/ThemeMaker1.2.9/piu/opt/themes/piu/calendar/.DS_Store
> ===> cleanup: /home/divanov/thememaker/ThemeMaker1.2.9/piu/opt/themes/piu/matchbox
> deleted/home/divanov/thememaker/ThemeMaker1.2.9/piu/opt/themes/piu/matchbox/.DS_Store
> tar:/opt/themes/
> passing: /opt/themes
> tar:/opt/themes/piu/
> passing: /opt/themes/piu
> tar:/opt/themes/piu/startup-wizard/
> passing: /opt/themes/piu/startup-wizard
> tar:/opt/themes/piu/rtcom-messaging-ui/
> passing: /opt/themes/piu/rtcom-messaging-ui
> tar:/opt/themes/piu/mediaplayer/
> passing: /opt/themes/piu/mediaplayer
> tar:/opt/themes/piu/call-ui/
> passing: /opt/themes/piu/call-ui
> tar:/opt/themes/piu/gtk-2.0/
> passing: /opt/themes/piu/gtk-2.0
> tar:/opt/themes/piu/images/
> passing: /opt/themes/piu/images
> tar:/opt/themes/piu/css/
> passing: /opt/themes/piu/css
> tar:/opt/themes/piu/backgrounds/
> passing: /opt/themes/piu/backgrounds
> tar:/opt/themes/piu/matchbox2/
> passing: /opt/themes/piu/matchbox2
> tar:/opt/themes/piu/opera/
> passing: /opt/themes/piu/opera
> tar:/opt/themes/piu/opera/dropdown/
> passing: /opt/themes/piu/opera/dropdown
> tar:/opt/themes/piu/opera/checkbox/
> passing: /opt/themes/piu/opera/checkbox
> tar:/opt/themes/piu/opera/scrollbar/
> passing: /opt/themes/piu/opera/scrollbar
> tar:/opt/themes/piu/opera/active_element/
> passing: /opt/themes/piu/opera/active_element
> tar:/opt/themes/piu/opera/active_element_out_of_view/
> passing: /opt/themes/piu/opera/active_element_out_of_view
> tar:/opt/themes/piu/opera/push_button/
> passing: /opt/themes/piu/opera/push_button
> tar:/opt/themes/piu/opera/edit/
> passing: /opt/themes/piu/opera/edit
> tar:/opt/themes/piu/opera/radio_button/
> passing: /opt/themes/piu/opera/radio_button
> tar:/opt/themes/piu/opera/scrollbar_knob/
> passing: /opt/themes/piu/opera/scrollbar_knob
> tar:/opt/themes/piu/opera/resize_corner/
> passing: /opt/themes/piu/opera/resize_corner
> tar:/opt/themes/piu/calendar/
> passing: /opt/themes/piu/calendar
> tar:/opt/themes/piu/matchbox/
> passing: /opt/themes/piu/matchbox
> Error in tar creation
> java.lang.NullPointerException
> Making debian package...
> Problems making debian java.io.FileNotFoundException: data.tar.gz (No
> such file or directory)
> writing install file.
> java.io.FileNotFoundException: piu/DEBIAN/install (No such file or directory)
> 	at java.io.FileOutputStream.open(Native Method)
> 	at java.io.FileOutputStream.<init>(FileOutputStream.java:209)
> 	at java.io.FileOutputStream.<init>(FileOutputStream.java:99)
> 	at maemothememaker.MainWindow.makePackage(MainWindow.java:1107)
> 	at maemothememaker.MainWindow.access$2800(MainWindow.java:34)
> 	at maemothememaker.MainWindow$ConverterThread.run(MainWindow.java:1979)
> exit:1
> changed permissions of debian file: ThemeMaker1.2.9
> exit:1
> changed permissions of debian file: ThemeMaker1.2.9
> unable to change permissions of debian files
> java.io.IOException: Cannot run program "chmod" (in directory
> "/home/divanov/thememaker/ThemeMaker1.2.9/piu/DEBIAN"):
> java.io.IOException: error=2, No such file or directory
> unable to change permissions of debian files
> java.io.IOException: Cannot run program "chmod" (in directory
> "/home/divanov/thememaker/ThemeMaker1.2.9/piu/DEBIAN"):
> java.io.IOException: error=2, No such file or directory
> unable to change permissions of debian files
> java.io.IOException: Cannot run program "chmod" (in directory
> "/home/divanov/thememaker/ThemeMaker1.2.9/piu/DEBIAN"):
> java.io.IOException: error=2, No such file or directory
> unable to change permissions of debian files
> java.io.IOException: Cannot run program "chmod" (in directory
> "/home/divanov/thememaker/ThemeMaker1.2.9/piu/DEBIAN"):
> java.io.IOException: error=2, No such file or directory
> unable to change permissions of debian files
> java.io.IOException: Cannot run program "chmod" (in directory
> "/home/divanov/thememaker/ThemeMaker1.2.9/piu/DEBIAN"):
> java.io.IOException: error=2, No such file or directory
> unable to change permissions of debian files
> java.io.IOException: Cannot run program "chmod" (in directory
> "/home/divanov/thememaker/ThemeMaker1.2.9/piu/DEBIAN"):
> java.io.IOException: error=2, No such file or directory
> unable to change permissions of debian files
> java.io.IOException: Cannot run program "rm" (in directory
> "/home/divanov/thememaker/ThemeMaker1.2.9/piu/DEBIAN"):
> java.io.IOException: error=2, No such file or directory
> 
>  Seems like tar production fails. Is it something related to my setup?
> 
> Thanks, Daniil.
> _______________________________________________
> maemo-developers mailing list
> maemo-developers at maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers
> 

More information about the maemo-developers mailing list