ueno/ruby-gpgme

Build error with Alpine >= 3.18.0 and musl >= 1.2.4

Closed this issue · 2 comments

An update in Alpine (upgrade to a new musl version) breaks building the gem.

...
68.47 posix-io.c:77:3: error: unknown type name 'ino64_t'
68.47    77 |   ino64_t d_ino;
68.47       |   ^~~~~~~
68.47 posix-io.c:78:3: error: unknown type name 'off64_t'
68.47    78 |   off64_t d_off;
68.47       |   ^~~~~~~
...

I've attached a PR that workarounds this until gpgme updates. More information in the PR: #181

ueno commented

Now that #181 has been merged, I'm closing this issue.

I just encountered this issue with Alpine Linux too (I had version 2.0.22) after I upgraded to a newer version of Alpine.
I confirm that upgrading gpgme to version 2.0.24 fixed the issue (just in case someone else needs to know how to resolve the issue if they had an older version of gpgme).