Your message dated Thu, 26 Jan 2017 08:52:35 +0000
with message-id <[email protected]>
and subject line Bug#835122: fixed in php-doctrine-cache 1.6.1-1
has caused the Debian Bug report #835122,
regarding php-doctrine-cache: FTBFS (tests fail depending on stuff previously 
on /tmp)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
835122: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=835122
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:php-doctrine-cache
Version: 1.6.0-2
Severity: serious

Dear maintainer:

I tried to build this package in stretch with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --with phpcomposer
   dh_testdir -i
   dh_update_autotools_config -i
   dh_auto_configure -i
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# Provide autoload for the binary package
phpab --output  lib/Doctrine/Common/Cache/autoload.php \
                lib/Doctrine/Common/Cache
phpab %development% - Copyright (C) 2009 - 2016 by Arne Blankerts

Scanning directory lib/Doctrine/Common/Cache

Autoload file lib/Doctrine/Common/Cache/autoload.php generated.

# Provide autoload for tests
mkdir --parents vendor
phpab \
        --output vendor/autoload.php \
        lib/Doctrine/Common/Cache \
        tests/Doctrine/Tests \
        /usr/share/php/php-nrk-predis
phpab %development% - Copyright (C) 2009 - 2016 by Arne Blankerts

Scanning directory lib/Doctrine/Common/Cache
Scanning directory tests/Doctrine/Tests
Scanning directory /usr/share/php/php-nrk-predis

Autoload file vendor/autoload.php generated.

make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
php -d apc.enable_cli=on /usr/bin/phpunit
PHPUnit 5.4.6 by Sebastian Bergmann and contributors.

SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS   61 / 1309 (  4%)
SSSSSSSSSSSSSSS..............................................  122 / 1309 (  9%)
.............................................................  183 / 1309 ( 13%)
....................................S.S......S...............  244 / 1309 ( 18%)
..........................................................S.S  305 / 1309 ( 23%)
...SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS  366 / 1309 ( 27%)
SSSSSSSSSSSSSSSSSWWWWWW........E.E...........................  427 / 1309 ( 32%)
..........................................S.S...SSSSSSSSSSSSS  488 / 1309 ( 37%)
SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS  549 / 1309 ( 41%)
SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS  610 / 1309 ( 46%)
SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS  671 / 1309 ( 51%)
SSSSSSSSSSSSSSSSSSSSSSSSSSS....E.E...........................  732 / 1309 ( 55%)
....................................S.S...SSSSSSSSSSSSSSSSSSS  793 / 1309 ( 60%)
SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS  854 / 1309 ( 65%)
SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS  915 / 1309 ( 69%)
SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS  976 / 1309 ( 74%)
SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS 1037 / 1309 ( 79%)
SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS......SSSSSSSSSSSSSS 1098 / 1309 ( 83%)
SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS 1159 / 1309 ( 88%)
SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS 1220 / 1309 ( 93%)
SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS 1281 / 1309 ( 97%)
SSSSSSSSSSSSSSSSSSSSSSSSSSSS                                  1309 / 1309 (100%)

Time: 11.35 seconds, Memory: 12.00MB

There were 4 errors:

1) 
Doctrine\Tests\Common\Cache\FilesystemCacheTest::testWindowsPathLengthLimitIsCorrectlyHandled
 with data set #0 (257, false)
UnexpectedValueException: 
RecursiveDirectoryIterator::__construct(/tmp/do-not-try-to-enter-into-this-directory):
 failed to open dir: Permission denied

/<<PKGBUILDDIR>>/tests/Doctrine/Tests/Common/Cache/BaseFileCacheTest.php:27

2) 
Doctrine\Tests\Common\Cache\FilesystemCacheTest::testWindowsPathLengthLimitIsCorrectlyHandled
 with data set #2 (259, true)
UnexpectedValueException: 
RecursiveDirectoryIterator::__construct(/tmp/do-not-try-to-enter-into-this-directory):
 failed to open dir: Permission denied

/<<PKGBUILDDIR>>/tests/Doctrine/Tests/Common/Cache/BaseFileCacheTest.php:27

3) 
Doctrine\Tests\Common\Cache\PhpFileCacheTest::testWindowsPathLengthLimitIsCorrectlyHandled
 with data set #0 (257, false)
UnexpectedValueException: 
RecursiveDirectoryIterator::__construct(/tmp/do-not-try-to-enter-into-this-directory):
 failed to open dir: Permission denied

/<<PKGBUILDDIR>>/tests/Doctrine/Tests/Common/Cache/BaseFileCacheTest.php:27

4) 
Doctrine\Tests\Common\Cache\PhpFileCacheTest::testWindowsPathLengthLimitIsCorrectlyHandled
 with data set #2 (259, true)
UnexpectedValueException: 
RecursiveDirectoryIterator::__construct(/tmp/do-not-try-to-enter-into-this-directory):
 failed to open dir: Permission denied

/<<PKGBUILDDIR>>/tests/Doctrine/Tests/Common/Cache/BaseFileCacheTest.php:27

--

There were 6 warnings:

1) 
Doctrine\Tests\Common\Cache\FileCacheTest::testFilenameShouldCreateThePathWithOneSubDirectory
PHPUnit_Framework_TestCase::getMock() is deprecated, use 
PHPUnit_Framework_TestCase::createMock() or 
PHPUnit_Framework_TestCase::getMockBuilder() instead

2) Doctrine\Tests\Common\Cache\FileCacheTest::testFileExtensionCorrectlyEscaped
PHPUnit_Framework_TestCase::getMock() is deprecated, use 
PHPUnit_Framework_TestCase::createMock() or 
PHPUnit_Framework_TestCase::getMockBuilder() instead

3) 
Doctrine\Tests\Common\Cache\FileCacheTest::testFileExtensionSlashCorrectlyEscaped
PHPUnit_Framework_TestCase::getMock() is deprecated, use 
PHPUnit_Framework_TestCase::createMock() or 
PHPUnit_Framework_TestCase::getMockBuilder() instead

4) 
Doctrine\Tests\Common\Cache\FileCacheTest::testNonIntUmaskThrowsInvalidArgumentException
PHPUnit_Framework_TestCase::getMock() is deprecated, use 
PHPUnit_Framework_TestCase::createMock() or 
PHPUnit_Framework_TestCase::getMockBuilder() instead

5) 
Doctrine\Tests\Common\Cache\FileCacheTest::testGetDirectoryReturnsRealpathDirectoryString
PHPUnit_Framework_TestCase::getMock() is deprecated, use 
PHPUnit_Framework_TestCase::createMock() or 
PHPUnit_Framework_TestCase::getMockBuilder() instead

6) 
Doctrine\Tests\Common\Cache\FileCacheTest::testGetExtensionReturnsExtensionString
PHPUnit_Framework_TestCase::getMock() is deprecated, use 
PHPUnit_Framework_TestCase::createMock() or 
PHPUnit_Framework_TestCase::getMockBuilder() instead

ERRORS!
Tests: 62369, Assertions: 2107, Errors: 4, Warnings: 6, Skipped: 912.
debian/rules:22: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:3: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------

Because this source package only generates "Arch: all" packages, this
is the same as a FTBFS bug in the usual sense, and the fact that I was
doing "dpkg-buildpackage -A" does not mean anything special.

The first time it failed, the error was like this:

UnexpectedValueException: 
RecursiveDirectoryIterator::__construct(/tmp/systemd-[...]

where /tmp/systemd-[...] is one of those directories created by systemd on /tmp.

This led me to believe that the test suite was apparently choosing a
directory at random in /tmp and trying to list its contents (or maybe
trying to do a recursive listing of /tmp). So I created

/tmp/do-not-try-to-enter-into-this-directory

owned by root with mode 700, made sure this was the only directory in
/tmp and tried to build again.

The result is the build log shown above.

Needless to say, this bug makes quite difficult to build the package
on systems using systemd.

Thanks.

--- End Message ---
--- Begin Message ---
Source: php-doctrine-cache
Source-Version: 1.6.1-1

We believe that the bug you reported is fixed in the latest version of
php-doctrine-cache, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
David Prévot <[email protected]> (supplier of updated php-doctrine-cache 
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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 25 Jan 2017 21:46:51 -1000
Source: php-doctrine-cache
Binary: php-doctrine-cache
Architecture: source
Version: 1.6.1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian PHP PEAR Maintainers <[email protected]>
Changed-By: David Prévot <[email protected]>
Description:
 php-doctrine-cache - cache library - Doctrine component
Closes: 835122
Changes:
 php-doctrine-cache (1.6.1-1) unstable; urgency=medium
 .
   [ Marco Pivetta ]
   * Bumping to development release 1.6.1-DEV
   * #187 rewriting some bits of file cache testing to prevent writing
     directly to `/tmp`, and instead use subdirs (Closes: #835122)
 .
   [ David Prévot ]
   * Update Standards-Version to 3.9.8
Checksums-Sha1:
 5f74d268ba61990d3eeecb05e95570a9bde78d6e 1845 php-doctrine-cache_1.6.1-1.dsc
 e24fd3b52dfac11790f0b5b5331e01e16e08e152 29938 
php-doctrine-cache_1.6.1.orig.tar.gz
 c75ddfcef596f0a3951640c51117e3c4dcc22eb8 5468 
php-doctrine-cache_1.6.1-1.debian.tar.xz
Checksums-Sha256:
 186c789482c074c1551e3022e23b757882a18122b23b112f0a9c64c009635001 1845 
php-doctrine-cache_1.6.1-1.dsc
 96fc6df0bfa7bf2d7c823470d537923bed3399b260f345c7747392f90a7fe5a7 29938 
php-doctrine-cache_1.6.1.orig.tar.gz
 1ce5d78c5ad7b6b640a511bf17d26001ed74dfdea717992610ad095bf1776b5d 5468 
php-doctrine-cache_1.6.1-1.debian.tar.xz
Files:
 d8561fc9d2926642ff8b907706195596 1845 php optional 
php-doctrine-cache_1.6.1-1.dsc
 067ba7b0dba0cd42b544ebd945a1dbf4 29938 php optional 
php-doctrine-cache_1.6.1.orig.tar.gz
 c170f48e5f09e32dbeee89cda370915b 5468 php optional 
php-doctrine-cache_1.6.1-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEeHVNB7wJXHRI941mBYwc+UT2vTwFAliJq3YACgkQBYwc+UT2
vTw9lggAnTUY37VJrLFvuxkHU4iqAW6LGf6pU5MW2Mk0Kfb+rGGlcJXJXsYud23E
Jx55SI4UddQdE1yKnU/GyMM+K6mugcxNULW5RGpaNB3aX6Arik45GBDh9ev4y7Qp
igLcHIYewEPu0XG67pq32TDhQh03pkUHKjePQN+YwAj3ida+hmkKkeIvhudSqgUi
hxn0X6/N/51O0bu0X0qnjhh0dp8DQn+0dxCrDEtfQhJIIT3J8Q+tKU2RlZFvKvyz
gPx/XxdgZFQ9OggFphYRBv/I1seHxCuZhdTp3JwduFtZlRGdDOwfPSfPe2lEGEWv
NtKuIej6BZbaKjJQmb5ezYEpMjmzhw==
=SErW
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to