ports/144833: print/hplip3: configure failed

Marcin Wisnicki mwisnicki+freebsd at gmail.com
Wed Mar 17 23:50:04 UTC 2010


>Number:         144833
>Category:       ports
>Synopsis:       print/hplip3: configure failed
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 17 23:50:03 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Marcin Wisnicki
>Release:        8.0-STABLE
>Organization:
>Environment:
FreeBSD ghost.pnet.one.pl 8.0-STABLE FreeBSD 8.0-STABLE #1: Fri Mar 12 16:16:49 CET 2010     root at ghost.pnet.one.pl:/home/obj/usr/src/sys/SERWER  i386

>Description:
As seen on pointyhat for FreeBSD >= 8.0 for some time now :(

At the end of configure:

checking for snmp_timeout in -lnetsnmp... no
checking for snmp_timeout in -lsnmp... no
configure: error: cannot find net/ucd-snmp support (or --disable-network-build)

Relevant part of config.log:

configure:18180: checking for snmp_timeout in -lnetsnmp
configure:18215: cc -o conftest -O2 -pipe -march=athlon-xp -fno-strict-aliasing -I/usr/local/include  -L/usr/local/lib -pthread conftest.c -lnetsnmp  -lcrypto  >&5
/usr/local/lib/libnetsnmp.so: undefined reference to `__stack_chk_fail_local'


Cause: same as ports/141238
Also relevant: ports/140791
>How-To-Repeat:
cd /usr/ports/print/hplip3; make
>Fix:
One of the following, in increasing order of complexity and correctness:
1. workaround in hplip3 by linking with -lssp_nonshared as sugested in other pr - unfortunately I've tried it and it didn't help
2. compile hplip3 with -fstack-protector
3. fix netsnmp as in ports/141238
4. figure out why this symbol isn't picked up from libc even though it's present there, then fix base system

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



More information about the freebsd-ports-bugs mailing list