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

Re: Using pbuilder to test packages with gcc-snapshot



On Fri, Nov 14, 2008 at 11:34:31AM +0900, Paul Wise wrote:
> > 1. Is there a way to set an arbitrary environment variable while
> >   running pbuilder (in my case, LD_LIBRARY_PATH).
> 
> grep export ~/.pbuilderrc
> export CCACHE_DIR="/var/cache/pbuilder/ccache"
> export PATH="/usr/lib/ccache:${PATH}"
> export DPKG_GENSYMBOLS_CHECK_LEVEL=4
> export DEBUILD_DPKG_BUILDPACKAGE_OPTS=-j2
> export MAKEFLAGS=-j2

Thanks. I guess I misread (or misinterpreted) the pbuilder man
page. setting LD_LIBRARY_PATH in pbuilderrc worked.

> > 2. Is there a better way of doing gcc-snapshot testing with pbuilder?
> 
> I would add a hook to get an interactive shell before pbuilder
> installs build-deps and install gcc-snapshot from that shell.
> 
> My pbuilder configuration contains the interactive shell hook(s):
> 
> http://people.debian.org/~pabs/tmp/pbuilder.tar.gz

Thanks, but I really want it to be automated for gcc-snapshot, so the
solution you suggest with the original trick on the Wiki works
perfectly for me.

Thanks for the information. I have updated the Wiki as well.

Kumar
-- 
Kumar Appaiah

Attachment: signature.asc
Description: Digital signature


Reply to: