Bug 202944 - graphics/graphviz 2.38.0_9 Error when update package
Summary: graphics/graphviz 2.38.0_9 Error when update package
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Dirk Meyer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-07 07:13 UTC by Łukasz
Modified: 2015-10-29 06:23 UTC (History)
1 user (show)

See Also:
dinoex: maintainer-feedback-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Łukasz 2015-09-07 07:13:10 UTC
When I update package graphics/graphviz to version 2.38.0_9 terminal displays error output "Unable to find pthread_mutexattr_setkind_np versioned symbol. Aborting. Abort trap".
Seems package install normally because Gimp runs and works ok.
Comment 1 Dirk Meyer freebsd_committer freebsd_triage 2015-09-26 19:37:44 UTC
do you use nvidia ?
then you need to build graphviz with nviada threads.

cd /usr/ports/graphics/graphviz && make config
cd /usr/ports/graphics/graphviz && make clean install
Comment 2 Łukasz 2015-09-27 07:58:40 UTC
(In reply to Dirk Meyer from comment #1)

Hi,
Yes, I use nvidia driver, I use binary packages too. I don't compile from sources.

Thanks for advice.
Comment 3 Anton Shterenlikht 2015-10-14 14:30:30 UTC
Compiling from ports, with nvidia threads enabled, I get:

===>   Registering installation for graphviz-2.38.0_9
Installing graphviz-2.38.0_9...
Warning: Could not load "/usr/local/lib/graphviz/libgvplugin_lasi.so.6" - file not found
Warning: Could not load "/usr/local/lib/graphviz/libgvplugin_lasi.so.6" - file not found

However, yes, after the installation graphviz
seems to work ok.
Comment 4 Anton Shterenlikht 2015-10-21 13:02:48 UTC
If adding nvidia treads option help, why not enable it by default.
Otherwise, manual work is required, and worse, one has to always
combine pkg with portmaster:


Proceed with this action? [y/N]: y
Fetching python27-2.7.10_1.txz: 100%   10 MiB  10.6MB/s    00:01    
Fetching openal-soft-1.16.0_3.txz: 100%  257 KiB 263.2kB/s    00:01    
Fetching graphviz-2.38.0_9.txz: 100%    4 MiB   4.4MB/s    00:01    
Checking integrity... done (0 conflicting)
[1/3] Upgrading python27 from 2.7.10 to 2.7.10_1...
[1/3] Extracting python27-2.7.10_1: 100%
[2/3] Upgrading openal-soft from 1.16.0_2 to 1.16.0_3...
[2/3] Extracting openal-soft-1.16.0_3: 100%
[3/3] Reinstalling graphviz-2.38.0_9...
[3/3] Extracting graphviz-2.38.0_9: 100%
Unable to find pthread_mutexattr_setkind_np versioned symbol. Aborting.
Abort trap (core dumped)
Comment 5 Dirk Meyer freebsd_committer freebsd_triage 2015-10-29 06:23:15 UTC
NVTHREADS are now default