On Thu, Feb 09, 2012 at 04:08:14AM +0400, Yuri Pankov wrote:
> 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.

Thanks, I missed that. Now I get:

# portmaster -l
===>>> Root ports (No dependencies, not depended on)
===>>> pkg-1.0.b1
===>>> 1 root ports

===>>> Trunk ports (No dependencies, are depended on)
===>>> 0 trunk ports

===>>> Branch ports (Have dependencies, are depended on)
===>>> 0 branch ports

===>>> Leaf ports (Have dependencies, not depended on)
===>>> 0 leaf ports

===>>> 1 total installed ports
# 

There are >400 ports installed, so I'm still missing
something else.

-- 
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
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to