[From nobody Tue Sep 22 01:19:11 2026
Received: (at submit) by bugs.debian.org; 16 Apr 2012 19:56:47 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.1-bugs.debian.org_2005_01_02
 (2010-03-16) on busoni.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-16.9 required=4.0 tests=BAYES_00,FOURLA,
 FROMDEVELOPER,HAS_PACKAGE,MURPHY_DRUGS_REL8,XMAILER_REPORTBUG,X_DEBBUGS_CC
 autolearn=ham version=3.3.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 13; hammy, 151; neutral, 92; spammy,
 0. spammytokens: hammytokens:0.000-+--H*M:reportbug, 0.000-+--H*MI:reportbug, 
 0.000-+--H*x:reportbug, 0.000-+--H*UA:reportbug, 0.000-+--stableupdates
Return-path: &lt;hertzog@debian.org&gt;
Received: from mail.vm.ouaza.com ([88.190.240.227])
 by busoni.debian.org with esmtp (Exim 4.72)
 (envelope-from &lt;hertzog@debian.org&gt;) id 1SJs2Z-0003yr-EP
 for submit@bugs.debian.org; Mon, 16 Apr 2012 19:56:47 +0000
Received: from soleymieux.ouaza.com (soleymieux.ouaza.com [78.225.60.32])
 by mail.vm.ouaza.com (Postfix) with ESMTPSA id 93858220056;
 Mon, 16 Apr 2012 21:56:44 +0200 (CEST)
Received: by soleymieux.ouaza.com (Postfix, from userid 1000)
 id F24EA33357A; Mon, 16 Apr 2012 21:56:31 +0200 (CEST)
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: =?utf-8?q?Rapha=C3=ABl_Hertzog?= &lt;hertzog@debian.org&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: libphp-simplepie: Debian specific changes break wordpress
Message-ID: &lt;20120416195631.30310.26900.reportbug@rivendell.localdomain&gt;
X-Mailer: reportbug 6.3.1
Date: Mon, 16 Apr 2012 21:56:31 +0200
X-Debbugs-Cc: Thorsten Glaser &lt;tg@mirbsd.de&gt;
X-Virus-Scanned: clamav-milter 0.97.3 at mail
X-Virus-Status: Clean
Delivered-To: submit@bugs.debian.org

Package: libphp-simplepie
Version: 1.2.1-3
Severity: important

The changes made in response to #651515 break WordPress. It's good to
clean up code but this should be upstream's responsibilities and deviating
from upstream can cause issues with external code using simplepie.

In this case, wordpress redefines a method of simplepie and that method
has been changed to &quot;static&quot; by Thorsten's patch (I don't know why) and
it now fails with this:
PHP Fatal error:  Cannot make static method SimplePie_Cache::create() non static in class WP_Feed_Cache in /usr/share/wordpress/wp-includes/class-feed.php on line 6

The code in question seems legitimate:
class WP_Feed_Cache extends SimplePie_Cache {
        /**
         * Create a new SimplePie_Cache object
         *
         * @static
         * @access public
         */
        function create($location, $filename, $extension) {
                return new WP_Feed_Cache_Transient($location, $filename, $extension);
        }
}

I would thus kindly ask you to revert that change at least partially
for all the methods that have been marked static and let upstream deal
properly with the fallout of the incompatible change...

Cheers,

-- System Information:
Debian Release: wheezy/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (150, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libphp-simplepie depends on:
ii  php5-cli   5.4.1~rc1-1
ii  php5-curl  5.4.1~rc1-1
ii  php5-intl  5.4.1~rc1-1

libphp-simplepie recommends no packages.

libphp-simplepie suggests no packages.

-- no debconf information


]