Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - ruby-gpgme

Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: ruby-gpgme 2.0.12-1

Git Clone URL: https://aur-dev.archlinux.org/ruby-gpgme.git (read-only)
Package Base: ruby-gpgme
Description: Ruby binding of GPGME.
Upstream URL: http://github.com/ueno/ruby-gpgme
Licenses: LGPL-2.1+
Submitter: anatolik
Maintainer: asch
Last Packager: asch
Votes: 4
Popularity: 0.000232
First Submitted: 2013-12-19 07:31
Last Updated: 2016-02-25 08:24

Required by (3)

Sources (1)

Latest Comments

dark-saber commented on 2016-02-25 07:00

It seems that 2.0.12 depends on ruby-mini_portile2 (https://aur.archlinux.org/packages/ruby-mini_portile2/) - see this commit: https://github.com/ueno/ruby-gpgme/commit/e69b108cc8fdd5eb68c7fe811cfd07a77c9c1a6a

einalex commented on 2015-12-18 11:32

thanks :)

einalex commented on 2015-12-17 22:52

epicurious error (which I also get) is apparently fixed in version 2.0.11.
See here https://github.com/ueno/ruby-gpgme/issues/67

asch commented on 2015-12-16 09:17

Can you read?

> checking whether the C compiler works... no

epicurious commented on 2015-12-16 06:59

I could not get this to install: error messages as follows -

checking whether the C compiler works... no
configure: error: in `/home/corey/ruby-gpgme/pkg/ruby-gpgme/usr/lib/ruby/gems/2.2.0/gems/gpgme-2.0.9/ext/gpgme/tmp/x86_64-unknown-linux-gnu/ports/libgpg-error/1.19/libgpg-error-1.19':
configure: error: C compiler cannot create executables
See `config.log' for more details
========================================================================
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.

Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/bin/$(RUBY_BASE_NAME)
--clean
--use-system-libraries
/usr/lib/ruby/gems/2.2.0/gems/mini_portile-0.7.0.rc4/lib/mini_portile/mini_portile.rb:365:in `block in execute': Failed to complete configure task (RuntimeError)

adament commented on 2015-10-13 08:44

I reported the difficulties in my previous comment upstream: https://github.com/ueno/ruby-gpgme/issues/67 so hopefully it will be fixed in the next update.

adament commented on 2015-10-12 16:29

I couldn't compile the package, I kept getting errors saying my C compiler wasn't working. Inspecting the config.log the error reported was:

configure:3719: checking whether the C compiler works
configure:3741: gcc '-fPIC -march=native -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4' -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro conftest.c >&5
gcc: error: '-fPIC: No such file or directory

and looking in ext/gpgme/extconf.rb I think the error comes from the lines like:

recipe.configure_options = [
'--disable-shared',
'--enable-static',
'--disable-nls',
"CFLAGS='-fPIC #{ENV["CFLAGS"]}'",
]

To get the package to install I simply appended -- --use-system-libraries to the gem install line in the PKGBUILD. For this to be a proper fix, one should also make the package depend on the relevant libraries: libgpg-error, libassuan, etc.

asch commented on 2015-08-23 14:36

Fixed.

nielsk commented on 2015-08-23 13:20

The dependency ruby-mini_portile-0.6.0 does not exist anymore, henceforth the package cannot be installed.