I'm a dumbo. This should be on c2hs not cpphs. And then the relevant upstream fix is: https://github.com/haskell/c2hs/commit/e5b1d84682a3f80721cc57e654feef6287cada36#diff-898d7d64ce63bc38886a61f03411d83b
I'm very sorry for this. Could you kindly move the report to the proper package?