Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Feb 2017 12:35:41 -0800
From:      Kevin Oberman <rkoberman@gmail.com>
To:        The Doctor <doctor@doctor.nl2k.ab.ca>
Cc:        Jan Beich <jbeich@freebsd.org>, FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   Re: devel/libevent shopstopper
Message-ID:  <CAN6yY1tLvhLtiiPxZZm3xm%2Bv=qJDgT%2Bxrj3mvbxoBoz2haoVpQ@mail.gmail.com>
In-Reply-To: <20170220195729.GA5512@doctor.nl2k.ab.ca>
References:  <20170220161109.GA40515@doctor.nl2k.ab.ca> <20170220175546.BA9BB48A1@freefall.freebsd.org> <20170220195729.GA5512@doctor.nl2k.ab.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 20, 2017 at 11:57 AM, The Doctor <doctor@doctor.nl2k.ab.ca>
wrote:

> On Mon, Feb 20, 2017 at 05:55:46PM +0000, Jan Beich wrote:
> > The Doctor <doctor@doctor.nl2k.ab.ca> writes:
> >
> > > We have a big one!!
> > >
> > > Libevent compiles but does not install
> > >
> > > ===>  Installing for libevent-2.1.8
> > > ===>  Checking if libevent already installed
> > > ===>   Registering installation for libevent-2.1.8 as automatic
> > > Installing libevent-2.1.8...
> > > pkg-static: libevent-2.1.8 conflicts with libevent2-2.1.8 (installs
> > > files into the same place).  Problematic file:
> > > /usr/local/bin/event_rpcgen.py
> > > *** Error code 70
> > >
> > > Stop.
> > > make[1]: stopped in /usr/ports/devel/libevent
> > > *** Error code 1
> > >
> > > Stop.
> > > make: stopped in /usr/ports/devel/libevent
> > >
> > > ===>>> Installation of libevent-2.1.8 (devel/libevent) failed
> > > ===>>> Aborting update
> > >
> > > ===>>> Update for devel/libevent failed
> > > ===>>> Aborting update
> >
> > How did you invoke the build? portmaster and portupgrade are supposed to
> > look into /usr/ports/MOVED before proceeding. If they don't then you're
> > probably treading the unsupported territory[1] or encountered a bug.
>
> My sequence is
>
> pkg update -f
> portsnap fetch update
> portmaster -a
>
> Am I doing something wrong?
>

If you are building from ports, I'm not clear on why you do 'pkg update
-f', but it should not hurt.

Before running "portmaster -a", you should run "portmster -o devel/libevent
devel/libevent2".

Just looking quickly at portmaster, it appears to deal with deleted ports
and ports moved to a different location in the tree, but it does not look
to me like it handles renamed ports properly. If someone who is better at
shell scripting than I am wants to look at the code after line 1100, maybe
this could either be fixed or added.
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkoberman@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1tLvhLtiiPxZZm3xm%2Bv=qJDgT%2Bxrj3mvbxoBoz2haoVpQ>