Bug#219753: http://qa.debian.org/debcheck.php doesn't respect arch-specific build-deps
On Sat, Nov 15, 2003 at 01:56:20AM +0100, Peter Palfrader wrote:
> > > > Package declares a build time dependency on hurd-dev (>= 20020608-1)
> > > > [hurd-i386] which cannot be satisfied on i386.
> > >
> > > Ah :)
> > >
> > > $arch = 'i386';
> > > $deps_arch = 'hurd-i386'
> > > ignore unless $deps_arch =~ $arch;
> > >
> > > Looks like 'hurd-i386' matches 'i386' :)
> >
> > Why don't you use eq instead of =~ (or whatever is the syntax in the
> > language of the script in question)?
>
> Because $deps_arch might have been '!foo !bar !blubb'.
Why not parse that one part at a time, accounting for prefixes as well,
then? :)
(Maybe it's done now? I saw some commits, but didn't look into them...)
--
2. That which causes joy or happiness.
Reply to: