[HEADSUP][CFT] pkgng beta1 is out

Yuri Pankov yuri.pankov at gmail.com
Thu Feb 9 00:08:20 UTC 2012


On Wed, 8 Feb 2012 15:07:16 +0000, Anton Shterenlikht wrote:

> On Wed, Feb 08, 2012 at 01:21:12PM +0100, Baptiste Daroussin wrote:
>>> cc1: warnings being treated as errors
>>> usergroup.c: In function 'pkg_add_user_group':
>>> usergroup.c:75: warning: implicit declaration of function 'gr_init'
>>> usergroup.c:75: warning: nested extern declaration of 'gr_init'
>>> usergroup.c:76: warning: implicit declaration of function 'gr_lock'
>>> usergroup.c:76: warning: nested extern declaration of 'gr_lock'
>>> usergroup.c:77: warning: implicit declaration of function 'gr_fini'
>>> usergroup.c:77: warning: nested extern declaration of 'gr_fini'
>>> usergroup.c:80: warning: implicit declaration of function 'gr_tmp'
>>> usergroup.c:80: warning: nested extern declaration of 'gr_tmp'
>>> usergroup.c:84: warning: implicit declaration of function 'gr_copy'
>>> usergroup.c:84: warning: nested extern declaration of 'gr_copy'
>>> usergroup.c:88: warning: implicit declaration of function 'gr_mkdb'
>>> usergroup.c:88: warning: nested extern declaration of 'gr_mkdb'
>>> *** Error code 1
>>>
>>
>> Your current is too old, could you please try to update it?
>>
>> the gr_* function where committed in r228545 version.
>
> Thanks, I got it working on r231193.
>
> I applied the portmaster patch from git,
> then running portmaster -a, I get:
>
> ===>>>  Port directory: /usr/ports/devel/xorg-macros
>
> ===>>>  Starting check for build dependencies
> ===>>>  Gathering dependency list for devel/xorg-macros from ports
> ===>>>  Launching child to install ports-mgmt/pkg
>          xorg-macros-1.15.0>>  ports-mgmt/pkg
>
> which ends in
>
> ===>   Installing for pkg-1.0.b1
> ===>    Generating temporary packing list
> ===>   Checking if ports-mgmt/pkg already installed
> ===>    pkg-1.0.b1 is already installed
>        You may wish to ``make deinstall'' and install this port again
>        by ``make reinstall'' to upgrade it properly.
>        If you really wish to overwrite the old port of ports-mgmt/pkg
>        without deleting it first, set the variable "FORCE_PKG_REGISTER"
>        in your environment or the "make install" command line.
> *** Error code 1
>
> Stop in /usr/ports/ports-mgmt/pkg.
>
>
> What am I doing wrong?

You are likely missing use_pkgng=yes in your portmaster.rc.


Yuri


More information about the freebsd-ports mailing list