[buildd-tools-devel] Bug#834497: Bug#834497: sbuild: apt, aspcud, xapt resolvers dropping extra repositories before using them

Johannes Schauer josch at debian.org
Tue Aug 16 11:09:58 UTC 2016


Control: tag -1 + patch

Hi,

Quoting Maximiliano Curia (2016-08-16 11:52:54)
> The current version of sbuild is cleaning up the extra repositories before 
> using them. This was introduced by 0e71b40, adding extra repositories unlink 
> to cleanup_apt_archive, which is called at the end of the resolvers 
> install_deps', which in turn is called by install_core_deps and install_main_deps.
> 
> Since a normal build has a install_core_deps call before the 
> install_main_deps, the extra repositories are missing for the main part.
> 
> The aptitude resolver is not affected as it's not calling the 
> cleanup_apt_archive (I'm assuming that this relays on Build calling cleanup at 
> the right moments), the attached patch removes the cleanup_apt_archive 
> invocation from the resolvers assuming that the aptitude approach is correct.

it seems I forgot to remove some calls to this function in a0faab5b...

thanks for finding it and even providing a patch! It is now in my local git.

cheers, josch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20160816/c191807f/attachment.sig>


More information about the Buildd-tools-devel mailing list