From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Sep 25 01:10:02 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA48B106566C for ; Fri, 25 Sep 2009 01:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C71628FC1D for ; Fri, 25 Sep 2009 01:10:02 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n8P1A2aw053812 for ; Fri, 25 Sep 2009 01:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n8P1A2qk053811; Fri, 25 Sep 2009 01:10:02 GMT (envelope-from gnats) Resent-Date: Fri, 25 Sep 2009 01:10:02 GMT Resent-Message-Id: <200909250110.n8P1A2qk053811@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, ohata Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 166DC106566C for ; Fri, 25 Sep 2009 01:01:13 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 051048FC08 for ; Fri, 25 Sep 2009 01:01:13 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n8P11Cij017959 for ; Fri, 25 Sep 2009 01:01:12 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n8P11CoG017958; Fri, 25 Sep 2009 01:01:12 GMT (envelope-from nobody) Message-Id: <200909250101.n8P11CoG017958@www.freebsd.org> Date: Fri, 25 Sep 2009 01:01:12 GMT From: ohata To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/139125: octave build fails due to gcc update from 43 to 44 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Sep 2009 01:10:03 -0000 >Number: 139125 >Category: ports >Synopsis: octave build fails due to gcc update from 43 to 44 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Sep 25 01:10:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: ohata >Release: i386 7.2-stable >Organization: Mitsubishi >Environment: 7.2-STABLE FreeBSD 7.2-STABLE #25: Wed Sep 2 09:20:35 JST 2009 root@aaa:/usr/obj/usr/src/sys/VM7 i386 >Description: octave build fails due to gcc update from 43 to 44 /libexec/ld-elf.so.1: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.11 required by ./gendoc not found >How-To-Repeat: cd /usr/ports/math/octave make >Fix: quick recipe: add rpath to CFLAGS and CXXFLAGS as follows, --- /usr/ports/math/octave/Makefile 2009-09-22 05:25:33.000000000 +0900 +++ Makefile 2009-09-24 15:48:15.000000000 +0900 @@ -34,7 +34,7 @@ fltk:${PORTSDIR}/x11-toolkits/fltk \ GraphicsMagick.1:${PORTSDIR}/graphics/GraphicsMagick -BROKEN= does not build +#BROKEN= does not build USE_BZIP2= yes USE_PERL5_BUILD=yes @@ -79,8 +79,8 @@ INCLUDES= -I${LOCALBASE}/include MAKE_ENV+= CPPFLAGS="${CPPFLAGS} ${INCLUDES}" \ LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}" -CFLAGS+= ${INCLUDES} -CXXFLAGS+= ${INCLUDES} +CFLAGS+= ${INCLUDES} -Wl,-rpath,/usr/local/lib/gcc44 +CXXFLAGS+= ${INCLUDES} -Wl,-rpath,/usr/local/lib/gcc44 CPPFLAGS+= ${INCLUDES} CONFIGURE_ENV+= GPERF="${LOCALBASE}/bin/gperf" \ LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}" \ >Release-Note: >Audit-Trail: >Unformatted: