From owner-freebsd-pkg@freebsd.org Thu May 26 16:26:08 2016 Return-Path: Delivered-To: freebsd-pkg@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8D064B4B79D for ; Thu, 26 May 2016 16:26:08 +0000 (UTC) (envelope-from sinister@gmail.com) Received: from mail-io0-x244.google.com (mail-io0-x244.google.com [IPv6:2607:f8b0:4001:c06::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 56FAC1D02; Thu, 26 May 2016 16:26:08 +0000 (UTC) (envelope-from sinister@gmail.com) Received: by mail-io0-x244.google.com with SMTP id m17so2468590ioi.3; Thu, 26 May 2016 09:26:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:from:to:cc:references:subject:date:mime-version :content-transfer-encoding; bh=TNU8wSOuNUEiyPOL0kIu9asxHk7fsbtuVBGBFvu6Qgo=; b=0EnQnWoMOYAI+iaaftFZB1BO3Aa2e0J4OKDwM4R8yJtei1s8mn0lbitpGe8A87GHuZ 6mgLmYhPdHi63gmCsRfRk0hhxwm0wUsUXbZ9muOEnvC46F3d46NmcRYvecoM+hQq48sD VEWwAunYnhPMgM1lAJfc497euzj4R2HNcwyoDvkS5SS6r68wh3xrsuUuV8aqHKjYEY/P ZLtLvqyN4gN5L8+m76/SuHmmh7bwWCKd12f+nt7CrrFJYpcBMIKMgBbuHA+NkfW6oYTA 5zaURdQPqxu9bgsDJx7K4LC/gf/CGw8Ao1fZHWITdTRS6fP4LGKev66KA/m7gNMpdgUT nDqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:from:to:cc:references:subject:date :mime-version:content-transfer-encoding; bh=TNU8wSOuNUEiyPOL0kIu9asxHk7fsbtuVBGBFvu6Qgo=; b=CTEnLtfD1Z1V0Zvh4bTJxrPRrZcFI1/568a/4cAFyxP2QygtqLbafv/t1E/z5681Dz morth/F7P/UAToiDHfO0V3/5CUCejLxTRspukccPDaOCbu3YlBl4ifJW20zgRl5Qi/WD oaCfNCjB/O4Azg76FTBmp0OSPVTituQZv1mhDA5WAebay5vAkhmCA1QPuUYuwjCtf39d fJWMb5UR2z29QS/X1j0Onv+vFykhuMqpa0FWJ31j2PE3PcA3WWd3B6aEqOOtdvBUv7Fo /K4YzdYbyuu195tWICc24nQyIGzDS8dBHOHTQsVPEgusGg1HMCiHaPUjdtDdfe7yImY3 1DNA== X-Gm-Message-State: ALyK8tLfk7dRVKJfCJZV60QvfnHmbXiKGR8gfWBzeDimue6Z9qwsd2AUy3PlkySpGYHgGw== X-Received: by 10.107.130.207 with SMTP id m76mr10414764ioi.137.1464279967614; Thu, 26 May 2016 09:26:07 -0700 (PDT) Received: from dts ([216.8.139.47]) by smtp.gmail.com with ESMTPSA id d8sm1294302igo.21.2016.05.26.09.26.06 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 26 May 2016 09:26:06 -0700 (PDT) Message-ID: <4F26584FDBF2483DA114D2510C59BE05@dts> From: "Sin" To: "Brad Davis" Cc: "Brad Davis" , References: <9A0A9503B49D42BB96BFAE62F90B867B@dts> <20160526151855.GB22634@corpmail.liquidneon.com> <56E1C5E2CED145D098183B1A4169AA53@dts> <20160526161549.GC22634@corpmail.liquidneon.com> Subject: Re: pkg fails to compile Date: Thu, 26 May 2016 12:26:14 -0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 May 2016 16:26:08 -0000 Here's how I've been trying to upgrade it, if there's another way I'd like to know: root@EIGHT:/usr/ports # cd ports-mgmt/pkg root@EIGHT:/usr/ports/ports-mgmt/pkg # make ===> Building for pkg-1.8.3 /usr/bin/make all-recursive Making all in compat Making all in external /usr/bin/make all-recursive Making all in blake2 Making all in libpkg Making all in repo Making all in binary Making all in . CC libpkg_la-pkg_add.lo pkg_add.c: In function 'set_attrs': pkg_add.c:214: warning: passing argument 1 of 'getcwd' from incompatible pointer type pkg_add.c:237: warning: passing argument 1 of 'chdir' from incompatible pointer type pkg_add.c: In function 'fill_timespec_buf': pkg_add.c:287: error: 'const struct stat' has no member named 'st_atim' pkg_add.c:288: error: 'const struct stat' has no member named 'st_atim' pkg_add.c:289: error: 'const struct stat' has no member named 'st_mtim' pkg_add.c:290: error: 'const struct stat' has no member named 'st_mtim' *** Error code 1 1 error *** Error code 1 1 error *** Error code 1 1 error *** Error code 2 1 error ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop in /usr/ports/ports-mgmt/pkg. *** Error code 1 Stop in /usr/ports/ports-mgmt/pkg. root@EIGHT:/usr/ports/ports-mgmt/pkg # pkg upgrade pkg Updating FreeBSD repository catalogue... FreeBSD repository is up-to-date. All repositories are up-to-date. Checking integrity... done (0 conflicting) Your packages are up to date. root@EIGHT:/usr/ports/ports-mgmt/pkg # pkg -v 1.5.5 Also try using " MAKE_JOBS_UNSAFE=yes " , same error, also tried " make install clean ", same error message. This is also the same error aftrer rebuilding the entire Freebsd 8 and upgrading to stable, then rebuilding kernel + world and then latest portsnap fetch of the ports tree on a seperate test machine. ----- Original Message ----- From: "Brad Davis" To: "Sin" Cc: "Brad Davis" ; Sent: Thursday, May 26, 2016 12:15 PM Subject: Re: pkg fails to compile > On Thu, May 26, 2016 at 11:49:05AM -0400, Sin wrote: >> Brad, >> >> I use BSD 10, and pkg works great with it. I still have a couple of >> applications that don't work with 9.x or 10.x, so this box remains. >> >> Second to that, the documention I checked still implies pkg should be >> useable on BSD 8 and even 7 >> >> https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/pkgng-intro.html >> >> https://wiki.freebsd.org/pkgng/CharterAndRoadMap#Road_Map >> >> >> But aside from that, I can't even use /usr/ports on the latest portsnap >> fetch because of pkgng not being up to date ? That alone, I don't >> understand. > > As the error says, upgrade pkg from ports-mgmt/pkg. > > > Regards, > Brad Davis > >