This is happening because mash
chokes on the rubygem-hammer_cli_foreman_virt_who_configure-0.0.7-1.el8
build that was added yesterday in https://github.com/theforeman/foreman-packaging/pull/6139.
That said, I see nothing wrong with the RPM built, and the EL7 one is accepted just fine.
It chokes when parsing the generated other.xml
:
I/O error : No such file or directory
(process:21413): GLib-WARNING **: 11:18:49.674: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: Parsing other.xml error: attributes construct error
(process:21413): GLib-WARNING **: 11:18:49.674: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: Parsing other.xml error: Couldn't find end of Start Tag changelog line 600
(process:21413): GLib-WARNING **: 11:18:49.674: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: Parsing other.xml error: Premature end of data in tag package line 596
(process:21413): GLib-WARNING **: 11:18:49.674: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: Parsing other.xml error: Premature end of data in tag otherdata line 2
followed by
Traceback (most recent call last):
File "/usr/bin/mash", line 109, in <module>
main()
File "/usr/bin/mash", line 86, in main
rc = themash.doCompose()
File "/usr/lib/python2.7/site-packages/mash/__init__.py", line 472, in doCompose
repocache=repocache, comps=True, arch=arch)
File "/usr/lib/python2.7/site-packages/mash/__init__.py", line 275, in _write_files
repo_path, repocache, arch, comps, previous=previous_path)
File "/usr/lib/python2.7/site-packages/mash/__init__.py", line 151, in _makeMetadata
md.run(path)
File "/usr/lib/python2.7/site-packages/mash/metadata.py", line 289, in run
self.obj.run(path)
File "/usr/lib/python2.7/site-packages/mash/metadata.py", line 234, in run
self.repomatic.doRepoMetadata()
File "/usr/lib/python2.7/site-packages/createrepo/__init__.py", line 1017, in doRepoMetadata
gen_func(complete_path, csum)
File "/usr/lib64/python2.7/site-packages/sqlitecachec.py", line 61, in getOtherdata
self.repoid))
TypeError: Parsing other.xml error: Specification mandate value for attribute auth
However, I don’t see any problem in the diff between a working and a non-working other.xml
:
--- c07c24b613548406257371603f4eb28a050f512f7f8419903d9f259b88aa0133-other.xml 2020-12-15 11:23:46.381879485 +0000
+++ other.xml 2020-12-15 11:23:39.012855786 +0000
@@ -317,8 +317,8 @@
<changelog author="Eric D. Helms <ericdhelms@gmail.com> 2.3.1-1" date="1523361600">- Update hammer_cli_csv to 2.3.1</changelog>
<changelog author="Eric D. Helms <ericdhelms@gmail.com> - 2.3.1-2" date="1536667200">- Rebuild for Rails 5.2 and Ruby 2.5</changelog>
</package>
-<package pkgid="f24a6cfb55049e6091b06252d74c55cc7e1a87f63f36dd1e60996ecec855ba8b" name="rubygem-hammer_cli_foreman_virt_who_configure" arch="noarch">
- <version epoch="0" ver="0.0.6" rel="1.el8"/>
+<package pkgid="0d68fcc86dd7ba1957c3e8b242ac75bf402e7165a7b6b113f6f3cd7dc0b90425" name="rubygem-hammer_cli_foreman_virt_who_configure" arch="noarch">
+ <version epoch="0" ver="0.0.7" rel="1.el8"/>
<changelog author="Eric D. Helms <ericdhelms@gmail.com> 0.0.2-1" date="1496836800">- new package built with tito</changelog>
<changelog author="Eric D. Helms <ericdhelms@gmail.com> 0.0.3-1" date="1498478400">- Update hammer_cli_foreman_virt_who_configure to 0.0.3 (tstrachota@redhat.com)</changelog>
<changelog author="Eric D. Helms <ericdhelms@gmail.com> 0.0.3-2" date="1515585600">- new package built with tito</changelog>
@@ -326,9 +326,10 @@
<changelog author="Marek Hulan <mhulan@redhat.com> 0.0.4-1" date="1567598400">- Update to 0.0.4</changelog>
<changelog author="Marek Hulan <mhulan@redhat.com> 0.0.5-1" date="1574856000">- Update to 0.0.5</changelog>
<changelog author="Marek Hulan <mhulan@redhat.com> 0.0.6-1" date="1584100800">- Update to 0.0.6</changelog>
+ <changelog author="Jonathon Turel <jturel@gmail.com> 0.0.7-1" date="1607947200">- Update to 0.0.7</changelog>
</package>
-<package pkgid="41c29b95ab374b06524415c8d79c6c24884d1e49e0fefed3884969c5d2e0afcb" name="rubygem-hammer_cli_foreman_virt_who_configure-doc" arch="noarch">
- <version epoch="0" ver="0.0.6" rel="1.el8"/>
+<package pkgid="68a4d27875aa7c11bba4debe9a2493f5ba0c7762a93299744ce49d3168b04b3c" name="rubygem-hammer_cli_foreman_virt_who_configure-doc" arch="noarch">
+ <version epoch="0" ver="0.0.7" rel="1.el8"/>
<changelog author="Eric D. Helms <ericdhelms@gmail.com> 0.0.2-1" date="1496836800">- new package built with tito</changelog>
<changelog author="Eric D. Helms <ericdhelms@gmail.com> 0.0.3-1" date="1498478400">- Update hammer_cli_foreman_virt_who_configure to 0.0.3 (tstrachota@redhat.com)</changelog>
<changelog author="Eric D. Helms <ericdhelms@gmail.com> 0.0.3-2" date="1515585600">- new package built with tito</changelog>
@@ -336,6 +337,7 @@
<changelog author="Marek Hulan <mhulan@redhat.com> 0.0.4-1" date="1567598400">- Update to 0.0.4</changelog>
<changelog author="Marek Hulan <mhulan@redhat.com> 0.0.5-1" date="1574856000">- Update to 0.0.5</changelog>
<changelog author="Marek Hulan <mhulan@redhat.com> 0.0.6-1" date="1584100800">- Update to 0.0.6</changelog>
+ <changelog author="Jonathon Turel <jturel@gmail.com> 0.0.7-1" date="1607947200">- Update to 0.0.7</changelog>
</package>
<package pkgid="f0790d66d9dc28e87c736203947e35d17780998cb92730de212faa3e4e32d96e" name="rubygem-hammer_cli_katello" arch="noarch">
<version epoch="0" ver="0.25" rel="0.1.pre.master.20201210163811git54b62a9.el8"/>
So I’m kinda stumped here, but also not entirely motivated to debug Koji errors today
I’ll keep that one build untagged, to let it work for now.