Bug 1715754 - createrepo_c fails in container: symbol lookup error: /lib64/libcreaterepo_c.so.0: undefined symbol: modulemd_module_index_update_from_custom
Summary: createrepo_c fails in container: symbol lookup error: /lib64/libcreaterepo_c....
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: createrepo_c
Version: 30
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-05-31 07:30 UTC by Jan Pazdziora
Modified: 2019-06-01 00:52 UTC (History)
9 users (show)

Fixed In Version: createrepo_c-0.14.1-2.fc30
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-01 00:52:15 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jan Pazdziora 2019-05-31 07:30:41 UTC
Description of problem:

Running createrepo_c fails.

Version-Release number of selected component (if applicable):

createrepo_c-0.14.1-1.fc30.x86_64
createrepo_c-libs-0.14.1-1.fc30.x86_64

How reproducible:

Deterministic.

Steps to Reproduce:
1. docker run --rm -ti registry.fedoraproject.org/fedora:30 bash
in container 2. dnf install -y createrepo_c
in container 3. mkdir /tmp/test
in container 4. createrepo_c /tmp/test

Actual results:

createrepo_c: symbol lookup error: /lib64/libcreaterepo_c.so.0: undefined symbol: modulemd_module_index_update_from_custom

Expected results:

Directory walk started
Directory walk done - 0 packages
Temporary output repo path: /tmp/test/.repodata/
Preparing sqlite DBs
Pool started (with 5 workers)
Pool finished

Additional info:

Comment 1 Jan Pazdziora 2019-05-31 07:36:29 UTC
This is a regression against 0.12.2-1.

Passing rpm2swidtag automation with createrepo_c-0.12.2-1.fc30:
https://travis-ci.org/swidtags/rpm2swidtag/jobs/536467607

Failing with createrepo_c-0.14.1-1.fc30:
https://travis-ci.org/swidtags/rpm2swidtag/jobs/539383877

Comment 2 Viktor Ashirov 2019-05-31 10:40:06 UTC
This was fixed in createrepo_c-0.14.1-2.fc30:
https://koji.fedoraproject.org/koji/buildinfo?buildID=1272822

I've added karma to the update:
https://bodhi.fedoraproject.org/updates/FEDORA-2019-3a3a964695

Comment 3 Jan Pazdziora 2019-05-31 11:06:51 UTC
Confirming that that build pulls in libmodulemd1-1.8.11-1.fc30.x86_64 upgrade, fixing the issue.

Comment 4 Fedora Update System 2019-05-31 11:17:21 UTC
FEDORA-2019-3a3a964695 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-3a3a964695

Comment 5 Fedora Update System 2019-06-01 00:52:15 UTC
createrepo_c-0.14.1-2.fc30 has been pushed to the Fedora 30 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.