Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Mar 2019 01:01:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 236169] devel/googletest isn't compiling with pthreads support
Message-ID:  <bug-236169-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236169

            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@FreeBSD.org
          Reporter: ngie@FreeBSD.org
             Flags: maintainer-feedback?(jbeich@FreeBSD.org)
          Assignee: jbeich@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=20

[ 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=20
[=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D] 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
[=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D] 1 test from 1 test case ran. (0 ms total)
[  PASSED  ] 1 test.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236169-7788>