From owner-freebsd-questions@FreeBSD.ORG Tue Dec 9 19:04:18 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EFC125B8 for ; Tue, 9 Dec 2014 19:04:18 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AD2DC643 for ; Tue, 9 Dec 2014 19:04:18 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XyQ4w-0002ev-CX for freebsd-questions@freebsd.org; Tue, 09 Dec 2014 20:04:10 +0100 Received: from c-76-28-97-53.hsd1.ct.comcast.net ([76.28.97.53]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Dec 2014 20:04:10 +0100 Received: from gyliamos by c-76-28-97-53.hsd1.ct.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Dec 2014 20:04:10 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Will Parsons Subject: pkg breakage after updating ports tree Date: Tue, 9 Dec 2014 19:03:58 +0000 (UTC) Lines: 44 Message-ID: Reply-To: gyliamos@gmail.com X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-76-28-97-53.hsd1.ct.comcast.net User-Agent: slrn/1.0.1 (FreeBSD) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Dec 2014 19:04:19 -0000 After doing "portsnap fetch update" on a 9.3-RELEASE system, I find that updating ports is broken because of dependencies on pkg. The attempt to update pkg-1.3.8_3 to pkg-1.4.0 results in: ======================================================================== ... cc1: warnings being treated as errors set.c: In function 'exec_set': set.c:103: warning: 'depfield' may be used uninitialized in this function set.c:103: warning: 'field' may be used uninitialized in this function *** [pkg-set.o] Error code 1 Stop in /usr/ports/ports-mgmt/pkg/work/pkg-1.4.0/src. *** [all-recursive] Error code 1 Stop in /usr/ports/ports-mgmt/pkg/work/pkg-1.4.0. *** [all] Error code 1 Stop in /usr/ports/ports-mgmt/pkg/work/pkg-1.4.0. *** [do-build] Error code 1 Stop in /usr/ports/ports-mgmt/pkg. *** [/usr/ports/ports-mgmt/pkg/work/.build_done.pkg._usr_local] Error code 1 Stop in /usr/ports/ports-mgmt/pkg. ===>>> make build failed for ports-mgmt/pkg ===>>> Aborting update ===>>> Update for pkg-1.3.8_3 failed ===>>> Aborting update ======================================================================== This is using portmaster, but running make from the ports directory is similar. (As a side question, "which pkg" shows /usr/sbin/pkg. Why are there dependencies on the version of pkg in ports?) What can I do to fix this? -- Will