Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Apr 2007 21:13:16 +0400 (MSD)
From:      Alexandre Snarskii <snar@eltel.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Alexandre Snarskii <snar@eltel.net>
Subject:   ports/111540: net-mgmt/cflowd fix
Message-ID:  <200704131713.l3DHDGL0037883@fri.eltel.net>
Resent-Message-ID: <200704131740.l3DHe9TV005702@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         111540
>Category:       ports
>Synopsis:       net-mgmt/cflowd fix
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 13 17:40:08 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Alexandre Snarskii
>Release:        FreeBSD 6.2-PRERELEASE i386
>Organization:
Eltel JSC
>Environment:
System: FreeBSD fri.eltel.net 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #1: Sun Oct 1 22:18:04 MSD 2006 root@fri.eltel.net:/usr/obj/usr/src/sys/FRI i386

>Description:
	cflowd (ports/net-mgmt/cflowd) marked as BROKEN=Does not compile. 
>How-To-Repeat:
	cd /usr/port/net-mgmt/cflowd ; make 
>Fix:
    Cflowd does not compile because it required to be built by g++295,
	and it depends on c++ library from arts++ (ports/net-mgmt/arts++),
	which is compiled by default g++ (3.4.6 in my case). And, as C++
	name mangling changed from gcc2 to gcc3 - one compiler is just unable
	to find exported names mangled my other one.

	So, the fix for cflowd problem is really simple - just add 
	USE_GCC=2.95 to arts++ Makefile. 

	Of course, this fix broke all other arts++ dependencies, which does not 
	have USE_GCC=2.95 in their Makefiles, but i'm not able to find any
	other port depending on arts++, so, probably, this fix is safe enough.

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704131713.l3DHDGL0037883>