[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: debuild error please advise

Hash: SHA1

On Tuesday 01 October 2002 22:32, justin cunningham wrote:
> I'm using a debian package built by a friend and it works great however
> I need a patch he didn't so he told me to get his source, apply my patch
> then debuild.
> So I downloaded his source package orig.tar.gz, .dsc, diff.gz
> i386_changes -- basically all files except the .deb and extracted the
> source, applied the patch and cd into the source tree and ran 'fakeroot
> debuild' and got
> $ fakeroot debuild
> debuild: fatal error at line 317:
> Cannot find debian/rules anywhere!  Are you in the source code tree?
> What did I do wrong?  Typically when I apply patches to src packages I
> just patch them and use apt-get -b source package but the version in the
> debian branch is way old.

Is there a debian/ directory in the root of the source tree? Does it contain a 
file called rules? Is that file executable?

You can find all the answers to these questions by running the simple command:

  ls -l debian/rules

If it isn't there, then either you have done something wrong, or the person 
who sent you the files has. If it is not executable, make it executable 
(chmod a+x debian/rules) and try again.

Paul Cupis
- -- 

Version: GnuPG v1.0.7 (GNU/Linux)


Reply to: