Re: How to remove extra files created when building a package?

2017-06-29 Thread deloptes
Thomas Nyberg wrote: > I am trying to build the thunderbird package with some modifications. I > made the modifications and commited the changes to a local patch, but > then during the build (using `debuild -uc -us`) I ran out of space. I > ran `debuild clean` and then deleted different things on

Re: How to remove extra files created when building a package?

2017-06-29 Thread Thomas Nyberg
On 06/29/2017 09:34 PM, Greg Wooledge wrote: > On Thu, Jun 29, 2017 at 09:30:26PM +0200, Thomas Nyberg wrote: >> $ for file in $(find . -name '*.pyc'); do rm -v $file; done >> $ for file in $(find . -name '*.o'); do rm -v $file; done >> $ for file in $(find . -name '*.so'); do rm -v

Re: How to remove extra files created when building a package?

2017-06-29 Thread Greg Wooledge
On Thu, Jun 29, 2017 at 09:30:26PM +0200, Thomas Nyberg wrote: > $ for file in $(find . -name '*.pyc'); do rm -v $file; done > $ for file in $(find . -name '*.o'); do rm -v $file; done > $ for file in $(find . -name '*.so'); do rm -v $file; done *cringe* No, no, no find . -n

Re: How to remove extra files created when building a package?

2017-06-29 Thread Thomas Nyberg
Thanks for all the helpful info! On 06/29/2017 09:15 PM, Sven Joachim wrote: > On 2017-06-29 20:36 +0200, Thomas Nyberg wrote: > > In my experience, if you are serious about changing packages it's always > better to create a git repository, if only temporarily. Ideally clone > the existing one m

Re: How to remove extra files created when building a package?

2017-06-29 Thread Thomas Nyberg
Okay it looks like I solved the problem myself, but figured that I should recored it in the list for posterity. The first problem I had (even before the current question), was that I got errors that all started with: "dpkg-source: error: cannot represent change to ..." This seemed to have

Re: How to remove extra files created when building a package?

2017-06-29 Thread Sven Joachim
On 2017-06-29 20:36 +0200, Thomas Nyberg wrote: > I am trying to build the thunderbird package with some modifications. I > made the modifications and commited the changes to a local patch, but > then during the build (using `debuild -uc -us`) I ran out of space. I > ran `debuild clean` and then d

How to remove extra files created when building a package?

2017-06-29 Thread Thomas Nyberg
Hello, I am trying to build the thunderbird package with some modifications. I made the modifications and commited the changes to a local patch, but then during the build (using `debuild -uc -us`) I ran out of space. I ran `debuild clean` and then deleted different things on my computer and then t