Bug 202533

Summary: graphics/graphviz broken on 10.2 and 11.0: Unable to find pthread_mutexattr_setkind_np versioned symbol. Aborting.
Product: Ports & Packages Reporter: Anton Shterenlikht <as>
Component: Individual Port(s)Assignee: Dirk Meyer <dinoex>
Status: Closed Unable to Reproduce    
Severity: Affects Only Me Flags: dinoex: maintainer-feedback-
Priority: ---    
Version: Latest   
Hardware: amd64   
OS: Any   

Description Anton Shterenlikht 2015-08-20 21:26:33 UTC
$ dot -Tps flow.gv
Format: "ps" not recognized. Use one of:

Trying to reinstall via pkg:

# pkg install graphviz
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        graphviz: 2.38.0_8

The process will require 65 MiB more space.
4 MiB to be downloaded.

Proceed with this action? [y/N]: y
Fetching graphviz-2.38.0_8.txz: 100%    4 MiB   1.2MB/s    00:04    
Checking integrity... done (0 conflicting)
[1/1] Installing graphviz-2.38.0_8...
[1/1] Extracting graphviz-2.38.0_8: 100%
Unable to find pthread_mutexattr_setkind_np versioned symbol. Aborting.
Abort trap (core dumped)
#

On 10.2-release graphviz works fine.
Comment 1 Dirk Meyer freebsd_committer freebsd_triage 2015-08-24 18:06:53 UTC
looks like one of the dependencies is out of sync.
Comment 2 Anton Shterenlikht 2015-09-21 07:17:40 UTC
I now get this error also on 10.2-RELEASE #0 r286666:

dot -Tps flow.gv > flow.eps
Unable to find pthread_mutexattr_setkind_np versioned symbol. Aborting.
*** Signal 6

Note the same problem is reported by others:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202944

Deinstalling/reinstalling graphviz gives:

[1/1] Installing graphviz-2.38.0_7...
[1/1] Extracting graphviz-2.38.0_7: 100%
Unable to find pthread_mutexattr_setkind_np versioned symbol. Aborting.
Abort trap (core dumped)

pkg check -srda does not show any problems.

Please help
Comment 3 Dirk Meyer freebsd_committer freebsd_triage 2015-09-26 19:35:27 UTC
some of your packages is out of sync.
This might help.

pkg upgrade -f graphviz