Hi,

On Sat, Jan 09, 2010 at 05:15:30PM +0200, Tommi Vainikainen wrote:
> Package: devscripts
> Version: 2.10.61
> Severity: normal
> Tags: patch
> 
> My /etc/apt/sources.list contains only component 'main' in deb-src line,
> and when I run build-rdeps, it shows error messages "No such file or
> directory" about missing Sources for components 'contrib' and
> 'non-free':

I can agree that the current behaviour is probably not the best,
but the default behaviour of build-rdeps is to search all three
components that are common for Debian systems. We could agree or disagree
weither that default is sensible, as non-free and contrib are not
official parts of Debian, but if we accept it as it is, your change
would do more harm than doing good. Explanatories below.

And after all there is a reason for --exclude-component and --only-main.

> Here is a patch that adds simple check for existance of Sources files
> for each component.

Thanks, but I for one won't accept that patch in this way. The
sources files are a requirement to fulfill the job of build-rdeps.
If they are not around an error should be triggered. This patch
would simply hide it.

I could accept one or both of the following solutions:
1. In the manpage emphasize that the system requires sources files for
each component it checks and that the default is to check the given
common components.
2. Add a more speaking warning if the required files are not found,
before trying to scan the files.

> The latter part of patch changes conditions in such way that it works
> also for unknown components if any.

Not yet sure, what to say about that part. Might be sensible.

Best Regards,
Patrick



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to