ports/152374: /usr/ports/net-mgmt/py-yapsnmp fails
Steve Cochran
steve at more.net
Thu Nov 18 18:20:08 UTC 2010
>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 at 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:
More information about the freebsd-ports-bugs
mailing list