From owner-freebsd-ports@FreeBSD.ORG Fri Jun 13 14:12:52 2014 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F075F40E for ; Fri, 13 Jun 2014 14:12:52 +0000 (UTC) Received: from exodus.zi0r.com (exodus.zi0r.com [71.179.14.195]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "exodus.zi0r.com", Issuer "Gandi Standard SSL CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C65CD205C for ; Fri, 13 Jun 2014 14:12:52 +0000 (UTC) Received: from exodus.zi0r.com (localhost [127.0.0.1]) by exodus.zi0r.com (Postfix) with ESMTP id 2DE3F3A09C; Fri, 13 Jun 2014 10:12:51 -0400 (EDT) X-Virus-Scanned: amavisd-new at zi0r.com Received: from exodus.zi0r.com ([127.0.0.1]) by exodus.zi0r.com (exodus.zi0r.com [127.0.0.1]) (amavisd-new, port 10026) with LMTP id X6aPqN77IUJf; Fri, 13 Jun 2014 10:12:50 -0400 (EDT) Received: from exodus.zi0r.com (syn.zi0r.com [71.179.14.194]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by exodus.zi0r.com (Postfix) with ESMTPSA id 929CA3A099; Fri, 13 Jun 2014 10:12:50 -0400 (EDT) Date: Fri, 13 Jun 2014 10:12:49 -0400 From: Ryan Steinmetz To: "Chad J. Milios" Subject: Re: net-mgmt/net-snmp build error on 9.2 Message-ID: <20140613141249.GA82135@exodus.zi0r.com> References: <539AF3B3.8020901@ccsys.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <539AF3B3.8020901@ccsys.com> User-Agent: Mutt/1.5.23 (2014-03-12) 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 14:12:53 -0000 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. > -- Ryan Steinmetz PGP: 9079 51A3 34EF 0CD4 F228 EDC6 1EF8 BA6B D028 46D7