[pkg-php-pear] Bug#824047: php-codecoverage: FTBFS: PHP_CodeCoverage_Report_HTMLTest::testForBankAccountTest BankAccount.php.html not match

Chris Lamb lamby at debian.org
Wed May 11 16:35:16 UTC 2016


Source: php-codecoverage
Version: 3.3.1+dfsg-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

php-codecoverage fails to build from source in unstable/amd64:

  [..]

  Creating config file /etc/php/7.0/mods-available/exif.ini with new version
  
  Creating config file /etc/php/7.0/mods-available/fileinfo.ini with new version
  
  Creating config file /etc/php/7.0/mods-available/ftp.ini with new version
  
  Creating config file /etc/php/7.0/mods-available/gettext.ini with new version
  
  Creating config file /etc/php/7.0/mods-available/iconv.ini with new version
  
  Creating config file /etc/php/7.0/mods-available/pdo.ini with new version
  
  Creating config file /etc/php/7.0/mods-available/phar.ini with new version
  
  Creating config file /etc/php/7.0/mods-available/posix.ini with new version
  
  Creating config file /etc/php/7.0/mods-available/shmop.ini with new version
  
  Creating config file /etc/php/7.0/mods-available/sockets.ini with new version
  
  Creating config file /etc/php/7.0/mods-available/sysvmsg.ini with new version
  
  Creating config file /etc/php/7.0/mods-available/sysvsem.ini with new version
  
  Creating config file /etc/php/7.0/mods-available/sysvshm.ini with new version
  
  Creating config file /etc/php/7.0/mods-available/tokenizer.ini with new version
  Setting up libedit2:amd64 (3.1-20150325-1+b1) ...
  Setting up php7.0-phpdbg (7.0.6-3) ...
  update-alternatives: using /usr/bin/phpdbg7.0 to provide /usr/bin/phpdbg (phpdbg) in auto mode
  
  Creating config file /etc/php/7.0/phpdbg/php.ini with new version
  Setting up php7.0-json (7.0.6-3) ...
  
  Creating config file /etc/php/7.0/mods-available/json.ini with new version
  Setting up php7.0-opcache (7.0.6-3) ...
  
  Creating config file /etc/php/7.0/mods-available/opcache.ini with new version
  Setting up php7.0-readline (7.0.6-3) ...
  
  Creating config file /etc/php/7.0/mods-available/readline.ini with new version
  Setting up php7.0-cli (7.0.6-3) ...
  update-alternatives: using /usr/bin/php7.0 to provide /usr/bin/php (php) in auto mode
  update-alternatives: using /usr/bin/phar7.0 to provide /usr/bin/phar (phar) in auto mode
  update-alternatives: using /usr/bin/phar.phar7.0 to provide /usr/bin/phar.phar (phar.phar) in auto mode
  
  Creating config file /etc/php/7.0/cli/php.ini with new version
  Setting up php-xdebug (2.4.0-5) ...
  Setting up php-zeta-base (1.9-3) ...
  Setting up php-zeta-console-tools (1.7-3) ...
  Setting up php-cli (1:7.0+40) ...
  Setting up php-directory-scanner (1.3.1-3) ...
  Setting up phpab (1.21.0-2) ...
  Setting up php-symfony-yaml (2.8.4+dfsg-1) ...
  Setting up phpunit-recursion-context (1.0.2-2) ...
  Setting up phpunit-exporter (1.2.1-2) ...
  Setting up php-file-iterator (1.4.1-2) ...
  Setting up php-text-template (1.2.1-2) ...
  Setting up phpunit-code-unit-reverse-lookup (1.0.0-2) ...
  Setting up phpunit-environment (1.3.6-1) ...
  Setting up phpunit-version (2.0.0-2) ...
  Setting up php-codecoverage (3.3.1+dfsg-1) ...
  Setting up php-timer (1.0.7-2) ...
  Setting up php-doctrine-instantiator (1.0.5-2) ...
  Setting up phpunit-mock-object (3.1.3-1) ...
  Setting up php-phpdocumentor-reflection-docblock (2.0.4-2) ...
  Setting up phpunit-diff (1.4.1-2) ...
  Setting up phpunit-comparator (1.2.0-2) ...
  Setting up php-phpspec-prophecy (1.6.0-2) ...
  Setting up phpunit-global-state (1.1.1-2) ...
  Setting up phpunit-object-enumerator (1.0.0-2) ...
  Setting up phpunit-resource-operations (1.0.0-2) ...
  Setting up php-deepcopy (1.5.1-1) ...
  Setting up libxslt1.1:amd64 (1.1.28-3) ...
  Setting up php7.0-xml (7.0.6-3) ...
  
  Creating config file /etc/php/7.0/mods-available/dom.ini with new version
  
  Creating config file /etc/php/7.0/mods-available/simplexml.ini with new version
  
  Creating config file /etc/php/7.0/mods-available/wddx.ini with new version
  
  Creating config file /etc/php/7.0/mods-available/xml.ini with new version
  
  Creating config file /etc/php/7.0/mods-available/xmlreader.ini with new version
  
  Creating config file /etc/php/7.0/mods-available/xmlwriter.ini with new version
  
  Creating config file /etc/php/7.0/mods-available/xsl.ini with new version
  Setting up php-xml (1:7.0+40) ...
  Setting up phpunit (5.3.2+dfsg-1) ...
  Setting up php-pear (1:1.10.1+submodules+notgz-8) ...
  Setting up pkg-php-tools (1.34) ...
  Setting up php-codecoverage-build-deps (3.3.1+dfsg-1) ...
  Processing triggers for libc-bin (2.22-7) ...
   dpkg-buildpackage -rfakeroot -D -us -uc -b
  dpkg-buildpackage: info: source package php-codecoverage
  dpkg-buildpackage: info: source version 3.3.1+dfsg-1
  dpkg-buildpackage: info: source distribution unstable
  dpkg-buildpackage: info: source changed by David Prvot <taffit at debian.org>
   dpkg-source --before-build php-codecoverage-3.3.1+dfsg
  dpkg-buildpackage: info: host architecture amd64
   fakeroot debian/rules clean
  dh clean --with phpcomposer
     dh_testdir
     debian/rules override_dh_auto_clean
  make[1]: Entering directory '/home/lamby/temp/cdt.20160511172906.0bo8rPdO46.php-codecoverage/php-codecoverage-3.3.1+dfsg'
  rm -rf build/coverage
  rm -rf build/logs
  make[1]: Leaving directory '/home/lamby/temp/cdt.20160511172906.0bo8rPdO46.php-codecoverage/php-codecoverage-3.3.1+dfsg'
     dh_clean
   debian/rules build
  make: 'build' is up to date.
   fakeroot debian/rules binary
  dh binary --with phpcomposer
     dh_testdir
     dh_update_autotools_config
     dh_auto_configure
     debian/rules override_dh_auto_build
  make[1]: Entering directory '/home/lamby/temp/cdt.20160511172906.0bo8rPdO46.php-codecoverage/php-codecoverage-3.3.1+dfsg'
  phpab --output /home/lamby/temp/cdt.20160511172906.0bo8rPdO46.php-codecoverage/php-codecoverage-3.3.1+dfsg/src/CodeCoverage/Autoload.php \
  	--template /home/lamby/temp/cdt.20160511172906.0bo8rPdO46.php-codecoverage/php-codecoverage-3.3.1+dfsg/debian/Autoload.php.tpl \
  	--basedir /home/lamby/temp/cdt.20160511172906.0bo8rPdO46.php-codecoverage/php-codecoverage-3.3.1+dfsg/src/CodeCoverage /home/lamby/temp/cdt.20160511172906.0bo8rPdO46.php-codecoverage/php-codecoverage-3.3.1+dfsg/src
  phpab %development% - Copyright (C) 2009 - 2016 by Arne Blankerts
  
  Scanning directory /home/lamby/temp/cdt.20160511172906.0bo8rPdO46.php-codecoverage/php-codecoverage-3.3.1+dfsg/src
  
  Autoload file /home/lamby/temp/cdt.20160511172906.0bo8rPdO46.php-codecoverage/php-codecoverage-3.3.1+dfsg/src/CodeCoverage/Autoload.php generated.
  
  # Minify JavaScript files from source
  for i in d3 holder nv.d3 respond ; do \
  	uglifyjs -o build/${i}.min.js \
  	/home/lamby/temp/cdt.20160511172906.0bo8rPdO46.php-codecoverage/php-codecoverage-3.3.1+dfsg/debian/missing-sources/${i}.js ; \
  done
  # Minify CSS file from source
  cssmin < debian/missing-sources/nv.d3.css > build/nv.d3.min.css
  # Workaround the lack of PSR-4 support
  ln -s src PHP
  make[1]: Leaving directory '/home/lamby/temp/cdt.20160511172906.0bo8rPdO46.php-codecoverage/php-codecoverage-3.3.1+dfsg'
     debian/rules override_dh_auto_test
  make[1]: Entering directory '/home/lamby/temp/cdt.20160511172906.0bo8rPdO46.php-codecoverage/php-codecoverage-3.3.1+dfsg'
  ln -s /usr/share/javascript/bootstrap/css/bootstrap.min.css /home/lamby/temp/cdt.20160511172906.0bo8rPdO46.php-codecoverage/php-codecoverage-3.3.1+dfsg/src/CodeCoverage/Report/HTML/Renderer/Template/css
  ln -s /usr/share/javascript/bootstrap/js/bootstrap.min.js /home/lamby/temp/cdt.20160511172906.0bo8rPdO46.php-codecoverage/php-codecoverage-3.3.1+dfsg/src/CodeCoverage/Report/HTML/Renderer/Template/js
  ln -s /usr/share/javascript/jquery/jquery.min.js /home/lamby/temp/cdt.20160511172906.0bo8rPdO46.php-codecoverage/php-codecoverage-3.3.1+dfsg/src/CodeCoverage/Report/HTML/Renderer/Template/js
  ln -s /usr/share/twitter-bootstrap/files/html5shiv/html5shiv.min.js /home/lamby/temp/cdt.20160511172906.0bo8rPdO46.php-codecoverage/php-codecoverage-3.3.1+dfsg/src/CodeCoverage/Report/HTML/Renderer/Template/js
  phpunit --bootstrap src/CodeCoverage/Autoload.php
  PHPUnit 5.3.2 by Sebastian Bergmann and contributors.
  
  .....................FFF........................................  64 / 64 (100%)
  
  Time: 1.66 seconds, Memory: 12.00Mb
  
  There were 3 failures:
  
  1) PHP_CodeCoverage_Report_HTMLTest::testForBankAccountTest
  BankAccount.php.html not match
  Failed asserting that format description matches text.
  --- Expected
  +++ Actual
  @@ @@
       <p>
  -     <small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage %s</a> using <a href="http://php.net/" target="_top">%s</a> at %s.</small>
  +     <small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 3.3.1</a> using <a href="https://secure.php.net/" target="_top">PHP 7.0.6-3</a> at Wed May 11 17:29:39 BST 2016.</small>
       </p>
       <a title="Back to the top" id="toplink" href="#"><span class="glyphicon glyphicon-arrow-up"></span></a>
      </footer>
     </div>
     <script src="js/jquery.min.js" type="text/javascript"></script>
     <script src="js/bootstrap.min.js" type="text/javascript"></script>
     <script src="js/holder.min.js" type="text/javascript"></script>
     <script type="text/javascript">
     $(function() {
      var $window   = $(window)
        , $top_link = $('#toplink')
        , $body     = $('body, html')
        , offset    = $('#code').offset().top;
   
      $top_link.hide().click(function(event) {
       event.preventDefault();
       $body.animate({scrollTop:0}, 800);
      });
   
      $window.scroll(function() {
       if($window.scrollTop() > offset) {
        $top_link.fadeIn();
       } else {
        $top_link.fadeOut();
       }
      }).scroll();
   
      $('.popin').popover({trigger: 'hover'});
     });
     </script>
    </body>
   </html>
  
  /home/lamby/temp/cdt.20160511172906.0bo8rPdO46.php-codecoverage/php-codecoverage-3.3.1+dfsg/tests/PHP/CodeCoverage/Report/HTMLTest.php:108
  /home/lamby/temp/cdt.20160511172906.0bo8rPdO46.php-codecoverage/php-codecoverage-3.3.1+dfsg/tests/PHP/CodeCoverage/Report/HTMLTest.php:54
  
  2) PHP_CodeCoverage_Report_HTMLTest::testForFileWithIgnoredLines
  source_with_ignore.php.html not match
  Failed asserting that format description matches text.
  --- Expected
  +++ Actual
  @@ @@
       <p>
  -     <small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage %s</a> using <a href="http://php.net/" target="_top">%s</a> at %s.</small>
  +     <small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 3.3.1</a> using <a href="https://secure.php.net/" target="_top">PHP 7.0.6-3</a> at Wed May 11 17:29:39 BST 2016.</small>
       </p>
       <a title="Back to the top" id="toplink" href="#"><span class="glyphicon glyphicon-arrow-up"></span></a>
      </footer>
     </div>
     <script src="js/jquery.min.js" type="text/javascript"></script>
     <script src="js/bootstrap.min.js" type="text/javascript"></script>
     <script src="js/holder.min.js" type="text/javascript"></script>
     <script type="text/javascript">
     $(function() {
      var $window   = $(window)
        , $top_link = $('#toplink')
        , $body     = $('body, html')
        , offset    = $('#code').offset().top;
   
      $top_link.hide().click(function(event) {
       event.preventDefault();
       $body.animate({scrollTop:0}, 800);
      });
   
      $window.scroll(function() {
       if($window.scrollTop() > offset) {
        $top_link.fadeIn();
       } else {
        $top_link.fadeOut();
       }
      }).scroll();
   
      $('.popin').popover({trigger: 'hover'});
     });
     </script>
    </body>
   </html>
  
  /home/lamby/temp/cdt.20160511172906.0bo8rPdO46.php-codecoverage/php-codecoverage-3.3.1+dfsg/tests/PHP/CodeCoverage/Report/HTMLTest.php:108
  /home/lamby/temp/cdt.20160511172906.0bo8rPdO46.php-codecoverage/php-codecoverage-3.3.1+dfsg/tests/PHP/CodeCoverage/Report/HTMLTest.php:67
  
  3) PHP_CodeCoverage_Report_HTMLTest::testForClassWithAnonymousFunction
  source_with_class_and_anonymous_function.php.html not match
  Failed asserting that format description matches text.
  --- Expected
  +++ Actual
  @@ @@
       <p>
  -     <small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage %s</a> using <a href="http://php.net/" target="_top">%s</a> at %s.</small>
  +     <small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 3.3.1</a> using <a href="https://secure.php.net/" target="_top">PHP 7.0.6-3</a> at Wed May 11 17:29:39 BST 2016.</small>
       </p>
       <a title="Back to the top" id="toplink" href="#"><span class="glyphicon glyphicon-arrow-up"></span></a>
      </footer>
     </div>
     <script src="js/jquery.min.js" type="text/javascript"></script>
     <script src="js/bootstrap.min.js" type="text/javascript"></script>
     <script src="js/holder.min.js" type="text/javascript"></script>
     <script type="text/javascript">
     $(function() {
      var $window   = $(window)
        , $top_link = $('#toplink')
        , $body     = $('body, html')
        , offset    = $('#code').offset().top;
   
      $top_link.hide().click(function(event) {
       event.preventDefault();
       $body.animate({scrollTop:0}, 800);
      });
   
      $window.scroll(function() {
       if($window.scrollTop() > offset) {
        $top_link.fadeIn();
       } else {
        $top_link.fadeOut();
       }
      }).scroll();
   
      $('.popin').popover({trigger: 'hover'});
     });
     </script>
    </body>
   </html>
  
  /home/lamby/temp/cdt.20160511172906.0bo8rPdO46.php-codecoverage/php-codecoverage-3.3.1+dfsg/tests/PHP/CodeCoverage/Report/HTMLTest.php:108
  /home/lamby/temp/cdt.20160511172906.0bo8rPdO46.php-codecoverage/php-codecoverage-3.3.1+dfsg/tests/PHP/CodeCoverage/Report/HTMLTest.php:81
  
  FAILURES!
  Tests: 64, Assertions: 138, Failures: 3.
  
  Generating code coverage report in Clover XML format ... done
  
  Generating code coverage report in HTML format ... done
  debian/rules:27: recipe for target 'override_dh_auto_test' failed
  make[1]: *** [override_dh_auto_test] Error 1
  make[1]: Leaving directory '/home/lamby/temp/cdt.20160511172906.0bo8rPdO46.php-codecoverage/php-codecoverage-3.3.1+dfsg'
  debian/rules:3: recipe for target 'binary' failed
  make: *** [binary] Error 2

  [..]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: php-codecoverage.3.3.1+dfsg-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 5653 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-pear/attachments/20160511/93f662cd/attachment.obj>


More information about the pkg-php-pear mailing list