From owner-freebsd-pkg@freebsd.org Thu May 26 14:12:06 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 8FD18B4B8EB for ; Thu, 26 May 2016 14:12:06 +0000 (UTC) (envelope-from sinister@gmail.com) Received: from mail-it0-x231.google.com (mail-it0-x231.google.com [IPv6:2607:f8b0:4001:c0b::231]) (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 5A7B511F5 for ; Thu, 26 May 2016 14:12:06 +0000 (UTC) (envelope-from sinister@gmail.com) Received: by mail-it0-x231.google.com with SMTP id z123so47060390itg.0 for ; Thu, 26 May 2016 07:12:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:from:to:subject:date:mime-version; bh=ixoxm+zBnSYd7cK7SfZZt9o1rUYk7Q3UO6fkfeqf8Kg=; b=RhYhkSxJ8711XpctzQxHpM6axU2tP8DuuRQB95QzOz/oIE3M6QSzdwN7BcDW7g2YH7 FZZsbdcDAcCjKm4AuJlu+mvAj0tOivGIZb/j3IQUtZ1CyxfJ8oS+bZXK9LNB+zqdCpWd DuznzIz32ftpdfTWyiplnHLW8fig3gb0dZiNTKFrmXXtpJMGDaDlN1koNcFNbBgN26xQ DKirtaD45YlePoNcJq3kEDQcBe1+MEz9veIN15Zg8mYJUnPTcf70JEhxbWshaFnMnf4n WjQyGVD+Y3wfmd4iIQHLcTUerAbu0lB9jUbCQ4UoBvy+fh+II3cgoZMpe6n1YPq8Rjwg N1Hg== 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:subject:date:mime-version; bh=ixoxm+zBnSYd7cK7SfZZt9o1rUYk7Q3UO6fkfeqf8Kg=; b=dlIYvrlv7zjpnTTLiFsFPnIuzjPiuFaiYlhpxywXWZU5ETNfpv+0v5u8j2KTAYc5UZ 94WRUbb555zoiupFeUL3w01jO3nBZahBGaFOBR5DzCzh+sSW+dg9MjAsIgEeVdTUhISU d9ni9JyVZHu8uB+g1Rv6PUtl5nhzQaNE0Hwz9uZRr/vU398Y1kDRN5RSGVp3hFeWtLQe C1DH3L3gGemVJLlxSao0hoAU0WfSqPcC6fzV9B+KbgrUi3BCiMElzXs7qdp3AMzk4l0f lw5/+tfE4xt7zAW+C4EZp/6K4NkmAOXlrwpTnj6nmxmMnN9iw7DJaHw2RpVIs56bIyAi jqWg== X-Gm-Message-State: ALyK8tKhRymxwqvUXJ+4GMjnGlZTvYb3b+gO/X+9JIWRp5FEoGkIjHPtlxfmZzdpxPbUkQ== X-Received: by 10.36.36.4 with SMTP id f4mr3330088ita.29.1464271925588; Thu, 26 May 2016 07:12:05 -0700 (PDT) Received: from dts ([216.8.139.47]) by smtp.gmail.com with ESMTPSA id q19sm1130320itc.18.2016.05.26.07.12.04 for (version=TLSv1/SSLv3 cipher=OTHER); Thu, 26 May 2016 07:12:04 -0700 (PDT) Message-ID: <9A0A9503B49D42BB96BFAE62F90B867B@dts> From: "Sin" To: Subject: pkg fails to compile Date: Thu, 26 May 2016 10:11:58 -0400 MIME-Version: 1.0 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 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.22 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 14:12:06 -0000 Hi everyone, I've got FreeBSD 8 stable ( R299674 ) and portsnap fetch applied as new = as a few minutes ago. I'm not able to get /usr/ports/ports-mgmt/pkg to = compile. Just errors with: 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 =3D=3D=3D> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the = failure to the maintainer. *** Error code 1 Stop in /usr/ports/ports-mgmt/pkg. *** Error code 1 The bootstrap version is: pkg -v 1.5.5 I can't seem to get it updated from pkg repository either: root@server:/usr/ports/ports-mgmt/pkg # pkg install pkg Updating FreeBSD repository catalogue... FreeBSD repository is up-to-date. All repositories are up-to-date. Checking integrity... done (0 conflicting) The most recent version of packages are already installed I thought it was my box. So installed a virtual machine fresh with = FreeBSD 8.4 stable and still can't get pkg to compile. I'm at a loss on = how to get pkg 1.8.3 installed on Freebsd 8 at this point. From what I = can tell it should still be able to compile / install according to = documentation. Any thoughts on another permutation ? at this point I = can't even compile from the ports tree because pkg is complaining so = hard: root@server:/usr/ports/sysutils/rtty # make =3D=3D=3D> rtty-4.0 pkg(8) must be version 1.6.0 or greater, but you = have 1.5.5. You must upgrade the ports-mgmt/pkg port first. *** Error code 1 Stop in /usr/ports/sysutils/rtty.