FS#47649 - [perl-anyevent-i3] should depend on perl-json-xs

Attached to Project: Community Packages
Opened by John Beisley (huin) - Wednesday, 06 January 2016, 19:56 GMT
Last edited by Thorsten Töpper (Atsutane) - Sunday, 24 January 2016, 13:01 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Eric Belanger (Snowman)
Thorsten Töpper (Atsutane)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
http://cpansearch.perl.org/src/MSTPLBG/AnyEvent-I3-0.16/lib/AnyEvent/I3.pm line 6 uses JSON::XS.

Additional info:
* perl-anyevent-i3 0.16-1


Steps to reproduce:
1) Have i3-wm and perl-anyevent-i3, but not perl-json-xs (which is only a checkdepends of perl-anyevent-i3).
2) While i3 is running, run i3-save-tree
3) The following error is output:
Can't locate JSON/XS.pm in @INC (you may need to install the JSON::XS module) (@INC contains: /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .) at /usr/share/perl5/vendor_perl/AnyEvent/I3.pm line 6.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/AnyEvent/I3.pm line 6.
Compilation failed in require at /usr/bin/i3-save-tree line 19.
BEGIN failed--compilation aborted at /usr/bin/i3-save-tree line 19.
4) Install perl-json-xs
5) Re-run i3-save-tree
6) Program runs as expected.

Admittedly both perl-json-xs and perl-anyevent-i3 are both marked as optional dependencies of i3-wm to support layout saving, but this seems like it would be better expressed by having a concrete dependency of perl-anyevent-i3 on perl-json-xs.
This task depends upon

Closed by  Thorsten Töpper (Atsutane)
Sunday, 24 January 2016, 13:01 GMT
Reason for closing:  Fixed
Additional comments about closing:  0.16-2

Loading...