Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 327681 - A typo in /usr/share/aclocal/libgcrypt.m4 of dev-libs/libgcrypt-1.4.5
Summary: A typo in /usr/share/aclocal/libgcrypt.m4 of dev-libs/libgcrypt-1.4.5
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-10 11:36 UTC by Ingo Krabbe
Modified: 2010-07-10 22:55 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ingo Krabbe 2010-07-10 11:36:23 UTC
makes configure stage to fail in finding LIBGCRYPT

Reproducible: Always

Steps to Reproduce:
emerge '=gnome-keyring-2.30.3'

I set this to major, as its a base library, that should be fixed soon.
Actual Results:  
checking for LIBGCRYPT... no
configure: error: Package requirements (libgcryt >= "1:1.2.2") were not met:

No package 'libgcryt' found



diff -up /usr/share/aclocal/libgcrypt.m4 libgcrypt.corr 
--- /usr/share/aclocal/libgcrypt.m4     2010-07-10 13:33:41.034606659 +0200
+++ libgcrypt.corr      2010-07-10 13:34:27.421607767 +0200
@@ -23,7 +23,7 @@ dnl
 AC_DEFUN([AM_PATH_LIBGCRYPT],
 [
   tmp=ifelse([$1], ,1:1.2.0,$1)
-  PKG_CHECK_MODULES([LIBGCRYPT], [libgcryt >= "$tmp"])
+  PKG_CHECK_MODULES([LIBGCRYPT], [libgcrypt >= "$tmp"])
   if echo "$tmp" | grep ':' >/dev/null 2>/dev/null ; then
      req_libgcrypt_api=`echo "$tmp"     | sed 's/\(.*\):\(.*\)/\1/'`
   else
@@ -33,7 +33,7 @@ AC_DEFUN([AM_PATH_LIBGCRYPT],
   # If we have a recent libgcrypt, we should also check that the
   # API is compatible
   if test "$req_libgcrypt_api" -gt 0 ; then
-     tmp=`$PKG_CONFIG --variable=api-version libgcryt 2>/dev/null || echo 0`
+     tmp=`$PKG_CONFIG --variable=api-version libgcrypt 2>/dev/null || echo 0`
      if test "$tmp" -gt 0 ; then
         AC_MSG_CHECKING([LIBGCRYPT API version])
         if test "$req_libgcrypt_api" -eq "$tmp" ; then
Comment 1 Harald van Dijk (RETIRED) gentoo-dev 2010-07-10 22:53:22 UTC
Which version of libgcrypt do you have installed? 1.4.5 is the latest, has been stable for months, and does not have any PKG_CHECK_MODULES entry in libgcrypt.m4.
Comment 2 Harald van Dijk (RETIRED) gentoo-dev 2010-07-10 22:55:21 UTC
Oh, the version was in your summary but not in your description... Since 1.4.5 does not contain the lines that you're suggesting to patch, there's not a lot that can be done here.