From owner-freebsd-ports@FreeBSD.ORG Fri Jun 13 15:24:14 2014 Return-Path: Delivered-To: ports@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 588CA9F7; Fri, 13 Jun 2014 15:24:14 +0000 (UTC) Received: from cargobay.net (cargobay.net [162.220.58.155]) by mx1.freebsd.org (Postfix) with ESMTP id 354D026D6; Fri, 13 Jun 2014 15:24:13 +0000 (UTC) Received: from [192.168.0.6] (unknown [65.35.132.177]) by cargobay.net (Postfix) with ESMTPSA id 265CAF7B; Fri, 13 Jun 2014 15:18:45 +0000 (UTC) Message-ID: <539B1799.9090807@ccsys.com> Date: Fri, 13 Jun 2014 11:24:09 -0400 From: "Chad J. Milios" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Ryan Steinmetz Subject: Re: net-mgmt/net-snmp build error on 9.2 References: <539AF3B3.8020901@ccsys.com> <20140613141249.GA82135@exodus.zi0r.com> In-Reply-To: <20140613141249.GA82135@exodus.zi0r.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2014 15:24:14 -0000 root@nuos-lab:/usr/ports/net-mgmt/net-snmp # more /etc/make.conf CPUTYPE?=core2 NO_WARNING_PKG_INSTALL_EOL=yes DEFAULT_VERSIONS= perl5=5.18 php=55 APACHE_PORT=www/apache24 WITH_BDB_VER=48 WITH_PGSQL_VER=93 WITH_MYSQL_VER=56 WITH_NEW_XORG=yes root@nuos-lab:/usr/ports/net-mgmt/net-snmp # grep PORTREV Makefile PORTREVISION= 9 On 6/13/2014 10:12 AM, Ryan Steinmetz wrote: > What's the PORTREVISION of your net-snmp port? Do you have anything in > /etc/make.conf? > > -r > > On (06/13/14 08:50), Chad J. Milios wrote: >> I have pkg-1.2.7_3 installed and unused (FYI, I need pkg_tools support >> on these systems and am not prepared to make the transition to pkgng >> until sometime between now and the pkg_tools EOL). pkg-1.2.7_3 was >> pulled in as a dependency for net-mgmt/net-snmp and pkg has no other >> dependents on my system. Is there something special I need to do to get >> this to work? >> >> There is a comment in the makefile that "pkg-1.2 cannot handle this >> dependency well." So then why is the dependency placed on pkg and not >> pkg-devel? >> >> Thank you for any help you have to offer. >> >> ... >> building 'netsnmp.client_intf' extension >> creating build/temp.freebsd-9.2-RELEASE-p3-amd64-2.7 >> creating build/temp.freebsd-9.2-RELEASE-p3-amd64-2.7/netsnmp >> cc -DNDEBUG -O2 -pipe -march=core2 -I/usr/local/include >> -fno-strict-aliasing -fPIC >> -I/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.7.2/include >> -I/usr/local/include/python2.7 -c netsnmp/client_intf.c -o >> build/temp.freebsd-9.2-RELEASE-p3-amd64-2.7/netsnmp/client_intf.o >> cc -shared -pthread -Wl,-rpath,/usr/lib:/usr/local/lib -O2 -pipe >> -march=core2 -I/usr/local/include -fno-strict-aliasing >> build/temp.freebsd-9.2-RELEASE-p3-amd64-2.7/netsnmp/client_intf.o >> -L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.7.2/agent/.libs >> -L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.7.2/snmplib/.libs -lm >> -lkvm -ldevstat -lpkg -lnetsnmp -lcrypto -lelf -lssp_nonshared -o >> build/lib.freebsd-9.2-RELEASE-p3-amd64-2.7/netsnmp/client_intf.so >> /usr/bin/ld: cannot find -lpkg >> error: command 'cc' failed with exit status 1 >> *** [pythonmodules] Error code 1 >> >> Stop in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.7.2. >> *** [do-build] Error code 1 >> >> Stop in /usr/ports/net-mgmt/net-snmp. >> >