From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jun 24 14:29:17 2014 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 649BCC39 for ; Tue, 24 Jun 2014 14:29:17 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4AC0B2FDF for ; Tue, 24 Jun 2014 14:29:17 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s5OETHBt001806 for ; Tue, 24 Jun 2014 15:29:17 +0100 (BST) (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 191342] New: net-mgmt/net-snmp will not build on 10.0 Date: Tue, 24 Jun 2014 14:29:17 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports Tree X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: paul@dokas.name X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2014 14:29:17 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191342 Bug ID: 191342 Summary: net-mgmt/net-snmp will not build on 10.0 Product: Ports Tree Version: Latest Hardware: Any OS: Any Status: Needs Triage Severity: Affects Many People Priority: Normal Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: paul@dokas.name Attempting to build net-mgmt/net-snmp on a FreeBSD 10.0 amd64 host does not work: ,,, libtool: compile: cc -I../include -I. -I../agent -I../agent/helpers -I../agent/mibgroup -I../snmplib -I/usr/local/include -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -O2 -fno-strict-aliasing -pipe -I/usr/local/include -D_WANT_IFADDR -Ufreebsd10 -Dfreebsd10=freebsd10 -DAPPLLIB_EXP=/usr/local/lib/perl5/5.16/BSDPAN -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -I/usr/local/lib/perl5/5.16/mach/CORE -c snmpusm.c -o snmpusm.o >/dev/null 2>&1 /bin/sh ../libtool --mode=link cc -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -O2 -fno-strict-aliasing -pipe -I/usr/local/include -D_WANT_IFADDR -Ufreebsd10 -Dfreebsd10=freebsd10 -DAPPLLIB_EXP="/usr/local/lib/perl5/5.16/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -I/usr/local/lib/perl5/5.16/mach/CORE -o snmpusm snmpusm.lo -L/usr/local/lib -lm -lkvm -ldevstat -lpkg -L/usr/local/lib ../snmplib/libnetsnmp.la -lelf -lssp_nonshared libtool: link: cc -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -O2 -fno-strict-aliasing -pipe -I/usr/local/include -D_WANT_IFADDR -Ufreebsd10 -Dfreebsd10=freebsd10 -DAPPLLIB_EXP=/usr/local/lib/perl5/5.16/BSDPAN -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -I/usr/local/lib/perl5/5.16/mach/CORE -o .libs/snmpusm .libs/snmpusm.o -L/usr/local/lib -lm -lkvm -ldevstat -lpkg ../snmplib/.libs/libnetsnmp.so -lelf -lssp_nonshared -Wl,-rpath -Wl,/usr/local/lib /usr/bin/ld: @: invalid DSO for symbol `BN_bn2bin' definition /usr/local/lib/libcrypto.so.8: could not read symbols: Bad value cc: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. make[3]: stopped in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.7.2/apps *** Error code 1 Stop. make[2]: stopped in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.7.2 *** Error code 1 Stop. make[1]: stopped in /usr/ports/net-mgmt/net-snmp *** Error code 1 Stop. make: stopped in /usr/ports/net-mgmt/net-snmp The problem seems to be that -lcrypto is missing from the apps/Makefile. Adding it causes net-mgmt/net-snmp to build correctly. How-To-Repeat: Attempt to build net-mgmt/net-snmp on a 10.0 machines Fix: *** ./work/net-snmp-5.7.2/apps/Makefile.in Tue Jun 24 14:24:11 2014 --- ./work/net-snmp-5.7.2/apps/Makefile.in.orig Tue Oct 9 22:28:58 2012 *************** *** 85,91 **** MYSQL_INCLUDES = @MYSQL_INCLUDES@ VAL_LIBS = @VAL_LIBS@ ! LIBS = $(USELIBS) $(VAL_LIBS) -lcrypto @LIBS@ PERLLDOPTS_FOR_APPS = @PERLLDOPTS_FOR_APPS@ PERLLDOPTS_FOR_LIBS = @PERLLDOPTS_FOR_LIBS@ --- 85,91 ---- MYSQL_INCLUDES = @MYSQL_INCLUDES@ VAL_LIBS = @VAL_LIBS@ ! LIBS = $(USELIBS) $(VAL_LIBS) @LIBS@ PERLLDOPTS_FOR_APPS = @PERLLDOPTS_FOR_APPS@ PERLLDOPTS_FOR_LIBS = @PERLLDOPTS_FOR_LIBS@ -- You are receiving this mail because: You are the assignee for the bug.