Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

How to make optification with MADDE

From Wiki
Jump to: navigation, search
Article Metadata
Created: divanov (10 Jun 2010)
Last edited: hamishwillee (23 Jul 2012)

This article shows how to workaround an issue where building a debian package with MADDE can result in its execution bit not being set.


Currently if you build Debian package with

mad dpkg-buildpackage

using MADDE and place binaries to /opt/ directory (which is known as optification and aim to reduce disk usage for /usr directory) it will fail to set execution bit to your binary.


  1. Find dh_fixperms file. For example, on my system it's under ~/NokiaQtSDK/Maemo/4.6.2/madbin/dh_fixperms
  2. Replace it with File:Dh fixperms.txt (rename it back to dh_fixperms).


This problem is not present in Nokia Qt SDK 1.0.1.

This page was last modified on 23 July 2012, at 12:28.
132 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.