Date: Wed, 2 Sep 2009 06:08:36 -0700 From: Kent Stewart <kstewart@owt.com> To: freebsd-questions@freebsd.org, d.forsyth@ru.ac.za Subject: Re: portupgrade broken, and apr won't build Message-ID: <200909020608.36523.kstewart@owt.com> In-Reply-To: <4A9E476D.13800.3D61987B@d.forsyth.ru.ac.za> References: <4A9E476D.13800.3D61987B@d.forsyth.ru.ac.za>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 02 September 2009 01:22:37 am DA Forsyth wrote: > Hiya all > > Something weird going on with portypgrade (and maybe ports in > general) here. Somewhere between last months upgrade and this month, > portupgrade has started to ignore ports that are reported by > portversion as needing upgrading. The result is I have to force each > one, one at a time. Big schlep. > > For example > > > portversion -v | grep samba > > samba-3.0.35,1 < needs updating (port has 3.0.36,1) > > > portupgrade -vr samba > > ---> Session started at: Wed, 02 Sep 2009 10:18:47 +0200 > ** None has been installed or upgraded. > ---> Session ended at: Wed, 02 Sep 2009 10:18:47 +0200 (consumed > 00:00:00) > > The other thing is that devel/apr will not build. The make stops > with this > ... > checking whether it is safe to define __EXTENSIONS__... yes > checking for library containing strerror... none required > checking whether system uses EBCDIC... no > performing libtool configuration... > ./configure: 9753: Syntax error: word unexpected (expecting ")") > *** Error code 2 > > Stop in /usr/ports/devel/apr. > *** Error code 1 > > Stop in /usr/ports/devel/apr. > > I cvsup every Monday morning. I tried the upgrades last week but got > these failures and decided to wait a week and see if there are fixes. > Apparently not. I also had to manually fix the openssl distfile > (missing MD5 and SH256) so that it would actually download the > missing patch and confirm it. I have never had so much trouble with > the port system, who broke it? <-: > > Any ideas? My experience with portupgrade problems like this is that your INDEX-? and INDEX-?.db aren't being created properly after cvsuping. Portversion doesn't depend on them but portupgrade does. The INDEX-? that you download is always out of date. I use p5-FreeBSD-Portindex to keep them incrementally up todate, which is much faster then building the INDEX from scratch. After awhile, you have a mess and things don't build because the dependencies haven't been built. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909020608.36523.kstewart>