gnome-keyring package can't find libtasn1 because all versions before 2.26.1 use deprecated autoconf AM_PATH_LIBTASN1 macro instead of using pkg-config (see http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg630367.html) This is fixed in gnome-keyring-2.26.1 which should be added in portage. Reproducible: Always Steps to Reproduce: 1. emerge gnome-keyring Actual Results: configure script complains about not finding libtasn1 config
2.26 will be added in time but if you're willing to produce a patch for 2.24 it'd be appreciated.
Created attachment 188781 [details, diff] Patch that replace AM_PATH_LIBTASN1 by PKG_CHECK_MODULES in configure.in This one should do it
(In reply to comment #2) > Created an attachment (id=188781) [edit] > Patch that replace AM_PATH_LIBTASN1 by PKG_CHECK_MODULES in configure.in > > This one should do it > Oups. Actually it doesn't. Firstly configure script must be regenerated. Once done, the configure step looks ok, but I get compile errors with make : /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DPREFIX=\""/usr/local"\" -DBINDIR=\""/usr/local/bin"\" -DLIBEXECDIR=\""/usr/local/libexec"\" -DGNOMELOCALEDIR=\""/usr/local/share/locale"\" -DORBIT2=1 -pthread -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -DGKR_DBUS_MAJOR_VERSION=1 -DGKR_DBUS_MINOR_VERSION=2 -DGKR_DBUS_MICRO_VERSION=3 -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -MT libgkr_common_la-gkr-async.lo -MD -MP -MF .deps/libgkr_common_la-gkr-async.Tpo -c -o libgkr_common_la-gkr-async.lo `test -f 'gkr-async.c' || echo './'`gkr-async.c ../libtool: line 827: X--tag=CC: command not found ../libtool: line 860: libtool: ignoring unknown tag : command not found ../libtool: line 827: X--mode=compile: command not found ../libtool: line 994: *** Warning: inferring the mode of operation is deprecated.: command not found ../libtool: line 995: *** Future versions of Libtool will require --mode=MODE be specified.: command not found ../libtool: line 1138: Xgcc: command not found ../libtool: line 1138: X-DHAVE_CONFIG_H: command not found ../libtool: line 1138: X-I.: command not found ../libtool: line 1138: X-I..: command not found ../libtool: line 1138: X-I..: command not found ../libtool: line 1138: X-DPREFIX="/usr/local": No such file or directory ../libtool: line 1138: X-DBINDIR="/usr/local/bin": No such file or directory ../libtool: line 1138: X-DLIBEXECDIR="/usr/local/libexec": No such file or directory ../libtool: line 1138: X-DGNOMELOCALEDIR="/usr/local/share/locale": No such file or directory ../libtool: line 1138: X-DORBIT2=1: command not found ../libtool: line 1138: X-pthread: command not found ../libtool: line 1138: X-I/usr/include/gconf/2: No such file or directory ../libtool: line 1138: X-I/usr/include/orbit-2.0: No such file or directory ../libtool: line 1138: X-I/usr/include/dbus-1.0: No such file or directory ../libtool: line 1138: X-I/usr/lib/dbus-1.0/include: No such file or directory ../libtool: line 1138: X-I/usr/include/glib-2.0: No such file or directory ../libtool: line 1138: X-I/usr/lib/glib-2.0/include: No such file or directory ../libtool: line 1138: X-I/usr/include/dbus-1.0: No such file or directory ../libtool: line 1138: X-I/usr/lib/dbus-1.0/include: No such file or directory ../libtool: line 1138: X-DGKR_DBUS_MAJOR_VERSION=1: command not found ../libtool: line 1138: X-DGKR_DBUS_MINOR_VERSION=2: command not found ../libtool: line 1138: X-DGKR_DBUS_MICRO_VERSION=3: command not found ../libtool: line 1138: X-DDBUS_API_SUBJECT_TO_CHANGE: command not found ../libtool: line 1138: X-I/usr/include/hal: No such file or directory ../libtool: line 1138: X-I/usr/include/dbus-1.0: No such file or directory ../libtool: line 1138: X-I/usr/lib/dbus-1.0/include: No such file or directory ../libtool: line 1138: X-I/usr/include/gtk-2.0: No such file or directory ../libtool: line 1138: X-I/usr/lib/gtk-2.0/include: No such file or directory ../libtool: line 1138: X-I/usr/include/atk-1.0: No such file or directory ../libtool: line 1138: X-I/usr/include/cairo: No such file or directory ../libtool: line 1138: X-I/usr/include/pango-1.0: No such file or directory ../libtool: line 1138: X-I/usr/include/glib-2.0: No such file or directory ../libtool: line 1138: X-I/usr/lib/glib-2.0/include: No such file or directory ../libtool: line 1138: X-I/usr/include/pixman-1: No such file or directory ../libtool: line 1138: X-I/usr/include/freetype2: No such file or directory ../libtool: line 1138: X-I/usr/include/libpng12: No such file or directory ../libtool: line 1138: X-I/usr/include/glib-2.0: No such file or directory ../libtool: line 1138: X-I/usr/lib/glib-2.0/include: No such file or directory ../libtool: line 1138: X-g: command not found ../libtool: line 1138: X-O2: command not found ../libtool: line 1138: X-MT: command not found ../libtool: line 1138: Xlibgkr_common_la-gkr-async.lo: command not found ../libtool: line 1138: X-MD: command not found ../libtool: line 1138: X-MP: command not found ../libtool: line 1138: X-MF: command not found ../libtool: line 1138: X.deps/libgkr_common_la-gkr-async.Tpo: No such file or directory ../libtool: line 1138: X-c: command not found ../libtool: line 1191: Xlibgkr_common_la-gkr-async.lo: command not found ../libtool: line 1196: libtool: compile: cannot determine name of library object from `': command not found I am not specialist -at all- of autotools, so I don't know how to solve this. Adding version 2.26.1 in local overlay took much less time.
this is a libtool problem, check gnome-power-manager in overlay for example of how to fix this.
OK the previous patch works (for version 2.22.3). the ebuild must inherits autotools and eautoreconf must be called after the patch is applied.
Created attachment 188791 [details, diff] Patch that replace AM_PATH_LIBTASN1 by PKG_CHECK_MODULES in configure.in Same patch as #188781, but for version 2.24 (just line numbers change) Tested OK with 2.24.1 (which is masked), it will work for sure for 2.24.0.
Please don't mark bugs as fixed. Leave this to the corresponding maintainers.
*** Bug 266037 has been marked as a duplicate of this bug. ***
Created attachment 189186 [details, diff] fixed ebuild to use patch per the comments works on my machine!
copying URL from bug 246324
pushed in tree without a revbump. Thanks for reporting and patches. Don't hesitate to reopen if there's any issue with the modified ebuilds.
*** Bug 267303 has been marked as a duplicate of this bug. ***