On Sat, 2009-03-14 at 19:40 +0100, Jaromír Mikeš wrote: > Hello, > > I upgrading library package by new upstream release. > And I getting this warnings: > > $ sudo dpkg-buildpackage -S > > dpkg-source: building clxclient in clxclient_3.6.1-1.diff.gz > dpkg-source: warning: executable mode 0777 of 'debian/control' will not be represented in diff > dpkg-source: warning: executable mode 0777 of 'debian/dirs' will not be represented in diff > dpkg-source: warning: executable mode 0777 of 'debian/copyright' will not be represented in diff > dpkg-source: warning: executable mode 0777 of 'debian/changelog' will not be represented in diff > dpkg-source: warning: executable mode 0777 of 'debian/compat' will not be represented in diff > dpkg-source: warning: executable mode 0777 of 'debian/libclxclient3.install' will not be represented in diff > dpkg-source: warning: executable mode 0777 of 'debian/watch' will not be represented in diff > dpkg-source: warning: executable mode 0777 of 'debian/libclxclient-dev.dirs' will not be represented in diff > dpkg-source: warning: executable mode 0777 of 'debian/libclxclient-dev.install' will not be represented in diff > dpkg-source: warning: executable mode 0777 of 'debian/libclxclient3.dirs' will not be represented in diff > > When I remove upsteram.orig.tar.bz2 from parent directory process is running without these warnings. > Any idea what can be wrong? > > regards > > mira > > Firstly you shouldn't be running dpkg-buildpackage as root, no matter what. Secondly, why are all your files having permissions 0777(-rwxrwxrwx)? They should be 0644(-rw-r--r--) or 0600(-r--------) or something similar, except for debian/rules which should be 0755(-rwxr-xr-x) or 0700(-rwx------) or something similar. Correcting your permissions should get rid of the said errors. -- Chow Loong Jin
Attachment:
signature.asc
Description: This is a digitally signed message part