On 30/06/2013 10:25, olivier.sallou@codeless.fr wrote: > Hi, > I have an issue building a package with pbuilder. > > Package builds fine with dpkg-buildpackage, but when ran with pbuilder, > it seems JAVA_HOME is lost. If you run pbuilder with sudo, you might have to add this line with visudo: Defaults env_reset,env_keep="DIST ARCH JAVA_HOME" Hope this helps, Sylvestre