In order to build the package 'thunar' in debian-wheezy I did the following steps:
sudo apt-get build-dep thunar sudo apt-get source thunar cd thunar-1.2.3/debian sudo debuild -uc -us
Till here everything works fine. Some .dep packages are produced which i can install via dpkg.
Now I would like to modify the source-code and run the build again … however I am not even able to just clean + rebuild. I tried the following:
sudo debuild clean sudo debuild -uc -us
Already the clean-command warns me that the deletion for many files was ignored. Than many local changes are recognized and I am suggested to use 'dpkg-source –commit' to integrate these changes … actually I did not touch anything yet.
Even if I follow the suggestion, I get the following error at the end of the build:
.... make: *** [binary] Fehler 2 dpkg-buildpackage: Fehler: Fehler-Exitstatus von fakeroot debian/rules binary war 2 debuild: fatal error at line 1357: dpkg-buildpackage -rfakeroot -D -us -uc failed
I as well tried to execute the single steps as normal user, not as sudo … however in that case even the first 'debuild -uc -us' fails.
Did I do something wrong ? How you would trigger a build + rebuild ? Or maybe is it a problem of the package 'thunar' ?