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. 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" .. How-To-Repeat: On an 8.1R i386 system: cd /usr/ports/net-mgmt/py-yapsnmp make
Responsible Changed From-To: freebsd-ports-bugs->arved Over to maintainer (via the GNATS Auto Assign Tool)
Responsible Changed From-To: arved->sylvio Hello Sylvio, The error message /usr/local/lib/libnetsnmp.so: undefined reference to `__stack_chk_fail_local' looks to me, as if there is something wrong with libnetsnmp on i386. Can you take a look at this?
Hi, Sorry, but I have not how to test it, because I'm without box FreeBSD. Regards, Sylvio 2010/11/19 <arved@freebsd.org>: > Synopsis: /usr/ports/net-mgmt/py-yapsnmp fails > > Responsible-Changed-From-To: arved->sylvio > Responsible-Changed-By: arved > Responsible-Changed-When: Fri Nov 19 12:23:18 UTC 2010 > Responsible-Changed-Why: > Hello Sylvio, > > The error message > /usr/local/lib/libnetsnmp.so: undefined reference to `__stack_chk_fail_lo= cal' > > looks to me, as if there is something wrong with libnetsnmp on i386. > Can you take a look at this? > > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=3D152374 > --=20 Regards, Sylvio Cesar=A0 =A0 =A0 =A0 =A0 =A0 =A0=A0 || FreeBSD Committer || Team mul= timedia@FreeBSD.org sylvio@FreeBSD.org=A0 || http://people.freebsd.org/~sylvio || http://www.scjamorim.org || http://www.freebsd.org "Tenho posto o Senhor continuamente diante de mim; porque Ele est=E1 =E0 minha m=E3o direita, n=E3o vacilarei. Portanto, alegre est=E1 o meu cora=E7=E3o". (Salmos 16:8) "Os olhos do SENHOR est=E3o sobre os justos, e os seus ouvidos atentos ao seu clamor". (Salmos 34:15)
State Changed From-To: open->closed Some patchs was update. Please test it.
State Changed From-To: closed->feedback Which patches are you referring too? I checked net-snmp and py-yapsnmp and could not see any patches. I tried to today, and the bug is still reproducible. I suggest disabling stack smash protection.
State Changed From-To: feedback->analyzed Ok, i will look into this.
Responsible Changed From-To: sylvio->arved
arved 2011-02-13 15:45:13 UTC FreeBSD ports repository Modified files: net-mgmt/py-yapsnmp Makefile Log: Add -fstack-protector to CPPFLAGS on i386/8.x to fix build. PR: 152374 Submitted by: sylvio Revision Changes Path 1.17 +7 -1 ports/net-mgmt/py-yapsnmp/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: analyzed->closed I committed the suggestion from sylvio, though i still think the root of the problem is somewhere else