Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jun 2013 12:43:42 +0300
From:      Kimmo Paasiala <kpaasial@gmail.com>
To:        "bw.mail.lists" <bw.mail.lists@gmail.com>
Cc:        FreeBSD Mailing List <freebsd-ports@freebsd.org>
Subject:   Re: poudriere, pkgng, memcache and php upgrades
Message-ID:  <CA%2B7WWSfpRXTrimBnBs4SJEC0Gngpq4Z8kex338mrRPxpbwH=YA@mail.gmail.com>
In-Reply-To: <51B59E69.6080605@gmail.com>
References:  <51B59E69.6080605@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jun 10, 2013 at 12:37 PM, bw.mail.lists <bw.mail.lists@gmail.com> wrote:
> We use memcache with php. When php gets updated, memcache gets rebuilt by
> poudriere, but pkgng doesn't see it as being different on 'pkg upgrade' so
> it doesn't upgrade the package. Which means that on apache restart the error
> log contains:
>
> PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/local/lib/php/20100525/memcache.so' -
> /usr/local/lib/php/20100525/memcache.so: Undefined symbol
> &quot;php_session_create_id&quot; in Unknown on line 0
> PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/local/lib/php/20100525/memcached.so' -
> /usr/local/lib/php/20100525/memcached.so: Undefined symbol
> &quot;ps_globals&quot; in Unknown on line 0
>
> 'pkg upgrade -f' solves the problem, but is there maybe another way?
>

There's no version number bump on the memcache port so the new package
is not seen as newer than the installed version.

I wish there was an elegant solution other than force the dependant
ports have their version numbers bumped every time the dependency (the
php port) gets updated.
-Kimmo



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B7WWSfpRXTrimBnBs4SJEC0Gngpq4Z8kex338mrRPxpbwH=YA>