Bug 1727136

Summary: proxysql-1.3.7-9.fc31 FTBFS: mysql_data_stream.cpp:3:10: fatal error: zlib.h: No such file or directory
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: proxysqlAssignee: Petr Pisar <ppisar>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 31CC: acaringi, hhorak, mschorm, releng
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: proxysql-1.3.7-11.fc32 proxysql-1.3.7-11.fc31 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-09-16 00:02:04 UTC Type: Bug
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    

Description Petr Pisar 2019-07-04 15:06:04 UTC
proxysql-1.3.7-9.fc31 fails to build in F31:

g++ -fPIC -c -o obj/mysql_data_stream.oo mysql_data_stream.cpp -std=c++11 -I../include -I../deps/jemalloc/jemalloc/include/jemalloc -I../deps/mariadb-client-library/mariadb_client/include -I../deps/re2/re2 -O2 -ggdb  -Wall -DGITVERSION=\"\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
[...]
BUILDSTDERR: mysql_data_stream.cpp:3:10: fatal error: zlib.h: No such file or directory
BUILDSTDERR:     3 | #include <zlib.h>
BUILDSTDERR:       |          ^~~~~~~~
BUILDSTDERR: compilation terminated.

A difference between passing and failing build root is at <https://apps.fedoraproject.org/koschei/build/6258734>.

I believe this is triggered by upgrading openssl-devel from 1:1.1.1b-3.fc31 to
1:1.1.1b-4.fc31 that removed a dependency on zlib-devel.

Comment 1 Ben Cotton 2019-08-13 16:57:03 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to '31'.

Comment 2 Ben Cotton 2019-08-13 19:06:35 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to 31.

Comment 3 Petr Pisar 2019-09-03 06:37:04 UTC
*** Bug 1736457 has been marked as a duplicate of this bug. ***

Comment 4 Fedora Update System 2019-09-12 13:37:33 UTC
FEDORA-2019-5daff12ada has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-5daff12ada

Comment 5 Fedora Update System 2019-09-12 14:45:30 UTC
proxysql-1.3.7-11.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-5daff12ada

Comment 6 Fedora Update System 2019-09-16 00:02:04 UTC
proxysql-1.3.7-11.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.