Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 May 2016 12:26:14 -0400
From:      "Sin" <sinister@gmail.com>
To:        "Brad Davis" <brd@FreeBSD.org>
Cc:        "Brad Davis" <brd@FreeBSD.org>, <freebsd-pkg@freebsd.org>
Subject:   Re: pkg fails to compile
Message-ID:  <4F26584FDBF2483DA114D2510C59BE05@dts>
References:  <9A0A9503B49D42BB96BFAE62F90B867B@dts> <20160526151855.GB22634@corpmail.liquidneon.com> <56E1C5E2CED145D098183B1A4169AA53@dts> <20160526161549.GC22634@corpmail.liquidneon.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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" <brd@FreeBSD.org>
To: "Sin" <sinister@gmail.com>
Cc: "Brad Davis" <brd@FreeBSD.org>; <freebsd-pkg@freebsd.org>
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
>
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F26584FDBF2483DA114D2510C59BE05>