Bug#860739: libghc-xcb-types-dev: cannot parse xcb-proto 1.12

James Cowgill jcowgill at debian.org
Sun Apr 23 12:22:33 UTC 2017


Hi,

On 22/04/17 20:48, Niels Thykier wrote:
> On Sat, 22 Apr 2017 18:13:50 +0100 James Cowgill <jcowgill at debian.org>
>> On Wed, 19 Apr 2017 16:05:12 +0100 James Cowgill <jcowgill at debian.org> wrote:
>>> Package: libghc-xcb-types-dev
>>> Version: 0.7.1-4
>>> Severity: grave
>>> Tags: sid stretch
>>> Control: block 839314 by -1
>>>
>>> Hi,
>>>
>>> Currently haskell-xcb-types cannot parse xcb-proto 1.12. While strictly
>>> speaking you don't have to use this package to just parse the files from
>>> xcb-proto, it is the package's main purpose and (afaik) only use in the
>>> archive.
>>
>> [...]
>>
>> Relevant xcb-types commits:
>> https://github.com/aslatter/xcb-types/commit/0991f1d61b92371e9af51ab0fa3699d7c32e2b65
>> https://github.com/aslatter/xcb-types/commit/a86e578f0860670f3d43fa2d414e93a60aa72e2d
>>
>> Commit which would need backporting to xcffib:
>> https://github.com/tych0/xcffib/commit/6e6646b7d5eec253225579e1cbb40acf380648b4
>>
>> (xcffib would then need to depend on xcb-types >= 0.8)

More investigation!

After doing what I said above, xcb-types and xcffib build but the xcffib
testsuite fails[1]. It seems that xcb-proto 1.12 now uses the "switch"
element in a few places it didn't before and xcffib wasn't handling that
properly. There are a lot of commits in 0.5.0 which try to fix this - if
I use upstream xcffib it works.

> Hi James,
> 
> Thanks for the update and for looking into this issue.  I am glad to see
> there is progress on this issue.
> 
> I hope we can get a timely resolution on this bug and #839314.  If not,
> I will request that cairocffi drops its Build-Dependency and then remove
> xcffib plus haskell-xcb-types from testing.

It looks like the xcffib dependency from cairocffi is optional, so this
would be a much easier solution. Otherwise we have to backport tons of
stuff or use upstream 0.5.1.

[1] https://github.com/tych0/xcffib/pull/83

James

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20170423/5f7fddad/attachment-0001.sig>


More information about the Pkg-haskell-maintainers mailing list