php-zeta-base unit tests fail due to png optimization in php-zeta-unit-test

Bug #1549046 reported by Nish Aravamudan
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
php-zeta-unit-test (Ubuntu)
Fix Released
Low
Nish Aravamudan

Bug Description

I was investigating the build failure of php-zeta-base 1.9-2build1 (https://launchpadlibrarian.net/240582668/buildlog_ubuntu-xenial-amd64.php-zeta-base_1.9-2build1_BUILDING.txt.gz) and noticed that the PNG optimization has modified the php-zeta-unit-test PNG file /usr/share/php/data/UnitTest/design/class_diagram.png from:

-rw-r--r-- 1 root root 163K Feb 13 17:43 /usr/share/php/data/UnitTest/design/class_diagram.png
/usr/share/php/data/UnitTest/design/class_diagram.png: PNG image data, 1347 x 1032, 8-bit/color RGBA, non-interlaced

in Debian to:

-rw-r--r-- 1 root root 75K Feb 13 15:19 /usr/share/php/data/UnitTest/design/class_diagram.png
/usr/share/php/data/UnitTest/design/class_diagram.png: PNG image data, 1347 x 1032, 8-bit gray+alpha, non-interlaced

I'm assuming this is due to

pkgstripfiles: Running PNG optimization (using 4 cpus) for package php-zeta-unit-test

from the build of php-zeta-unit-test.

It seems like the PNG mangling should be disable for php-zeta-unit-tests, as it has some hard-coded meta data in dependent packages.

Nish Aravamudan (nacc)
summary: - php-zeta unit tests fail due to png optimization in php-zeta-unit-test
+ php-zeta-base unit tests fail due to png optimization in php-zeta-unit-
+ test
Changed in php-zeta-unit-test (Ubuntu):
assignee: nobody → Nish Aravamudan (nacc)
Changed in php-zeta-base (Ubuntu):
assignee: nobody → Nish Aravamudan (nacc)
Revision history for this message
Nish Aravamudan (nacc) wrote :

php-zeta-unit-test (1.0.2-2ubuntu1) xenial; urgency=medium

  * Disable PNG mangling (LP: #1549046).

 -- Nishanth Aravamudan <email address hidden> Tue, 23 Feb 2016 16:18:37 -0800

Changed in php-zeta-unit-test (Ubuntu):
status: New → In Progress
Revision history for this message
Nish Aravamudan (nacc) wrote :

With php-zeta-unit-tests 1.0.2-2ubuntu1, php-zeta-base 1.9-2build1 successfully builds & tests.

Mathew Hodson (mhodson)
no longer affects: php-zeta-base (Ubuntu)
Changed in php-zeta-unit-test (Ubuntu):
importance: Undecided → Low
Steve Langasek (vorlon)
Changed in php-zeta-unit-test (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package php-zeta-unit-test - 1.0.2-2ubuntu1

---------------
php-zeta-unit-test (1.0.2-2ubuntu1) xenial; urgency=medium

  * Disable PNG mangling (LP: #1549046).

 -- Nishanth Aravamudan <email address hidden> Tue, 23 Feb 2016 16:18:37 -0800

Changed in php-zeta-unit-test (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Steve Langasek (vorlon) wrote :

php-zeta-base now fails to build with the following error:

   debian/rules override_dh_auto_test
make[1]: Entering directory '/«PKGBUILDDIR»'
phpunit
Class 'DOMDocument' not found
debian/rules:17: recipe for target 'override_dh_auto_test' failed

Revision history for this message
Steve Langasek (vorlon) wrote :

> Class 'DOMDocument' not found

This appears to be bug #1549552.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.