Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 557610 - net-misc/libreswan-3.14 add dev-libs/libevent dependency
Summary: net-misc/libreswan-3.14 add dev-libs/libevent dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mike Gilbert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-14 19:55 UTC by Darko Luketic
Modified: 2015-08-14 23:44 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 Darko Luketic 2015-08-14 19:55:16 UTC
quote from the mailing list:

---
The IKE daemon now
uses libevent-2 and retransmission timers have been reduced from 20
seconds to 0.5 seconds (tunable by the new options retransmit-timeout=
and retransmit-interval=.
---

I have just added

        dev-libs/libevent

to COMMON_DEPEND

and it compiled.

COMMON_DEPEND="
        dev-libs/gmp:0=
        dev-libs/nspr
        dev-libs/libevent
        caps? ( sys-libs/libcap-ng )
        curl? ( net-misc/curl )
        dnssec? ( net-dns/unbound net-libs/ldns )
        ldap? ( net-nds/openldap )
        pam? ( sys-libs/pam )
"

If you don't do this, compilation fails

In file included from /var/tmp/portage/net-misc/libreswan-3.14/work/libreswan-3.14/programs/pluto/demux.h:21:0,
                 from /var/tmp/portage/net-misc/libreswan-3.14/work/libreswan-3.14/programs/pluto/connections.c:60:
/var/tmp/portage/net-misc/libreswan-3.14/work/libreswan-3.14/programs/pluto/server.h:21:52: fatal error: event2/event.h: No such file or directory
 #include <event2/event.h> /* from libevent devel */
                                                    ^
compilation terminated.
distcc[21381] ERROR: compile (null) on localhost failed
../../../mk/depend.mk:28: recipe for target 'connections.o' failed
make[3]: *** [connections.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from /var/tmp/portage/net-misc/libreswan-3.14/work/libreswan-3.14/programs/pluto/demux.h:21:0,
                 from /var/tmp/portage/net-misc/libreswan-3.14/work/libreswan-3.14/programs/pluto/initiate.c:58:
/var/tmp/portage/net-misc/libreswan-3.14/work/libreswan-3.14/programs/pluto/server.h:21:52: fatal error: event2/event.h: No such file or directory
 #include <event2/event.h> /* from libevent devel */
                                                    ^
compilation terminated.
distcc[21392] ERROR: compile (null) on localhost failed
../../../mk/depend.mk:28: recipe for target 'initiate.o' failed
make[3]: *** [initiate.o] Error 1
In file included from /var/tmp/portage/net-misc/libreswan-3.14/work/libreswan-3.14/programs/pluto/demux.h:21:0,
                 from /var/tmp/portage/net-misc/libreswan-3.14/work/libreswan-3.14/programs/pluto/terminate.c:49:
/var/tmp/portage/net-misc/libreswan-3.14/work/libreswan-3.14/programs/pluto/server.h:21:52: fatal error: event2/event.h: No such file or directory
 #include <event2/event.h> /* from libevent devel */
                                                    ^
compilation terminated.
distcc[21408] ERROR: compile (null) on localhost failed
../../../mk/depend.mk:28: recipe for target 'terminate.o' failed
make[3]: *** [terminate.o] Error 1
Note: Writing ipsec.secrets.5
test -r ../../OBJ.linux.amd64/programs/pluto/ipsec.secrets.5
Note: Writing ipsec_pluto.8
Note: Writing pluto.8 (soelim stub)
test -r ../../OBJ.linux.amd64/programs/pluto/ipsec_pluto.8
In file included from /var/tmp/portage/net-misc/libreswan-3.14/work/libreswan-3.14/programs/pluto/demux.h:21:0,
                 from /var/tmp/portage/net-misc/libreswan-3.14/work/libreswan-3.14/programs/pluto/pending.c:47:
/var/tmp/portage/net-misc/libreswan-3.14/work/libreswan-3.14/programs/pluto/server.h:21:52: fatal error: event2/event.h: No such file or directory
 #include <event2/event.h> /* from libevent devel */
                                                    ^
compilation terminated.
Comment 1 Mike Gilbert gentoo-dev 2015-08-14 23:44:29 UTC
Fixed in git, thanks.