From owner-svn-ports-all@freebsd.org Tue Jan 12 21:48:30 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 48BF6A80084; Tue, 12 Jan 2016 21:48:30 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from gw.catspoiler.org (unknown [IPv6:2602:304:b010:ef20::f2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gw.catspoiler.org", Issuer "gw.catspoiler.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 2B2EF1963; Tue, 12 Jan 2016 21:48:30 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.15.2/8.15.2) with ESMTP id u0CLmJvF087237; Tue, 12 Jan 2016 13:48:23 -0800 (PST) (envelope-from truckman@FreeBSD.org) Message-Id: <201601122148.u0CLmJvF087237@gw.catspoiler.org> Date: Tue, 12 Jan 2016 13:48:19 -0800 (PST) From: Don Lewis Subject: Re: svn commit: r405907 - head/Mk To: stephen@FreeBSD.org cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org In-Reply-To: <201601121956.u0CJuDGY042099@repo.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jan 2016 21:48:30 -0000 On 12 Jan, Stephen Montgomery-Smith wrote: > Author: stephen > Date: Tue Jan 12 19:56:13 2016 > New Revision: 405907 > URL: https://svnweb.freebsd.org/changeset/ports/405907 > > Log: > - Svn revision 405533 upgraded /math/octave to version 4.0.0. This version > of octave segfaults with FreeBSD. Many of the octave-forge-* ports don't > build, and those that build don't work. So they are all being marked > broken until it is fixed. It's actually octave-gui that is segfaulting. The cause is that the executable is bringing in both libstdc++ and libc++, and the reason for that is likely the addition of USE_GCC=yes to the port Makefile that was done at the same time as the version upgrade. I have no idea what happens if USE_GCC=yes is removed from the Makefile. there may be problems with compiling the source with the combination of clang and gfortran. I'll give it a try, though. Another possibility would be do disable the gui. Looking at configure, there is a --disable-gui option that we don't expose as a port option. I don't know what libraries are needed by the gui, but of all the libraries in LIB_DEPENDS, libfltk.so, libftgl.so, and libqscintilla2.so are the ones that are linked to libc++.so. Unfortunately, "octave --no-gui" doesn't work. It still tries to run octave-gui and dies.