[pkg-php-pear] Bug#812263: symfony: FTBFS with GCC 6: test suite failure

Martin Michlmayr tbm at hpe.com
Fri Jan 22 02:56:01 UTC 2016


Package: symfony
Version: 2.7.9+dfsg-1
Severity: normal
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-unknown

This package fails to build with GCC 6.  GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.

Unfortunately, it's not clear from the log why the build failed.
It's possible there's a bug in this package or in GCC.  It's also
possible I reported a non-issue, although I tried to avoid that.
I apologize in advance if this is the case.

If you have some time to look into this issue, that'd be great.  If
not, I can re-test the package with GCC 6 in a few weeks time.

You can find a snapshot of GCC 6 in experimental.  To build with
GCC 6, you can set CC=gcc-6 CXX=g++-6 explicitly.

You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> There was 1 failure:
> 
> 1) Symfony\Component\Finder\Tests\Iterator\SortableIteratorTest::testAccept with data set #2 (3, array(array('/tmp/symfony_finder/foo/bar.tmp', '/tmp/symfony_finder/test.php'), array('/tmp/symfony_finder/.git', '/tmp/symfony_finder/.foo', '/tmp/symfony_finder/.foo/.bar', '/tmp/symfony_finder/.foo/bar', '/tmp/symfony_finder/test.py', '/tmp/symfony_finder/foo', '/tmp/symfony_finder/toto', '/tmp/symfony_finder/toto/.git', '/tmp/symfony_finder/foo bar'), array('/tmp/symfony_finder/.bar')))
> Failed asserting that two arrays are equal.
> --- Expected
> +++ Actual
> @@ @@
>  Array (
> -    0 => '/tmp/symfony_finder/.foo'
> -    1 => '/tmp/symfony_finder/.foo/.bar'
> -    2 => '/tmp/symfony_finder/.foo/bar'
> -    3 => '/tmp/symfony_finder/.git'
> +    0 => '/tmp/symfony_finder/.bar'
> +    1 => '/tmp/symfony_finder/.foo'
> +    2 => '/tmp/symfony_finder/.foo/.bar'
> +    3 => '/tmp/symfony_finder/.foo/bar'
>      4 => '/tmp/symfony_finder/foo'
>      5 => '/tmp/symfony_finder/foo bar'
>      6 => '/tmp/symfony_finder/test.py'
>      7 => '/tmp/symfony_finder/toto'
>      8 => '/tmp/symfony_finder/toto/.git'
>  )
> 

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise



More information about the pkg-php-pear mailing list