[pkg-php-pear] Bug#882908: php-directory-scanner FTBFS with phpunit 6.4.4-2
Adrian Bunk
bunk at debian.org
Mon Nov 27 19:40:25 UTC 2017
Source: php-directory-scanner
Version: 1.3.2-1
Severity: serious
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/php-directory-scanner.html
...
debian/rules override_dh_auto_test
make[1]: Entering directory '/build/1st/php-directory-scanner-1.3.2'
ant test
Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-8-openjdk-amd64/lib/tools.jar
Buildfile: /build/1st/php-directory-scanner-1.3.2/build.xml
parallelTasks:
phpcpd:
pdepend:
[exec] phpcpd 3.0.1 by Sebastian Bergmann.
[exec]
[exec] 0.00% duplicated lines out of 540 total lines of code.
[exec]
[exec] Time: 31 ms, Memory: 4.00MB
phpcs:
[exec] PDepend @package_version@
[exec]
[exec] Parsing source files:
[exec] ..... 5
[exec]
[exec] Calculating Dependency metrics:
[exec] . 25
[exec]
[exec] Calculating Coupling metrics:
[exec] . 35
[exec]
[exec] Calculating Cyclomatic Complexity metrics:
[exec] . 35
[exec]
[exec] Calculating Inheritance metrics:
[exec] 6
[exec]
[exec] Calculating Node Count metrics:
[exec] . 25
[exec]
[exec] Calculating Node Loc metrics:
[exec] . 29
[exec]
[exec] Generating pdepend log files, this may take a moment.
[exec]
[exec] Time: 0:00:00; Memory: 10.00Mb
phpmd:
phploc:
[exec] phploc 4.0.1 by Sebastian Bergmann.
[exec]
[exec] Size
[exec] Lines of Code (LOC) 540
[exec] Comment Lines of Code (CLOC) 325 (60.19%)
[exec] Non-Comment Lines of Code (NCLOC) 215 (39.81%)
[exec] Logical Lines of Code (LLOC) 49 (9.07%)
[exec] Classes 44 (89.80%)
[exec] Average Class Length 8
[exec] Minimum Class Length 2
[exec] Maximum Class Length 29
[exec] Average Method Length 1
[exec] Minimum Method Length 1
[exec] Maximum Method Length 7
[exec] Functions 5 (10.20%)
[exec] Average Function Length 5
[exec] Not in classes or functions 0 (0.00%)
[exec]
[exec] Cyclomatic Complexity
[exec] Average Complexity per LLOC 0.31
[exec] Average Complexity per Class 3.60
[exec] Minimum Class Complexity 1.00
[exec] Maximum Class Complexity 8.00
[exec] Average Complexity per Method 1.68
[exec] Minimum Method Complexity 1.00
[exec] Maximum Method Complexity 5.00
[exec]
[exec] Dependencies
[exec] Global Accesses 0
[exec] Global Constants 0 (0.00%)
[exec] Global Variables 0 (0.00%)
[exec] Super-Global Variables 0 (0.00%)
[exec] Attribute Accesses 19
[exec] Non-Static 19 (100.00%)
[exec] Static 0 (0.00%)
[exec] Method Calls 17
[exec] Non-Static 17 (100.00%)
[exec] Static 0 (0.00%)
[exec]
[exec] Structure
[exec] Namespaces 1
[exec] Interfaces 0
[exec] Traits 0
[exec] Classes 5
[exec] Abstract Classes 0 (0.00%)
[exec] Concrete Classes 5 (100.00%)
[exec] Methods 19
[exec] Scope
[exec] Non-Static Methods 19 (100.00%)
[exec] Static Methods 0 (0.00%)
[exec] Visibility
[exec] Public Methods 18 (94.74%)
[exec] Non-Public Methods 1 (5.26%)
[exec] Functions 1
[exec] Named Functions 0 (0.00%)
[exec] Anonymous Functions 1 (100.00%)
[exec] Constants 2
[exec] Global Constants 0 (0.00%)
[exec] Class Constants 2 (100.00%)
[exec] Result: 2
testdata:
[mkdir] Created dir: /build/1st/php-directory-scanner-1.3.2/tests/_data/empty
[symlink] Removing symlink: /build/1st/php-directory-scanner-1.3.2/tests/_data/linkdir
phpunit:
[exec] PHP Fatal error: Class 'PHPUnit_Framework_TestCase' not found in /build/1st/php-directory-scanner-1.3.2/tests/directoryscanner.test.php on line 48
BUILD FAILED
/build/1st/php-directory-scanner-1.3.2/build.xml:39: exec returned: 255
Total time: 1 second
debian/rules:7: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
More information about the pkg-php-pear
mailing list