Debian Bug report logs -
#863493
FTBFS with PHP 7.0.18+
Reported by: James Clarke <jrtc27@debian.org>
Date: Sat, 27 May 2017 19:12:01 UTC
Severity: serious
Tags: fixed-upstream, patch, upstream
Found in version symfony/2.8.7+dfsg-1.2
Fixed in version symfony/2.8.7+dfsg-1.3
Done: James Clarke <jrtc27@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Debian PHP PEAR Maintainers <pkg-php-pear@lists.alioth.debian.org>:
Bug#863493; Package src:symfony.
(Sat, 27 May 2017 19:12:04 GMT) (full text, mbox, link).
Acknowledgement sent
to James Clarke <jrtc27@debian.org>:
New Bug report received and forwarded. Copy sent to Debian PHP PEAR Maintainers <pkg-php-pear@lists.alioth.debian.org>.
(Sat, 27 May 2017 19:12:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Source: symfony
Version: 2.8.7+dfsg-1.2
Severity: serious
Tags: patch upstream fixed-upstream
Hi,
I noticed that symfony now FTBFS after the upload of php7.0 7.0.18-1,
with the following error in the test suite:
> 1) Symfony\Component\VarDumper\Tests\CliDumperTest::testThrowingCaster
> Failed asserting that format description matches text.
> --- Expected
> +++ Actual
> @@ @@
> stream resource {@239
> -%Awrapper_type: "PHP"
> + timed_out: false
> + blocked: true
> + eof: false
> + wrapper_type: "PHP"
> stream_type: "MEMORY"
> - mode: "%s+b"
> + mode: "w+b"
> unread_bytes: 0
> seekable: true
> uri: "php://memory"
> -%Aoptions: []
> - ⚠: Symfony\Component\VarDumper\Exception\ThrowingCasterException {#%d
> + options: []
> + ⚠: Symfony\Component\VarDumper\Exception\ThrowingCasterException {#411
> #message: "Unexpected Exception thrown from a caster: Foobar"
> -trace: {
> - %d. __TwigTemplate_VarDumperFixture_u75a09->doDisplay() ==> new Exception(): {
> + 22. __TwigTemplate_VarDumperFixture_u75a09->doDisplay() ==> new Exception(): {
> src: {
> - %sTwig.php:19: """
> + /<<BUILDDIR>>/symfony-2.8.7+dfsg/src/Symfony/Component/VarDumper/Tests/Fixtures/Twig.php:19: """
>
> @@ @@
> }
> - %d. Twig_Template->displayWithErrorHandling() ==> __TwigTemplate_VarDumperFixture_u75a09->doDisplay(): {
> + 21. Twig_Template->displayWithErrorHandling() ==> __TwigTemplate_VarDumperFixture_u75a09->doDisplay(): {
> src: {
> - %sTemplate.php:%d: """
> + /usr/share/php/Twig/Template.php:381: """
>
> @@ @@
> }
> - %d. Twig_Template->display() ==> Twig_Template->displayWithErrorHandling(): {
> + 20. Twig_Template->display() ==> Twig_Template->displayWithErrorHandling(): {
> src: {
> - %sTemplate.php:%d: """
> + /usr/share/php/Twig/Template.php:355: """
>
> @@ @@
> }
> - %d. Twig_Template->render() ==> Twig_Template->display(): {
> + 19. Twig_Template->render() ==> Twig_Template->display(): {
> src: {
> - %sTemplate.php:%d: """
> + /usr/share/php/Twig/Template.php:366: """
>
> @@ @@
> }
> - %d. %slosure%s() ==> Twig_Template->render(): {
> + 18. Symfony\Component\VarDumper\Tests\CliDumperTest->{closure}() ==> Twig_Template->render(): {
> src: {
> - %sCliDumperTest.php:189: """
> - }\n
> - };'),\n
> - ));\n
> + /<<BUILDDIR>>/symfony-2.8.7+dfsg/src/Symfony/Component/VarDumper/Tests/CliDumperTest.php:183: """
> + $cloner->addCasters(array(\n
> + ':stream' => eval('return function () use ($twig) {\n
> + try {\n
> """
> }
> }
> }
> }
> }
>
> /<<BUILDDIR>>/symfony-2.8.7+dfsg/src/Symfony/Component/VarDumper/Tests/CliDumperTest.php:277
The difference is that the line number for CliDumperTest.php right at
the end is no longer correct, and has some different code after it.
Upstream fixed this already[1,2], and these changes are also in #863441,
but there are other changes not required for PHP 7.0, hence the separate
bug. I am happy to NMU again with just the changes needed, and will do
so if I do not hear anything soon, as the release is approaching and
this will otherwise become a stretch-will-remove bug.
Regards,
James
[1] https://github.com/symfony/symfony/commit/3672c01e3c7182888a42b74e2864a20e21cfe7f5
[2] https://github.com/symfony/symfony/commit/6ef78ec55317ac473fa045706244ef1f97d4b2de
(only the change to CliDumperTest.php)
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian PHP PEAR Maintainers <pkg-php-pear@lists.alioth.debian.org>:
Bug#863493; Package src:symfony.
(Sat, 27 May 2017 19:39:03 GMT) (full text, mbox, link).
Acknowledgement sent
to David Prévot <david@tilapin.org>:
Extra info received and forwarded to list. Copy sent to Debian PHP PEAR Maintainers <pkg-php-pear@lists.alioth.debian.org>.
(Sat, 27 May 2017 19:39:03 GMT) (full text, mbox, link).
Message #10 received at 863493@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hi James,
Le 27/05/2017 à 09:08, James Clarke a écrit :
> Source: symfony
> Version: 2.8.7+dfsg-1.2
> I noticed that symfony now FTBFS after the upload of php7.0 7.0.18-1,
Thanks!
> I am happy to NMU again with just the changes needed
Please, go ahead, I don’t have much time currently, and haven’t heard of
Daniel for quite some time either. Your help is much appreciated.
Regards
[signature.asc (application/pgp-signature, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian PHP PEAR Maintainers <pkg-php-pear@lists.alioth.debian.org>:
Bug#863493; Package src:symfony.
(Sat, 27 May 2017 20:03:06 GMT) (full text, mbox, link).
Acknowledgement sent
to James Clarke <jrtc27@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian PHP PEAR Maintainers <pkg-php-pear@lists.alioth.debian.org>.
(Sat, 27 May 2017 20:03:06 GMT) (full text, mbox, link).
Message #15 received at 863493@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Dear maintainer,
I've prepared an NMU for symfony (versioned as 2.8.7+dfsg-1.3) and
uploaded it to unstable. The diff is attached to this message.
Regards,
James
[symfony-2.8.7+dfsg-1.3-nmu.diff (text/x-diff, attachment)]
Reply sent
to James Clarke <jrtc27@debian.org>:
You have taken responsibility.
(Sat, 27 May 2017 21:12:15 GMT) (full text, mbox, link).
Notification sent
to James Clarke <jrtc27@debian.org>:
Bug acknowledged by developer.
(Sat, 27 May 2017 21:12:15 GMT) (full text, mbox, link).
Message #20 received at 863493-close@bugs.debian.org (full text, mbox, reply):
Source: symfony
Source-Version: 2.8.7+dfsg-1.3
We believe that the bug you reported is fixed in the latest version of
symfony, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 863493@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
James Clarke <jrtc27@debian.org> (supplier of updated symfony package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 27 May 2017 20:39:09 +0100
Source: symfony
Binary: php-symfony php-symfony-asset php-symfony-browser-kit php-symfony-class-loader php-symfony-config php-symfony-console php-symfony-css-selector php-symfony-debug php-symfony-dependency-injection php-symfony-dom-crawler php-symfony-event-dispatcher php-symfony-expression-language php-symfony-filesystem php-symfony-finder php-symfony-form php-symfony-http-foundation php-symfony-http-kernel php-symfony-intl php-symfony-ldap php-symfony-locale php-symfony-options-resolver php-symfony-process php-symfony-property-access php-symfony-property-info php-symfony-routing php-symfony-security php-symfony-security-core php-symfony-security-csrf php-symfony-security-guard php-symfony-security-http php-symfony-serializer php-symfony-stopwatch php-symfony-templating php-symfony-translation php-symfony-validator php-symfony-var-dumper php-symfony-yaml php-symfony-doctrine-bridge php-symfony-monolog-bridge php-symfony-phpunit-bridge php-symfony-proxy-manager-bridge
php-symfony-swiftmailer-bridge php-symfony-twig-bridge php-symfony-debug-bundle php-symfony-framework-bundle php-symfony-security-bundle php-symfony-twig-bundle
php-symfony-web-profiler-bundle
Architecture: source
Version: 2.8.7+dfsg-1.3
Distribution: unstable
Urgency: medium
Maintainer: Debian PHP PEAR Maintainers <pkg-php-pear@lists.alioth.debian.org>
Changed-By: James Clarke <jrtc27@debian.org>
Closes: 863493
Description:
php-symfony-asset - manage asset URLs
php-symfony-browser-kit - simulate the behavior of a web browser
php-symfony-class-loader - load PHP classes automatically
php-symfony-config - load configurations from different data sources
php-symfony-console - run tasks from the command line
php-symfony-css-selector - convert CSS selectors to XPath expressions
php-symfony-debug-bundle - debugging tools for the Symfony framework
php-symfony-debug - tools to make debugging of PHP code easier
php-symfony-dependency-injection - standardize and centralize construction of objects
php-symfony-doctrine-bridge - integration for Doctrine with Symfony Components
php-symfony-dom-crawler - ease DOM navigation for HTML and XML documents
php-symfony-event-dispatcher - dispatch events and listen to them
php-symfony-expression-language - compile and evaluate expressions
php-symfony-filesystem - basic filesystem utilities
php-symfony-finder - find files and directories
php-symfony-form - create HTML forms and process request data
php-symfony-framework-bundle - basic, robust and flexible MVC framework
php-symfony-http-foundation - object-oriented layer for the HTTP specification
php-symfony-http-kernel - building blocks for flexible and fast HTTP-based frameworks
php-symfony-intl - limited replacement layer for the PHP extension intl
php-symfony-ldap - abstraction layer for the PHP LDAP module
php-symfony-locale - deprecated replacement layer for the PHP extension intl
php-symfony-monolog-bridge - integration for Monolog with Symfony Components
php-symfony-options-resolver - configure objects with option arrays
php-symfony-phpunit-bridge - integration for PHPUnit with Symfony Components
php-symfony-process - execute commands in sub-processes
php-symfony-property-access - read from and write to an object or array
php-symfony-property-info - extract information about properties of PHP classes
php-symfony-proxy-manager-bridge - integration for ProxyManager with Symfony Components
php-symfony-routing - associate a request with code that generates a response
php-symfony-security-bundle - configurable security system for the Symfony framework
php-symfony-security-core - infrastructure for authorization systems - common features
php-symfony-security-csrf - infrastructure for authorization systems - CSRF protection
php-symfony-security-guard - infrastructure for authorization systems - Guard features
php-symfony-security-http - infrastructure for authorization systems - HTTP integration
php-symfony-security - infrastructure for sophisticated authorization systems
php-symfony-serializer - convert PHP objects into specific formats and vice versa
php-symfony - set of reusable components and framework for web projects
php-symfony-stopwatch - profile PHP code
php-symfony-swiftmailer-bridge - integration for Swift Mailer with Symfony Components
php-symfony-templating - tools needed to build a template system
php-symfony-translation - tools to internationalize an application
php-symfony-twig-bridge - integration for Twig with Symfony Components
php-symfony-twig-bundle - configurable integration of Twig with the Symfony framework
php-symfony-validator - tools to validate classes
php-symfony-var-dumper - ${phpcomposer:description}
php-symfony-web-profiler-bundle - collect requests information for analysis and debugging
php-symfony-yaml - convert YAML to PHP arrays and the other way around
Changes:
symfony (2.8.7+dfsg-1.3) unstable; urgency=medium
.
* Non-maintainer upload.
* Backport additional upstream patches needed after PHP 7.0.18 upload
(Closes: #863493):
- [VarDumper] Relax tests to adapt for php 7.1rc4
- [VarDumper] Relax line number for CliDumperTest
Checksums-Sha1:
65e04bda825fc2bf6a01eadd69c42f2c83f1493f 6763 symfony_2.8.7+dfsg-1.3.dsc
01d5c869deeea5760827a43ea5d300e266788c95 37124 symfony_2.8.7+dfsg-1.3.debian.tar.xz
2ef5c1d05c2c311f36d81dd43791314a53df6647 25567 symfony_2.8.7+dfsg-1.3_amd64.buildinfo
Checksums-Sha256:
bf1d676e186dd557c3608629e07e9bfda63999a7550281cd477e7822e4c94983 6763 symfony_2.8.7+dfsg-1.3.dsc
d01a58a2d0462469e2bea0ae2d9583f8b4d8c6ebe132d14974f1830ac8aded22 37124 symfony_2.8.7+dfsg-1.3.debian.tar.xz
90e8d07eca0170a1181f0d404b5594de3bc3301378a8a0e3e2b4bb67a7bd201f 25567 symfony_2.8.7+dfsg-1.3_amd64.buildinfo
Files:
3021012bc040822fa0e55e3c65912036 6763 php optional symfony_2.8.7+dfsg-1.3.dsc
063fd891d6e0ee250824a1c15dbcc051 37124 php optional symfony_2.8.7+dfsg-1.3.debian.tar.xz
3b13e7e06c9b980ad45881e09889b2c8 25567 php optional symfony_2.8.7+dfsg-1.3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJGBAEBCgAwFiEEj1g0K+q+HvQ3lVH7sZN3DBhqHH0FAlkp2mASHGpydGMyN0Bk
ZWJpYW4ub3JnAAoJELGTdwwYahx9Lp4P/RqWVDv7ipKsJ5cjJbg4CBta+h6OIR+0
5EZrBLbnvo1410ENSGcxplQbyTtb3MF8Bgcy9QSrLliaLFRTWEbXI6BKcFRqkQDv
MUsz2HVXzMibgxhnkaJGD93/tlk64oZP7GyLOV6uMWDX822t0U/gMRCyhGOmDVhe
T5JW0L9/BijI0+h8SUP6HMWVknGKo/6D9l1Cn6c5imJkRySvMNY4eoTKSq42IfJe
QjRBz2mXEtFMXHbCp4atO/mjRS4lZGCC57dLtPPPnZ13ydaCpOKEjKXcpgy6llDQ
USnS+piXA2mswJcP30CMVf35b+7EpierT0gZuek2HKKz4HXpRAAoUu5npxQQdn/l
r2IK7JSAZ/WEx54s2YFRvMExByw0BanBms5ZEgrClIFPNNmfbqLPgvQtgjjnq9mr
oqUfe717F9pYMQxHK1VA0XGwiLoYs4WP7XUlM6GZ8c2yhegGdkiA0OGuaDDIPbPg
Qwq1SFy0SLtEMtydvcTA3duwVbu2gOfFL+Gz9xxhB/ksFJLt/2RikLTkswrOJ71I
v2Nuuj1XrS619kGd+SOfl2BJDDtes/L6CYyGYM9NOcXmbRmyFFHuM9rP45FgHfgd
PAd1O4Ble0Dhw5MZmsoBYcCpBytkLTZMysWp9ypus/qjqm0yjwd4IYQwUbtUcF8M
FOKk810DZIqK
=7jCR
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sun, 25 Jun 2017 07:29:36 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed May 17 13:48:47 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.