Bug#383394: [Pbuilder-maint] Bug#383394: pbuilder: Fails to build if source tree has files with zero size

2006-08-17 Thread Junichi Uekawa
Hi, when your source tree contains empty files pbuilder for some reason cannot see the files. It appears to me that the pbuilder uses stat is to ask for the size of the file and if the file has zero size the return in 0 - (NULL) in which case pbuilder treats the situation as if it is a

Bug#383394: [Pbuilder-maint] Bug#383394: pbuilder: Fails to build if source tree has files with zero size

2006-08-17 Thread Michael Rasmussen
Hi, On 2006-08-17 16:15:15, Junichi Uekawa wrote: Please give more specific information. Take any upstream tar-ball and debianize it with dh_make. Apply autotools to the package. In the process of running autoreconf -i you will have a number of required files created with zero contents:

Bug#383394: [Pbuilder-maint] Bug#383394: pbuilder: Fails to build if source tree has files with zero size

2006-08-17 Thread Junichi Uekawa
That's not pbuilder behavior; that's diff/patch, dpkg standard behavior. Should dpkg-buildpackage not then issue a, at least a warning? Under development you should be able to try building a package without everything entirely according to Debian Policy IMHO. As a temporary

Bug#383394: [Pbuilder-maint] Bug#383394: pbuilder: Fails to build if source tree has files with zero size

2006-08-17 Thread Junichi Uekawa
Hi, Please give more specific information. Take any upstream tar-ball and debianize it with dh_make. Apply autotools to the package. In the process of running autoreconf -i you will have a number of required files created with zero contents: NEWS, ChangeLog, AUTHORS etc. Run

Bug#383394: [Pbuilder-maint] Bug#383394: pbuilder: Fails to build if source tree has files with zero size

2006-08-17 Thread Michael Rasmussen
Hi, On 2006-08-17 23:29:30, Junichi Uekawa wrote: That's not pbuilder behavior; that's diff/patch, dpkg standard behavior. Should dpkg-buildpackage not then issue a, at least a warning? Under development you should be able to try building a package without everything entirely according to

Bug#383394: [Pbuilder-maint] Bug#383394: pbuilder: Fails to build if source tree has files with zero size

2006-08-17 Thread Michael Rasmussen
Hi, On 2006-08-18 00:02:47, Junichi Uekawa wrote: That's a patch/diff behavior, do you hear me? I do understand. I was merely speculating if this is a wishful behaviour from patch/diff:-) -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys: michael at rasmussen dot cc

Bug#383394: [Pbuilder-maint] Bug#383394: pbuilder: Fails to build if source tree has files with zero size

2006-08-17 Thread Junichi Uekawa
That's not pbuilder behavior; that's diff/patch, dpkg standard behavior. Should dpkg-buildpackage not then issue a, at least a warning? Under development you should be able to try building a package without everything entirely according to Debian Policy IMHO. If the empty files

Bug#383394: [Pbuilder-maint] Bug#383394: pbuilder: Fails to build if source tree has files with zero size

2006-08-17 Thread Michael Rasmussen
On 2006-08-18 00:07:09, Junichi Uekawa wrote: As a temporary workaround, just add some content to your NEWS file, like echo foo NEWS This is also the solution I have chosen. Thanks for your patience. -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys: michael at rasmussen dot cc

Bug#383394: pbuilder: Fails to build if source tree has files with zero size

2006-08-16 Thread Michael Rasmussen
Package: pbuilder Version: 0.156 Severity: important when your source tree contains empty files pbuilder for some reason cannot see the files. It appears to me that the pbuilder uses stat is to ask for the size of the file and if the file has zero size the return in 0 - (NULL) in which case