Date: Thu, 18 Nov 2010 18:11:12 GMT From: Steve Cochran <steve@more.net> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/152374: /usr/ports/net-mgmt/py-yapsnmp fails Message-ID: <201011181811.oAIIBCb7024692@www.freebsd.org> Resent-Message-ID: <201011181820.oAIIK8XF033315@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011181811.oAIIBCb7024692>