Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 266554 - <gnome-base/gnome-keyring-2.26.1 can't find libtasn1
Summary: <gnome-base/gnome-keyring-2.26.1 can't find libtasn1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://bugzilla.gnome.org/show_bug.cg...
Whiteboard:
Keywords: NeedPatch
: 266037 267303 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-04-17 15:49 UTC by Rémi
Modified: 2009-04-28 19:15 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch that replace AM_PATH_LIBTASN1 by PKG_CHECK_MODULES in configure.in (gnome-keyring-2.22.3-pkg-libtasn1.patch,902 bytes, patch)
2009-04-18 10:30 UTC, Rémi
Details | Diff
Patch that replace AM_PATH_LIBTASN1 by PKG_CHECK_MODULES in configure.in (gnome-keyring-2.24.1-pkg-libtasn1.patch,900 bytes, patch)
2009-04-18 13:21 UTC, Rémi
Details | Diff
fixed ebuild to use patch per the comments (gnome-keyring-2.22.3-r1.ebuild.patch,811 bytes, patch)
2009-04-22 17:31 UTC, Andrew Evans
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rémi 2009-04-17 15:49:30 UTC
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
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-04-18 09:51:06 UTC
2.26 will be added in time but if you're willing to produce a patch for 2.24 it'd be appreciated.
Comment 2 Rémi 2009-04-18 10:30:27 UTC
Created attachment 188781 [details, diff]
Patch that replace AM_PATH_LIBTASN1 by PKG_CHECK_MODULES in configure.in

This one should do it
Comment 3 Rémi 2009-04-18 10:45:16 UTC
(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.
Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-04-18 10:46:50 UTC
this is a libtool problem, check gnome-power-manager in overlay for example of how to fix this.
Comment 5 Rémi 2009-04-18 13:05:23 UTC
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.
Comment 6 Rémi 2009-04-18 13:21:52 UTC
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.
Comment 7 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-18 13:27:10 UTC
Please don't mark bugs as fixed. Leave this to the corresponding maintainers.
Comment 8 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-04-21 08:30:25 UTC
*** Bug 266037 has been marked as a duplicate of this bug. ***
Comment 9 Andrew Evans 2009-04-22 17:31:49 UTC
Created attachment 189186 [details, diff]
fixed ebuild to use patch per the comments

works on my machine!
Comment 10 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-04-27 21:32:21 UTC
copying URL from bug 246324
Comment 11 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-04-27 22:01:20 UTC
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.
Comment 12 Fabian Groffen gentoo-dev 2009-04-28 19:15:12 UTC
*** Bug 267303 has been marked as a duplicate of this bug. ***