Bug#574380: edos-distcheck: Wrong output for | alternative?
Zack: this is your call (python!)
On Wed, Mar 17, 2010 at 09:00:29PM +0100, Kurt Roeckx wrote:
> Package: edos-distcheck
> Version: 1.4.2-8~bpo50+1
>
> Hi,
>
> With the files at http://buildd.debian.org/~kroeckx/, doing:
> edos-builddebcheck Packages-armel Sources-prelink
>
> Gets me:
> prelink (= 0.0.20090925-1): FAILED
> prelink (= 0.0.20090925-1) build-depends on missing:
> - libc6.1-dev (> 2.3.5)
>
> prelink has a Build-Depends on libc6-dev (>> 2.3.5) | libc6.1-dev (>> 2.3.5)
>
> And libc6-dev seems to be installable, and is higher than
> libc6-dev. On the other hand libc6.1-dev does not exist
> for that arch.
There is a serious problem with addsources.py: it "simplifies" an
altenative build-dependency into a single package. On Kurt's example,
it changes
Build-Depends: libc6-dev (>> 2.3.5) | libc6.1-dev (>> 2.3.5)
into
Depends: libc6.1-dev (>> 2.3.5)
which is hardly acceptable :-)
At that occassion:
- from debian_bundle => from debian
- add-sources.py complains about some unicode characters:
% edos-builddebcheck Packages-armel Sources-prelink
Traceback (most recent call last):
File "/usr/share/edos-distcheck/add-sources.py", line 132, in <module>
print pkg
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 100: ordinal not in range(128)
-Ralf.
Reply to: