Brian May <br...@microcomaustralia.com.au> (19/03/2010): > According to the man page in my version of sbuild: > -d, --dist=distribution > Fetch source packages from specified distribution. > > However this documentation doesn't say this will also override the > distribution used in the changes file. Maybe it should also complain > if the distribution in the changes file doesn't match that in the log > file.
http://lists.debian.org/debian-devel/2010/02/msg00624.html gives a slight idea, but indeed, NEWS.Debian + manpage fix would help, I guess. > In this case I want to build against sid but still use experimental. > > I see there is a --chroot option to sbuild, however I am not really > sure what it does, it doesn't seem to take an option (???): > > -c, --chroot > Use the specified chroot. If not specified, the > default is the first of $distribution-$arch-sbuild, $distribu- > tion-sbuild, $distribution-$arch or $distribution that exists. It says “specified”, one could think it's specified... as an argument to this option? But usage probably should be clarified. Anyway, there you go: | k...@bowmore:/tmp$ sbuild -c sid-amd64-sbuild -d experimental gtk2-engines_2.18.5-2.dsc | […] | Chroot Build Dir: /opt/sid-amd64-sbuild/build/kibi-gtk2-engines_2.18.5-2-amd64-efx3bT | […] | k...@bowmore:/tmp$ grep ^Distribution gtk2-engines_2.18.5-2_amd64.changes | Distribution: experimental Mraw, (kinda-experimental-related-screw-ups-specialist-)KiBi.
signature.asc
Description: Digital signature