[kea-dev] Building KEA on OpenBSD
Mike
the.lists at mgm51.com
Sun Dec 6 17:30:30 UTC 2015
On 12/6/2015 12:02 PM, Mike wrote:
> On 12/6/2015 11:36 AM, Patrik Lundin wrote:
>> Hello,
>>
>> I am working on a OpenBSD port for KEA 0.9.2 and I have some questions.
>>
>> First of all, running tests currently fail, however it seems to be a
>> problem with the tests rather than the code being tested:
>> ===
>> [major snip]
>
>
> Last week I wrote a quick script (more of a sketch than a script) to
> download and build kea 0.9.2 on OpenBSD 5.8 current. All the tests
> pass. Specifically, here's the test that fails in your test:
>
> START TEST keactrl.start_all_servers_no_verbose_test
> Creating Kea configuration file:
> /home/kea-build/kea-0.9.2/src/bin/keactrl/tests/test_config.json.
> Creating keactrl configuration file:
> /home/kea-build/kea-0.9.2/src/bin/keactrl/tests/keactrl_test.conf.
> Kea log will be stored in
> /home/kea-build/kea-0.9.2/src/bin/keactrl/tests/test.log.
> Starting Kea: /home/kea-build/kea-0.9.2/src/bin/keactrl/keactrl start -c
> /home/kea-build/kea-0.9.2/src/bin/keactrl/tests/keactrl_test.conf -s all
> INFO/keactrl: Starting kea-dhcp4 -c
> /home/kea-build/kea-0.9.2/src/bin/keactrl/tests/test_config.json
> INFO/keactrl: Starting kea-dhcp6 -c
> /home/kea-build/kea-0.9.2/src/bin/keactrl/tests/test_config.json
> INFO/keactrl: Starting kea-dhcp-ddns -c
> /home/kea-build/kea-0.9.2/src/bin/keactrl/tests/test_config.json
> INFO/test_lib: wait_for_message DHCP6_CONFIG_COMPLETE: ..
> INFO/test_lib: wait_for_message DHCP4_CONFIG_COMPLETE: .
> INFO/test_lib: wait_for_message DCTL_CONFIG_COMPLETE: .
> Stopping Kea: /home/kea-build/kea-0.9.2/src/bin/keactrl/keactrl stop -c
> /home/kea-build/kea-0.9.2/src/bin/keactrl/tests/keactrl_test.conf
> INFO/keactrl: Stopping kea-dhcp4...
> INFO/keactrl: Stopping kea-dhcp6...
> INFO/keactrl: Stopping kea-dhcp-ddns...
> INFO/test_lib: wait_for_message DHCP6_SHUTDOWN: .
> INFO/test_lib: wait_for_message DHCP4_SHUTDOWN: .
> INFO/test_lib: wait_for_message DHCP_DDNS_SHUTDOWN: .
> INFO/test_lib: wait_for_server_down kea-dhcp: .
> PASSED keactrl.start_all_servers_no_verbose_test
>
>
>
>
> I have not yet had the chance to set up an environment to see if the kea
> I build actually works beyond passing the tests. :) I hope to get there
> in the next couple of weeks...
>
>
>
> If it helps, here is the script I use:
> [snip]
In case it matters, here are the packages and their versions I had
installed when I built kea (some were installed for reasons other than kea):
% pkg_info
autoconf-2.69p1 automatically configure source code on many Un*x
platforms
automake-1.15 GNU Standards-compliant Makefile generator
boost-1.58.0p0 free peer-reviewed portable C++ source libraries
bzip2-1.0.6p7 block-sorting file compressor, unencumbered
curl-7.45.0p0 get files from FTP, Gopher, HTTP or HTTPS servers
cvsps-2.1p0 generate patchsets from CVS repositories
drill-1.6.17 DNS debugger
echoping-5.2.0 test performance of a remote TCP service
gettext-0.19.6 GNU gettext runtime libraries and programs
git-2.6.3 GIT - Tree History Storage Tool
gmake-4.1p0 GNU make
gtar-1.28p1 GNU version of the traditional tape archiver
gtest-1.4.0p2 C++ unit test framework
iwn-firmware-5.11p1 firmware binary images for iwn(4) driver
libffi-3.2.1 Foreign Function Interface
libiconv-1.14p3 character set conversion library
libidn-1.32 internationalized string handling
libldns-1.6.17p1 DNS library modelled after Net::DNS
libltdl-2.4.2p1 GNU libtool system independent dlopen wrapper
libtool-2.4.2p0 generic shared library support script
log4cplus-1.1.2 logging API for C++
logtail-1.3.17 mail anomalies in the system logfiles to the
administrator
metaauto-1.0p1 wrapper for gnu auto*
nano-2.4.2 Pico editor clone with enhancements
nghttp2-1.4.0 library for HTTP/2
p5-Error-0.17024 error/exception handling in an OO-ish way
quirks-2.161 exceptions to pkg_add rules
rsync-3.1.1 mirroring/synchronization over low bandwidth links
sipcalc-1.1.6 ipv4 and ipv6 subnet calculator
smartmontools-6.4 control and monitor storage systems using SMART
tcsh-6.19.00 extended C-shell with many useful features
vnstat-1.14p4 network traffic monitor
xz-5.2.2 LZMA compression and decompression tools
More information about the kea-dev
mailing list