[Bug 236169] devel/googletest isn't compiling with pthreads support
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Mar 3 01:01:43 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236169
Bug ID: 236169
Summary: devel/googletest isn't compiling with pthreads support
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: jbeich at FreeBSD.org
Reporter: ngie at FreeBSD.org
Flags: maintainer-feedback?(jbeich at FreeBSD.org)
Assignee: jbeich at FreeBSD.org
gtest, compiled from ports, is looking for libpthread, but not compiling
pthreads support into the library, resulting in something like the following
when a testcase is run:
$ ./expect_nonfatal_failure_demo
[ FATAL ] ./include/gtest/internal/gtest-port.h:2214:: pthread_key_create(&key,
&DeleteThreadLocalValue)failed with error 78
Upstream's configure.ac is broken. Switching to their cmake infrastructure will
unbreak this (sending out a review for this, soon).
$ ./expect_nonfatal_failure_demo
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from FailingTest
[ RUN ] FailingTest.AlwaysFails
[ OK ] FailingTest.AlwaysFails (0 ms)
[----------] 1 test from FailingTest (0 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (0 ms total)
[ PASSED ] 1 test.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list