From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Nov 18 18:20:08 2010 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 A7D061065674 for ; Thu, 18 Nov 2010 18:20:08 +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 6CDE88FC1A for ; Thu, 18 Nov 2010 18:20:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oAIIK8g6033316 for ; Thu, 18 Nov 2010 18:20:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oAIIK8XF033315; Thu, 18 Nov 2010 18:20:08 GMT (envelope-from gnats) Resent-Date: Thu, 18 Nov 2010 18:20:08 GMT Resent-Message-Id: <201011181820.oAIIK8XF033315@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, Steve Cochran Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2BC4C106564A for ; Thu, 18 Nov 2010 18:11: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 1D40F8FC1A for ; Thu, 18 Nov 2010 18:11: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 oAIIBCfm024693 for ; Thu, 18 Nov 2010 18:11:12 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id oAIIBCb7024692; Thu, 18 Nov 2010 18:11:12 GMT (envelope-from nobody) Message-Id: <201011181811.oAIIBCb7024692@www.freebsd.org> Date: Thu, 18 Nov 2010 18:11:12 GMT From: Steve Cochran To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/152374: /usr/ports/net-mgmt/py-yapsnmp fails 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: Thu, 18 Nov 2010 18:20:08 -0000 >Number: 152374 >Category: ports >Synopsis: /usr/ports/net-mgmt/py-yapsnmp fails >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Nov 18 18:20:08 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Steve Cochran >Release: 8.1-RELEASE (i386) >Organization: >Environment: FreeBSD merry.netsys.more.net 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: This port fails to build. ./configure fails, with a message in config.log that symbol __stack_chk_fail_local was not found. I Googled for this and found mention of other ports being broken in a similar way, apparently related to ProPolice. Incidentally, I also have access to an amd64 box (also 8.1R) and the port compiles on it with no issues. >How-To-Repeat: On an 8.1R i386 system: cd /usr/ports/net-mgmt/py-yapsnmp make >Fix: I added -fstack-protector to the CPPFLAGS in /usr/ports/net-mgmt/py-yapsnmp/Makefile. It compiled fine at that point. .. CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -I${PYTHON_INCLUDEDIR} -fstack-protector" \ LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" .. >Release-Note: >Audit-Trail: >Unformatted: