Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 275305 - Missing dependancy for net-misc/strongswan-4.3.2
Summary: Missing dependancy for net-misc/strongswan-4.3.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-24 17:18 UTC by Alois Schmid
Modified: 2009-06-28 17:13 UTC (History)
0 users

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 Alois Schmid 2009-06-24 17:18:09 UTC
net-misc/strongswan doesn't compile without dev-libs/libgcrypt installed.

emerge stops with the following error:

> cat build.log
 * This profile has not been tested thoroughly and is not considered to be
 * a supported server profile at this time.  For a supported server
 * profile, please check the Hardened project (http://hardened.gentoo.org).

 * This profile is merely a convenience for people who require a more
 * minimal profile, yet are unable to use hardened due to restrictions in
 * the software being used on the server. This profile should also be used
 * if you require GCC 4.1 or Glibc 2.4 support. If you don't know if this
 * applies to you, then it doesn't and you should probably be using
 * Hardened, instead.

 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/2.6.27-gentoo-r8/build
 * Found sources for kernel version:
 *     2.6.27-gentoo-r8
 * Linux kernel is version 2.6.27-gentoo-r8
 * This ebuild will set strongswan-4.3.2 to use 2.6 native IPsec (KAME).
>>> Unpacking source...
>>> Unpacking strongswan-4.3.2.tar.bz2 to /var/tmp/portage/net-misc/strongswan-4.3.2/work
>>> Source unpacked in /var/tmp/portage/net-misc/strongswan-4.3.2/work
>>> Preparing source in /var/tmp/portage/net-misc/strongswan-4.3.2/work/strongswan-4.3.2 ...
 * Applying strongswan-4.2.7-install.patch ...                            [ ok ]
 * Running eautoreconf in '/var/tmp/portage/net-misc/strongswan-4.3.2/work/strongswan-4.3.2' ...
 * Running aclocal ...                                                    [ ok ]
 * Running libtoolize --copy --force --automake ...                       [ ok ]
 * Running aclocal ...                                                    [ ok ]
 * Running autoconf ...                                                   [ !! ]

 * Failed Running autoconf !
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/net-misc/strongswan-4.3.2/temp/autoconf.out

 *
 * ERROR: net-misc/strongswan-4.3.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_prepare
 *             environment, line 3408:  Called eautoreconf
 *             environment, line 1182:  Called eautoconf
 *             environment, line 1124:  Called autotools_run_tool 'autoconf'
 *             environment, line  480:  Called die
 * The specific snippet of code:
 *           die "Failed Running $1 !";
 *  The die message:
 *   Failed Running autoconf !
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/net-misc/strongswan-4.3.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/strongswan-4.3.2/temp/environment'.
 *
> cat autoconf.out
***** autoconf *****
***** PWD: /var/tmp/portage/net-misc/strongswan-4.3.2/work/strongswan-4.3.2
***** autoconf

configure.in:119: error: possibly undefined macro: AC_MSG_ERROR
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.in:1011: error: possibly undefined macro: AM_PATH_LIBGCRYPT

After emerging libgcrypt (which seems to define the macro AM_PATH_LIBGCRYPT) net-misc/strongswan compiles without problems on various x32 machines.


Reproducible: Always

Steps to Reproduce:
1. emerge strongswan (without libgcrypt installed -> error)
2. emerge libgcrypt
3. emerge strongswan (-> works)

Actual Results:  
autoconf error

Expected Results:  
compilation without problems
Comment 1 Alois Schmid 2009-06-26 16:58:11 UTC
One more thing: 
After successfull compilation I needed to allow ipsec user to use /sbin/ip command (via sudo) to work with nat and virtual adresses. Should be at least mentioned besides the iptables problem in the postinstallation messages.
Comment 2 Patrick Lauer gentoo-dev 2009-06-28 17:13:42 UTC
Confirmed, thus:

+  28 Jun 2009; Patrick Lauer <patrick@gentoo.org> strongswan-4.3.2.ebuild:
+  Adding missing dev-libs/libgcrypt depend. Solves #275305