Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Feb 2012 09:02:31 +0000
From:      Anton Shterenlikht <mexas@bristol.ac.uk>
To:        Yuri Pankov <yuri.pankov@gmail.com>
Cc:        ports@freebsd.org, Baptiste Daroussin <bapt@freebsd.org>, Anton Shterenlikht <mexas@bristol.ac.uk>
Subject:   Re: [HEADSUP][CFT] pkgng beta1 is out
Message-ID:  <20120209090231.GD16733@mech-cluster241.men.bris.ac.uk>
In-Reply-To: <4F330E6E.6080208@gmail.com>
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> <4F330E6E.6080208@gmail.com>

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



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