On Tue, Nov 15, 2016 at 10:25:05AM +0000, Stuart Henderson wrote: > On 2016/11/15 11:05, Landry Breuil wrote: > > On Mon, Nov 14, 2016 at 08:34:34PM +0300, Pavel Korovin wrote: > > > Sorry, forgot to cvs delete before diff. > > > The correct diff for sysutils/collectd attached. > > > > Nice work! If someone can ok the riemann-c client port, i'll try to test > > & commit this in the coming days. > > > > Landry > > > > I'm seeing this from port-lib-depends-check, > > riemann-c-client-1.9.1(sysutils/riemann-c-client): > Extra: m.10 stdc++.57 > > Tests need a patch-Makefile_am to remove -ldl, but then they seem to hang > burning cpu without making any syscalls: > > $OpenBSD$ > --- Makefile.am.orig Tue Nov 15 10:18:56 2016 > +++ Makefile.am Tue Nov 15 10:19:10 2016 > @@ -83,7 +83,7 @@ AM_TESTS_ENVIRONMENT = \ > TESTS_ENVIRONMENT ?= ${AM_TESTS_ENVIRONMENT} > > tests/check_%: CFLAGS += ${CHECK_CFLAGS} > -tests/check_%: LDADD += ${CHECK_LIBS} -ldl > +tests/check_%: LDADD += ${CHECK_LIBS} > tests/check_%: LDFLAGS += -no-install > > check_PROGRAMS = ${TESTS}
Finally got around testing this, and saw the same things. But if you run the check_libriemann manually, you get this: $ktrace tests/check_libriemann Running suite(s): Riemann C client library tests 97%: Checks: 37, Failures: 0, Errors: 1 tests/check_client.c:29:E:Client:test_riemann_client_connect:0: (after this point) Test timeout expired So something about fd redirections or workdir ? Is sysutils/ the right directory for such a client library ? Landry