Bug 1736435

Summary: php-pecl-lzf: FTBFS in Fedora rawhide/f31
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: php-pecl-lzfAssignee: Carl George <carlwgeorge>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: andrew, carlwgeorge, mtasaka
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-05 15:02:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1700317, 1732841    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Fedora Release Engineering 2019-08-01 17:36:22 UTC
php-pecl-lzf failed to build from source in Fedora rawhide/f31

https://koji.fedoraproject.org/koji/taskinfo?taskID=36636826


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Please fix php-pecl-lzf at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
php-pecl-lzf will be orphaned. Before branching of Fedora 32,
php-pecl-lzf will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://fedoraproject.org/wiki/Fails_to_build_from_source

Comment 1 Fedora Release Engineering 2019-08-01 17:36:25 UTC
Created attachment 1598602 [details]
build.log

Comment 2 Fedora Release Engineering 2019-08-01 17:36:28 UTC
Created attachment 1598603 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2019-08-01 17:36:29 UTC
Created attachment 1598604 [details]
state.log

Comment 4 Carl George 2019-08-05 15:00:53 UTC
The test suite failed on s390x only.

Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.j5zyNw
+ umask 022
+ cd /builddir/build/BUILD
+ cd php-pecl-lzf-1.6.7
+ cd LZF-1.6.7
+ TEST_PHP_EXECUTABLE=/usr/bin/php
+ REPORT_EXIT_STATUS=1
+ NO_INTERACTION=1
+ /usr/bin/php run-tests.php -n -q -d extension=/builddir/build/BUILDROOT/php-pecl-lzf-1.6.7-2.fc31.s390x/usr/lib64/php/modules/lzf.so
BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.j5zyNw (%check)
=====================================================================
PHP         : /usr/bin/php 
PHP_SAPI    : cli
PHP_VERSION : 7.3.8RC1
ZEND_VERSION: 3.3.8RC1
PHP_OS      : Linux - Linux buildvm-s390x-24.s390.fedoraproject.org 5.1.16-200.fc29.s390x #1 SMP Wed Jul 3 16:08:58 UTC 2019 s390x
INI actual  : /builddir/build/BUILD/php-pecl-lzf-1.6.7/LZF-1.6.7
More .INIs  :   
CWD         : /builddir/build/BUILD/php-pecl-lzf-1.6.7/LZF-1.6.7
Extra dirs  : 
VALGRIND    : Not used
=====================================================================
TIME START 2019-07-28 22:59:49
=====================================================================
TEST 1/7 [tests/001.phpt]
PASS Check for lzf presence [tests/001.phpt] 
TEST 2/7 [tests/002.phpt]
PASS lzf_compress() [tests/002.phpt] 
TEST 3/7 [tests/003.phpt]
PASS lzf_decompress() [tests/003.phpt] 
TEST 4/7 [tests/004.phpt]
PASS filter lzf.compress [tests/004.phpt] 
TEST 5/7 [tests/005.phpt]
XFAIL filter lzf.decompress [tests/005.phpt]   XFAIL REASON: Decompress filter is not implemented
TEST 6/7 [tests/006.phpt]
FAIL lzf.compress on binary may result in larger string than input [tests/006.phpt] 
TEST 7/7 [tests/bug70727.phpt]
PASS bug70727 zend_mm_heap corrupted when uncompressed size multiple of 1024 [tests/bug70727.phpt] 
=====================================================================
TIME END 2019-07-28 22:59:49
=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped    :    0 
Exts tested     :   15
---------------------------------------------------------------------
Number of tests :    7                 7 
Tests skipped   :    0 (  0.0%) --------
Tests warned    :    0 (  0.0%) (  0.0%)
Tests failed    :    1 ( 14.3%) ( 14.3%)
Expected fail   :    1 ( 14.3%) ( 14.3%)
Tests passed    :    5 ( 71.4%) ( 71.4%)
---------------------------------------------------------------------
Time taken      :    0 seconds
=====================================================================
=====================================================================
EXPECTED FAILED TEST SUMMARY
---------------------------------------------------------------------
filter lzf.decompress [tests/005.phpt]  XFAIL REASON: Decompress filter is not implemented
=====================================================================
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
lzf.compress on binary may result in larger string than input [tests/006.phpt]
=====================================================================

Comment 5 Carl George 2019-08-05 15:02:26 UTC
It's now working, with no changes.  It must have been something temporarily wrong with the s390x build root.

https://koji.fedoraproject.org/koji/buildinfo?buildID=1336199