On 21 July, bapt@FreeBSD.org committed version 4.6.5_4 of math/gnuplot, with the comment "Switch to wx 3.0" But this switch had already been undone on 17 April 2014 when 4.6.5_2 was committed, because "gnuplot is apparently not ready to work with newer versions" of wx than 2.8. This is the subject of bug report https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=188628 . That bug was closed when gnuplot was set back to requiring wx 2.8. I am now seeing gnuplot crashing just as it was before 4.6.5_2 got committed. The program builds and installs fine, but any attempt to plot while "wxt" is the selected terminal type (it is the default) will cause crashes: > gnuplot G N U P L O T Version 4.6 patchlevel 5 last modified February 2014 Build System: FreeBSD i386 Copyright (C) 1986-1993, 1998, 2004, 2007-2014 Thomas Williams, Colin Kelley and many others gnuplot home: http://www.gnuplot.info faq, bugs, etc: type "help FAQ" immediate help: type "help" (plot window: hit 'h') Terminal type set to 'wxt' gnuplot> plot x**2 ./src/gtk/dcclient.cpp(2043): assert "m_window" failed in DoGetSize(): GetSize() doesn't work without window [in thread 4f9dbc00] [xcb] Unknown request in queue while dequeuing [xcb] Most likely this is a multi-threaded client and XInitThreads has not been called [xcb] Aborting, sorry about that. Assertion failed: (!xcb_xlib_unknown_req_in_deq), function dequeue_pending_request, file xcb_io.c, line 179. Abort trap: 6 (core dumped) The fix is trivial. Change the line "USE_WX= 3.0" back to "USE_WX= 2.8" (reverting one of the changes made in the most recent commit). Doing so restores gnuplot to proper function with wx.
over to maintainer
A commit references this bug: Author: glewis Date: Sat Jul 26 15:49:51 UTC 2014 New revision: 362977 URL: http://svnweb.freebsd.org/changeset/ports/362977 Log: . Revert WX version to 2.8 and add a comment about not updating it to 3.x since that breaks. PR: 192121 Changes: head/math/gnuplot/Makefile
I've reverted the change and added a comment to try and prevent this happening in future. Thanks for the report!