#3190 createrepo doesn't return error code when some files don't exist
Closed: Fixed by tkopecek. Opened by tkopecek.

createrepo.log indicates the errors but error code is (probably) still zero as createrepo task is not failing. We've to investigate this behaviour and fail task in such case as it is breaking the buildroots.

C_CREATEREPOLIB: C_CREATEREPOLIB: Warning: read_header: Fopen of /mnt/brew.../.ppc64le.rpm failed No such file or directory
Warning: read_header: Fopen of /mnt/brew...rpm failed No such file or directory
...
Pool finished with errors
Warning: There were some invalid packages: we have to recompress other, filelists and primary xml metadata files in order to have correct package counts

It is a difference compared to old createrepo. Created issue https://github.com/rpm-software-management/createrepo_c/issues/302

Metadata Update from @tkopecek:
- Custom field Size adjusted to None

Metadata Update from @tkopecek:
- Issue tagged with: testing-ready

Metadata Update from @tkopecek:
- Issue set to the milestone: 1.29 (was: 1.28)

Metadata Update from @tkopecek:
- Issue set to the milestone: 1.28 (was: 1.29)

Commit 98794647 fixes this issue

Commit 664043d0 relates to this ticket

Metadata Update from @mfilip:
- Issue tagged with: testing-done

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/koji/koji/issues/3190

Please continue any further discussion there.

Metadata
Related Pull Requests