Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1705543 - Add "zlib-devel" requirement in "-devel" subpackage on f29
Summary: Add "zlib-devel" requirement in "-devel" subpackage on f29
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mariadb-connector-c
Version: 29
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michal Schorm
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1692700
TreeView+ depends on / blocked
 
Reported: 2019-05-02 13:16 UTC by Jun Aruga
Modified: 2019-05-12 10:39 UTC (History)
4 users (show)

Fixed In Version: mariadb-connector-c-3.0.9-3.fc29
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-05-12 10:39:59 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jun Aruga 2019-05-02 13:16:04 UTC
Description of problem:

mariadb-connector-c-devel is used in rubygem-mysql2 of ruby module that is built on f29, f30, f31.

I like to ask below commit is cherrypicked to f29 branch too.
https://src.fedoraproject.org/rpms/mariadb-connector-c/c/8781fc38b459e984dddc0139028c1286d06452e4?branch=master


Version-Release number of selected component (if applicable):
x86_64 3.0.9-2.fc29

How reproducible:


Steps to Reproduce:
1. fedpkg co modules/ruby
2. cd ruby
3. git checkout 2.5
4. fedpkg module-build

Actual results:

The module build on f29
https://koji.fedoraproject.org/koji/taskinfo?taskID=34574699

build.log

```
gcc -shared -o mysql2.so client.o infile.o mysql2_ext.o result.o statement.o -L. -L/usr/lib64 -L/usr/lib64/ -L. -Wl,-z,relro   -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-z,relro   -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -m64  -m64  -lruby -L/usr/lib64/ -lmariadb -lz -ldl -lm -lpthread -lssl -lcrypto    -lc
BUILDSTDERR: /usr/bin/ld: cannot find -lz
BUILDSTDERR: collect2: error: ld returned 1 exit status
BUILDSTDERR: make: *** [Makefile:260: mysql2.so] Error 1
```

Seeing the root.log mariadb-connector-c-devel does not install zlib-devel unlike other f30, f31.


Expected results:

The build is success.


Additional info:


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

Comment 1 Jun Aruga 2019-05-02 13:18:51 UTC
Simply rubygem-mysql2 build on f29 is failed.

```
$ fedpkg co rubygem-mysql2
$ cd rubygem-mysql2
$ git checkout f29
$ fedpkg srpm
$ fedpkg scratch-build --srpm
```

https://koji.fedoraproject.org/koji/taskinfo?taskID=34577456
=> failed.

Comment 2 Michal Schorm 2019-05-02 13:21:08 UTC
Pushed, building.

Comment 3 Fedora Update System 2019-05-02 13:32:09 UTC
mariadb-connector-c-3.0.9-3.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-2df91707da

Comment 4 Jun Aruga 2019-05-02 13:32:38 UTC
Oh so quick!
Thanks.

Comment 5 Michal Schorm 2019-05-02 13:47:28 UTC
FTL maintainer ;)

Comment 6 Fedora Update System 2019-05-03 05:41:47 UTC
mariadb-connector-c-3.0.9-3.fc29 has been pushed to the Fedora 29 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-2df91707da

Comment 7 Fedora Update System 2019-05-12 10:39:59 UTC
mariadb-connector-c-3.0.9-3.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.