devel/libevent shopstopper

Kevin Oberman rkoberman at gmail.com
Mon Feb 20 20:35:42 UTC 2017


On Mon, Feb 20, 2017 at 11:57 AM, The Doctor <doctor at doctor.nl2k.ab.ca>
wrote:

> On Mon, Feb 20, 2017 at 05:55:46PM +0000, Jan Beich wrote:
> > The Doctor <doctor at 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 at gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683


More information about the freebsd-ports mailing list