[HEADSUP][CFT] pkgng beta1 is out

Anton Shterenlikht mexas at bristol.ac.uk
Wed Feb 8 15:07:50 UTC 2012


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?

Many thanks

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423


More information about the freebsd-ports mailing list