#34 FTBFS with old rpkg-util
Closed by praiskup. Opened by praiskup.

Per Copr testsuite results:

cmd: ['git', 'clone', 'https://src.fedoraproject.org/rpms/rpkg-util.git', '/var/lib/copr-rpmbuild/workspace/workdir-mlqd_q1_/rpkg-util', '--depth', '500', '--no-single-branch']
cwd: .
rc: 0
stdout: 
stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-mlqd_q1_/rpkg-util'...
Generated rpkg config:
[rpkg]
preprocess_spec = True
# auto-packing is deprecated:
auto_pack = True
[git]
lookaside = https://src.fedoraproject.org/repo/pkgs/%(ns1)s/%(name)s/%(filename)s/%(hashtype)s/%(hash)s/%(filename)s
anongiturl = https://src.fedoraproject.org/%(module)s
Writing config into /var/lib/copr-rpmbuild/workspace/workdir-mlqd_q1_/.config/rpkg.conf
Running: rpkg srpm --outdir /var/lib/copr-rpmbuild/results --spec /var/lib/copr-rpmbuild/workspace/workdir-mlqd_q1_/rpkg-util
cmd: ['rpkg', 'srpm', '--outdir', '/var/lib/copr-rpmbuild/results', '--spec', '/var/lib/copr-rpmbuild/workspace/workdir-mlqd_q1_/rpkg-util']
cwd: /var/lib/copr-rpmbuild/workspace/workdir-mlqd_q1_/rpkg-util
rc: 0
stdout: Downloading rpkg-util-9718eb15.tar.gz from lookaside cache at src.fedoraproject.org
Downloading rpkg-util-3f4188b4.tar.gz from lookaside cache at src.fedoraproject.org
stderr: /bin/bash: -c: line 1: syntax error near unexpected token `;'
/bin/bash: -c: line 1: `. /usr/lib/python3.9/site-packages/rpkglib/preproc/setup; ;'
 failed with value 2

Mea culpa, sorry. I did not interpret the failure correctly - that is actually
dist-git build failure. The problem was the empty {{{ }}} tag in comments
in dist-git's spec file.

I fixed this by https://src.fedoraproject.org/rpms/rpkg-util/c/b740cbc979479147b947d734c6622a2ed36f7ad6?branch=rawhide

Sorry for stepping in too fast, that was breaking our Copr testsuite which
depends on the dist-git rpkg-util.git shape :-/

Metadata Update from @praiskup:
- Issue status updated to: Closed (was: Open)

Yeah, good find. rpkg-util 3 can deal with those empty tags. rpkg-util 2 couldn't.

This issue has been migrated to GitHub: https://github.com/fedora-copr/rpkg-util/issues/34
Don't forget to subscribe for notifications about new comments.

Metadata