Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Feb 2012 04:08:14 +0400
From:      Yuri Pankov <yuri.pankov@gmail.com>
To:        Anton Shterenlikht <mexas@bristol.ac.uk>
Cc:        ports@freebsd.org, Baptiste Daroussin <bapt@freebsd.org>
Subject:   Re: [HEADSUP][CFT] pkgng beta1 is out
Message-ID:  <4F330E6E.6080208@gmail.com>
In-Reply-To: <20120208150716.GA8333@mech-cluster241.men.bris.ac.uk>
References:  <20120130123930.GB40244@azathoth.lan> <20120208100845.GC7120@mech-cluster241.men.bris.ac.uk> <20120208122111.GB2106@azathoth.lan> <20120208150716.GA8333@mech-cluster241.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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