Re: Not able to build a package with pbuilder

2006-08-18 Thread Michael Rasmussen
On 2006-08-17 04:53:36, Matthias Julius wrote: You could run autoconf from within rules and have configure be created during build. Doh, why didn't I come up with that idea:-) This is of-course the must generic solution. Thanks. -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys:

Not able to build a package with pbuilder

2006-08-16 Thread Michael Rasmussen
Hi all, I am trying to use pbuilder to test a package I am about to prepare for upload but no matter which way - pbuild as root or pdebuild inside source tree, I try the result is always the same. When pbuilder is trying to execure configure from inside the chroot is fails with the error

Re: Not able to build a package with pbuilder

2006-08-16 Thread The Fungi
On Wed, Aug 16, 2006 at 11:57:21PM +0200, Michael Rasmussen wrote: I am trying to use pbuilder to test a package I am about to prepare for upload but no matter which way - pbuild as root or pdebuild inside source tree, I try the result is always the same. When pbuilder is trying to

Re: Not able to build a package with pbuilder

2006-08-16 Thread Michael Rasmussen
On 2006-08-17 00:02:22, The Fungi wrote: Try: chmod +x configure Looks to me like execute permission for configure probably isn't set. In my source tree configure has execute permission but when building the deb-package I notice these warnings: dpkg-source: warning: executable mode

Re: Not able to build a package with pbuilder

2006-08-16 Thread James Westby
On (17/08/06 00:08), Michael Rasmussen wrote: On 2006-08-17 00:02:22, The Fungi wrote: Try: chmod +x configure Looks to me like execute permission for configure probably isn't set. In my source tree configure has execute permission but when building the deb-package I notice

Re: Not able to build a package with pbuilder

2006-08-16 Thread Don Armstrong
On Thu, 17 Aug 2006, Michael Rasmussen wrote: On 2006-08-17 00:02:22, The Fungi wrote: chmod +x configure Looks to me like execute permission for configure probably isn't set. In my source tree configure has execute permission but when building the deb-package I notice these warnings:

Re: Not able to build a package with pbuilder

2006-08-16 Thread Michael Rasmussen
On 2006-08-17 00:53:16, James Westby wrote: You could see if chmod u+x configure in your debian/rules fixes it, but it shouldn't be necessary. How I am going to do that? configure is in the tar.gz.diff file and from what I know debian/rules has no access to that file? -- Hilsen/Regards

Re: Not able to build a package with pbuilder

2006-08-16 Thread James Westby
On (17/08/06 00:57), Michael Rasmussen wrote: On 2006-08-17 00:53:16, James Westby wrote: You could see if chmod u+x configure in your debian/rules fixes it, but it shouldn't be necessary. How I am going to do that? configure is in the tar.gz.diff file and What file is that? Do you

Re: Not able to build a package with pbuilder

2006-08-16 Thread Michael Rasmussen
On 2006-08-17 00:54:41, Don Armstrong wrote: It means that your upstream is having issues; configure should be +x in the orig.tar.gz. In this special situation orig.tar.gz is not to blame since orig.tar.gz is not prepared to use autotools in which case configure does not exist in

Re: Not able to build a package with pbuilder

2006-08-16 Thread Michael Rasmussen
On 2006-08-17 01:53:59, Junichi Uekawa wrote: It's the way diff/patch works. They don't preserve execute permissions. I have realised that and I am opting for Don Armstrong solution which solves the matter. Thanks. -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys: michael at

Re: Not able to build a package with pbuilder

2006-08-16 Thread Junichi Uekawa
In my source tree configure has execute permission but when building the deb-package I notice these warnings: dpkg-source: warning: executable mode 0755 of `configure' will not be represented in diffdpkg-source: warning: executable mode 0755 of `depcomp' will not be represented in

Re: Not able to build a package with pbuilder

2006-08-16 Thread Matthias Julius
Michael Rasmussen [EMAIL PROTECTED] writes: On 2006-08-17 01:53:59, Junichi Uekawa wrote: It's the way diff/patch works. They don't preserve execute permissions. I have realised that and I am opting for Don Armstrong solution which solves the matter. Thanks. You could run autoconf