Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jun 2013 06:33:41 -0500
From:      Bryan Drewery <bdrewery@FreeBSD.org>
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:  <51B5B995.1000201@FreeBSD.org>
In-Reply-To: <51B59E69.6080605@gmail.com>
References:  <51B59E69.6080605@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
------enig2EANTRKPLSQQNKCGCXABC
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 6/10/2013 4:37 AM, bw.mail.lists 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:
>=20
> 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
>=20
> 'pkg upgrade -f' solves the problem, but is there maybe another way?
>=20

All PHP upgrades really need 'pkg install -Rf lang/php' because of the
missing portrevision chase on ports such a memcache, eaccelerator, etc.

This at least avoids needing to reinstall unrelated packages.

--=20
Regards,
Bryan Drewery


------enig2EANTRKPLSQQNKCGCXABC
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJRtbmZAAoJEG54KsA8mwz55oEP/jLFXF41cBCl0XTlosGSw8U0
IBiR5Y1krLqwVZVcgSp6q6Nvxuzxs4W7OfBeBaRyZ5ihGynY6Gk1fLm7z5B2FckP
ziSN44zyIwaOFOAOIII6WV3DjMbIQulYUqSXHEDhOKIXlq5aB2O0o43xB+ob0kho
f25DcO3/Vxuo7CCPVo2e9iMizfRDeyGIFRRK9+qpHrcMskgoqMiiEz0WcOZiuVJy
dZIGnJJ+jDQ9QsEkNjN4Vr8rdcyP3cZMO35rZ+oVwZ+N7WXe1lAKE+EKZrpfzKb5
Rc4pkyABT55qmzeFG3x2m51u86INsPP/FLonoYceLeyGuPA+NlSszvekPZpHVT8c
O6wJqBRhU/8sxkmzbcVampFP7JskI3N+Ma503TJIvnvqYfhmkT0+zajg0swJt8hT
ax65yDTkxVg+zjOOvnDhVNIzOjfrvAaK2lqQUQfipRRgzt/KO5FnhoQH4O8hsNxp
6XA2KjrGVy4RKCqqvlmtooK8NnrWgRi/nmbsWEkWGdioxWlPt3usAK3Dr1BAbCJh
vFx2TkoXvsrlt6BQm1+XLWAXkJTTX3ZzbzCMkonzbE6b8rD4Q/qq3GEuLQa2iD/Y
t/9lbgPBTpJcqUESyOyIiRna5Z3LArfkPfI+1TdzWf4pbVn/3NtUHH+M6zrK6CJM
rE+Gvp5ou3AzD6aohFot
=83WB
-----END PGP SIGNATURE-----

------enig2EANTRKPLSQQNKCGCXABC--



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