From owner-freebsd-ports@FreeBSD.ORG Mon Jun 10 09:43:43 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 6A186CE3 for ; Mon, 10 Jun 2013 09:43:43 +0000 (UTC) (envelope-from kpaasial@gmail.com) Received: from mail-qc0-x22c.google.com (mail-qc0-x22c.google.com [IPv6:2607:f8b0:400d:c01::22c]) by mx1.freebsd.org (Postfix) with ESMTP id 32D4C178E for ; Mon, 10 Jun 2013 09:43:43 +0000 (UTC) Received: by mail-qc0-f172.google.com with SMTP id j10so3569080qcx.31 for ; Mon, 10 Jun 2013 02:43:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Yib6VguTLupIGYSBh6+8kRObesVacISJ7/8K7pvgZQY=; b=eEk9R3GUO2AcFedTfFHBlOToTUtEld043+lu0ODiOEU39ESsrjwMdpiq4cuBY6bFiN p659jvJU2+yX2e7mH9M1/JFpOCdlJuEPUbf/zRSGuu+KCMyijbIkXeYw1scZEw847+bE J6dNUREIlZsusG5wY1NXEq7Vqx8banZ+bjssej2/zxMXYeMAtAw0IsCnYKxZbE9cQI/7 LdnZfsMgKGB6DOlPobStt0TOPb0Ur9dE6cDyneFbOT2581Yr/0iFuKQ/sChtWOqU39Vi EYh5kftJyEo/HKrUMOzzasXn6t4gZ+O1aBdTLKiatl2zhiiws/mx7K6hMjHYgarvV1nJ 6ybA== MIME-Version: 1.0 X-Received: by 10.229.59.132 with SMTP id l4mr2984763qch.46.1370857422497; Mon, 10 Jun 2013 02:43:42 -0700 (PDT) Received: by 10.224.182.148 with HTTP; Mon, 10 Jun 2013 02:43:42 -0700 (PDT) In-Reply-To: <51B59E69.6080605@gmail.com> References: <51B59E69.6080605@gmail.com> Date: Mon, 10 Jun 2013 12:43:42 +0300 Message-ID: Subject: Re: poudriere, pkgng, memcache and php upgrades From: Kimmo Paasiala To: "bw.mail.lists" Content-Type: text/plain; charset=UTF-8 Cc: FreeBSD Mailing List X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jun 2013 09:43:43 -0000 On Mon, Jun 10, 2013 at 12:37 PM, 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: > > 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