Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jul 2014 23:52:38 +0200
From:      "Herbert J. Skuhra" <hskuhra@eumx.net>
To:        Serpent7776 <serpent7776@gmail.com>
Cc:        ports@freebsd.org
Subject:   Re: upgrading devel/p5-subversion fails
Message-ID:  <87fvi1t1i1.wl-hskuhra@eumx.net>
In-Reply-To: <20140716224036.2e42d8a9@DaemON.home>
References:  <20140715224238.3c4e31b1@DaemON.home> <87a98agwds.wl-hskuhra@eumx.net> <CAN6yY1vaFoXcx-Jje77sktou7O1ggk9=_D3ji_QSCWNb9aKfLA@mail.gmail.com> <20140716211223.20231dc6@DaemON.home> <87ha2ht65t.wl-hskuhra@eumx.net> <20140716224036.2e42d8a9@DaemON.home>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 16 Jul 2014 22:40:36 +0200
Serpent7776 wrote:

> On Wed, 16 Jul 2014 22:11:58 +0200
> "Herbert J. Skuhra" <hskuhra@eumx.net> wrote:
> 
> > On Wed, 16 Jul 2014 21:12:23 +0200
> > Serpent7776 wrote:
> > 
> > > On Tue, 15 Jul 2014 14:51:42 -0700
> > > Kevin Oberman <rkoberman@gmail.com> wrote:
> > > 
> > > > On Tue, Jul 15, 2014 at 2:11 PM, Herbert J. Skuhra <hskuhra@eumx.net>
> > > > wrote:
> > > > 
> > > > > On Tue, 15 Jul 2014 22:42:38 +0200
> > > > > Serpent7776 wrote:
> > > > >
> > > > > > Hello,
> > > > > >
> > > > > > I'm trying to upgrade p5-subversion, but I got error
> > > > > >
> > > > > > sed: /usr/local/lib/libsqlite3.la: No such file or directory
> > > > > > libtool: link: `/usr/local/lib/libsqlite3.la' is not a valid libtool
> > > > > archive
> > > > > > *** [subversion/bindings/swig/perl/libsvn_swig_perl/
> > > > > libsvn_swig_perl-1.la]
> > > > > > Error code 1 1 error
> > > > > > ===> Compilation failed unexpectedly.
> > > > > > Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the
> > > > > > failure
> > > > > to
> > > > > > the maintainer.
> > > > > > *** [do-build] Error code 1
> > > > > >
> > > > > > Stop in /usr/ports/devel/p5-subversion.
> > > > > >
> > > > > > Full output of portmaster p5-subversion available here:
> > > > > > http://pastie.org/private/ysbvkwqnppzqvangdqmew
> > > > > >
> > > > > > File /usr/local/lib/libsqlite3.la does not exists.
> > > > > > I tried rebuilding sqlite3 and deleting p5-subversion before
> > > > > reinstalling, but
> > > > > > this does not work.
> > > > > >
> > > > > > My system is
> > > > > > # uname -a
> > > > > > FreeBSD DaemON.home 9.2-RELEASE-p10 FreeBSD 9.2-RELEASE-p10 #0: Tue
> > > > > > Jul
> > > > >  8
> > > > > > 10:48:24 UTC 2014
> > > > > > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
> > > > >
> > > > > Have you tried to rebuild subversion before upgrading p5-subversion?
> > > > > Have you tried to run 'portmaster -r sqlite3'?
> > > > > Make sure that your portstree is up-to-date.
> > > > >
> > > > 
> > > > Looks like databases/sqlite3/Makefile has "USES= pathfix libtool". By
> > > > default that will not install ".la" files. Normally they are only needed
> > > > during the build of the port, but it looks like libsqlite3.la is an
> > > > exception.
> > > > 
> > > > Try editing the Makefile to:
> > > > USES= pathfix libtool:keepla
> > > > and see if that fixes the problem.
> > > 
> > > Changing
> > > USES=		pathfix libtool
> > > to
> > > USES=		pathfix libtool:keepla
> > 
> > Revert this again!
> > 
> > There is obviously a reason why the Makefile uses libtool and not
> > libtool:keepla!
> > 
> > r359585 | miwi | 2014-06-27 19:17:31 +0200 (Fri, 27 Jun 2014) | 4 lines
> > 
> > - Use proper stripping
> > - Don't keep la file since shlib got downgraded in r359529
> > - Bump PORTREVISION
> >  
> > You have obviously ignored my advice! After this change you have to
> > rebuild subversion! ('portmaster -r sqlite3' should rebuild subversion!)
> > Then p5-subversion builds fine.
> > 
> > --
> > Herbert
> 
> I'm running portmaster -r sqlite3 right now. I just wanted to try to change
> makefile first to see if it helps, because it was quicker than rebuilding ~60
> ports.

If only p5-subversion is affected, then try to rebuild only
devel/subversion before building devel/p5-subversion.

--
Herbert




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87fvi1t1i1.wl-hskuhra>