ueno / ruby-gpgme

a ruby interface to GnuPG Made Easy (GPGME).
GNU Lesser General Public License v2.1
232 stars 99 forks source link

Add workaround for building gpgme with musl >= 1.2.4 #181

Closed jk779 closed 10 months ago

jk779 commented 10 months ago

When trying to compile this with a current alpine linux, the build fails because of an upgrade of musl. musl 1.2.4 removed the LFS64 interfaces, which are used in gpgme. They provide a way to reenable them until sources are updated with CFLAGS=-D_LARGEFILE64_SOURCE.

This adds the workaround to the build config until gpgme updates their code.

Here's a stacktrace of the installation without this patch: https://gist.github.com/jk779/33a16851bbe3c6baf7a024eba1fb7dc3


See https://github.com/ueno/ruby-gpgme/issues/182

jk779 commented 10 months ago

@ueno they don't seem to use github but a mailing list, which is a way of communication i've never participated in ;) Thus I've procrastinated on this up to now. Feel free, if you're familiar with the etiquette in mailing lists 😬 🙈

jjb commented 10 months ago

thank you @jk779!!

would be great to get this into a release

jjb commented 10 months ago

thanks for the merge! do you foresee a release coming up?