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

Re: RFS: exiftags (updated package)

On Sunday 31 August 2008 20:25:57 Eugene V. Lyubimkin wrote:
> George Danchev wrote:
> > On Sunday 31 August 2008 10:00:44 Eugene V. Lyubimkin wrote:
> >> George Danchev wrote:
> >>> Ok, thanks for fixing an RC. Builds fine per autobuilders
> >>> (dpkg-buildpackage -B), but fails to build with fakeroot debian/rules
> >>> binary (as per policy), probalby because of missing binary-arch and
> >>> binary-indep targets ? Try to fix it, or I'll have a look more closer
> >>> look tonight... of course sponsors with more time are welcome to beat
> >>> me on that line ;-)
> >>
> >> Builds fine in my pbuilder. binary-arch and binary-indep are defined by
> >> debhelper v7.
> >
> > Eugene,
> > 	this is not enough, your `binary-arch' should build a binary package to
> > a given architecture, but it fails because it does not depend on `build'
> > target (where policy 4.9. says it should), thus `patch' target was also
> > not being called as well. To fix that you should add: binary-arch: build
> > install
> George, I might missed something. Both 'dpkg-buildpackage -b' and
> 'dpkg-buildpackage -B' work, in both cases patches are applied and binary
> packages are built correctly. Where do you got the error?

... you are relying on dpkg-buildpackage to call `build' for you. 
`build' resp. `patch' were not called as in:

$ fakeroot debian/rules binary
dh binary-indep
dh binary-arch
   dh_testdir -a
   dh_auto_configure -a
   dh_auto_build -a
make[1]: Entering directory `/home/danchev/download/debian/exiftags-1.01'
cc  -o exiftags.o -c exiftags.c

[CUT the object files creation................]

make[1]: Leaving directory `/home/danchev/download/debian/exiftags-1.01'
   dh_auto_test -a
   dh_testroot -a
   dh_prep -a
   dh_installdirs -a
   dh_auto_install -a
make[1]: Entering directory `/home/danchev/download/debian/exiftags-1.01'
cp exiftags exifcom 
exiftime /home/danchev/download/debian/exiftags-1.01/debian/exiftags/usr/local/bin
cp: target 
is not a directory
make[1]: *** [install] Error 1
make[1]: Leaving directory `/home/danchev/download/debian/exiftags-1.01'
dh_auto_install: command returned error code 512
make: *** [binary-arch] Error 1

pub 4096R/0E4BD0AB 2003-03-18 <people.fccf.net/danchev/key pgp.mit.edu>

Reply to: