poudriere, pkgng, memcache and php upgrades

Kimmo Paasiala kpaasial at gmail.com
Mon Jun 10 09:43:43 UTC 2013


On Mon, Jun 10, 2013 at 12:37 PM, bw.mail.lists <bw.mail.lists at 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
> "php_session_create_id" 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
> "ps_globals" 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


More information about the freebsd-ports mailing list