Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Sep 2009 14:37:07 -0700
From:      "Kevin Oberman" <oberman@es.net>
To:        Doug Barton <dougb@FreeBSD.org>
Cc:        barbara <barbara.xxx1975@libero.it>, freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: Still can't seem to get sysutils/hal compile on current. 
Message-ID:  <20090921213707.9DF3C1CC39@ptavv.es.net>
In-Reply-To: Your message of "Mon, 21 Sep 2009 14:25:08 PDT." <4AB7EF34.9010400@FreeBSD.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Date: Mon, 21 Sep 2009 14:25:08 -0700
> From: Doug Barton <dougb@FreeBSD.org>
> 
> Kevin Oberman wrote:
> > This REALLY needs to be in UPDATING, right up front. I hit it (but
> > figured it out fairly quickly). Lots of folks are going to hit it. It
> > needs to be down near the end in the update step-by-step section and
> > also to be very prominent in the release notes. Otherwise this will
> > become the main FAQ for a long time to come. (It might still be.)
> 
> This btw is one of the reasons we tell people to remove all their
> ports to do major version upgrades, although your point about updating
> UPDATING is well taken. Hopefully someone with some actual knowledge
> of the topic will take that on.

While your recommendation of removing all ports and re-installing is a
good one, the actual recommendation made was to re-install all ports and
that is inadequate for this one as both portmaster and portupdate will
not install libusb and tell you that it is now in the base system, but
will then try to re-build everything with the header files and the
sharable still in place. Kaboom!

When you have several hundred ports installed (not uncommon for a
desktop system), the odds of catching the warning about libusb is not
too good.

I think that the first step to updating ports when upgrading the OS from
7.x to 8.0 should be to explicitly: 'pkg_deinstall libusb' and then
'portupgrade -af' or 'portmaster -af'. (I still have not had time to
play with portmaster, so that command may not be right.)
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net			Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751



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