Bug#752989: libio-callback-perl: FTBFS with Perl 5.20: alternative dependencies

Jonas Smedegaard dr at jones.dk
Sat Jun 28 17:09:32 UTC 2014


Quoting Niko Tyni (2014-06-28 09:03:08)
> Perhaps something like this (untested) could work?
> 
>   Build-Depends: perl (>= 5.17.1~) | libmodule-build-perl (>= 0.40), libmodule-build-perl
> 
> (The unversioned dependency would guarantee either a perl version with
>  the bundled M::B, or a separate package. The versioned alternative
>  would guarantee that the M::B version is new enough.)
> 
> I suppose we'll have to teach lintian new tricks too at some point...

Reading your original suggestion again, I realize it does indeed work - 
also for my pedantic view: An additional detail I forgot to take into 
account is that fallback build-dependencies are ignored on official 
build daemons where deterministic resolving is important.

Sorry if you felt this thread was too long - and thanks for opening my 
eyes to a more compact way of expressing this kind of issue than I'd 
come up with.


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20140628/bea93f6f/attachment-0001.sig>


More information about the pkg-perl-maintainers mailing list