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

Re: Prevent pdebuild from removing temporary build dir



On Thu, Aug 02, 2007 at 10:24:41AM +0200, Andreas Tille wrote:
> On Wed, 1 Aug 2007, Pierre Habouzit wrote:
> 
> >>Sounds like what I'm looking for but I have problems to implement this
> >>hint.  I tried pdebuild --hookdir $HOME/.pbuilder and also added
> >>HOOKDIR=/home/myhome/.pbuilder to my .pbuilderrc but there is no 
> >>visible
> >>effect.  Did I missed something?
> >
> > it's used iff the build fails. So you have to make it fail...
> 
> Well - I think I have not to make anything if there is
> 
> ....
> .../.libs/libvolpack.so: undefined reference to `VPCompAC1PB'
> .../.libs/libvolpack.so: undefined reference to `VPWarpA301N'
> collect2: ld returned 1 exit status
> make[3]: *** [classifyvolume] Error 1
> make[3]: Leaving directory `/tmp/buildd/volpack-1.0b3/examples'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/tmp/buildd/volpack-1.0b3'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/tmp/buildd/volpack-1.0b3'
> make: *** [debian/stamp-makefile-build] Error 2
> pbuilder: Failed autobuilding of package
>  -> Aborting with an error
> 
> 
> I also tried to symlink  C10_launch_shell  to  B10_launch_shell  and
> D10_launch_shell - just to make sure that I did not missed the point
> of Paul.  To make clear what I'm talking about I uploaded the stuff
> I'm working on to
> 
>    http://people.debian.org/~tille/packages/volpack/
> 
> As I said it works with debuild but not mit pdebuild and whatever
> I try it does not trigger any hook (at my box).
> 
> Kind regards
> 
>         Andreas.

  my pbuilder conf is online: http://madism.org/~madcoder/dotfiles/
don't forget to make the scripts +x...

-- 
·O·  Pierre Habouzit
··O                                                madcoder@debian.org
OOO                                                http://www.madism.org

Attachment: pgpoVr4pq_cgB.pgp
Description: PGP signature


Reply to: