How to provide feedback to testing updates in bodhi

I am trying to leave some feedback in bodhi for a package which is in updates-testing and will soon be promoted to stable. However, I have encountered an issue with that update and would like to give some feedback and negative karma.
However, whenever I try to “Add Comment & Feedback”, I get a message:

Testcase_feedback : Invalid testcase names specified: QA:Testcase build from distgit with mock, QA:Testcase clone distgit repository, QA:Testcase download upstream sources, QA:Testcase scratch build from distgit

What am I doing wrong?

2 Likes

Can you provide a link to the update please so folks here can take a look?

Sure. The package is rpkg.
https://bodhi.fedoraproject.org/updates/FEDORA-2020-b81268fd86

I also filed a corresponding bug in bugzilla, which worked fine.
https://bugzilla.redhat.com/show_bug.cgi?id=1867440

2 Likes

Thanks, the test case pages on the wiki look OK, so this could perhaps be a bodhi regression. Could you file an issue here please so that the bodhi folks can look into it?

About the issue with the update itself, I’m unable to reproduce it:

(ins)[asinha@ankur  fpaste(master %=)]$ rpm -qa \*rpkg\*
rpkg-common-1.60-7.fc32.noarch
python3-rpkg-1.60-7.fc32.noarch

(ins)[asinha@ankur  fedora-packages]$ fedpkg co fpaste
Cloning into 'fpaste'...
remote: Enumerating objects: 359, done.
remote: Counting objects: 100% (359/359), done.
remote: Compressing objects: 100% (298/298), done.
remote: Total 359 (delta 147), reused 118 (delta 49)
Receiving objects: 100% (359/359), 70.48 KiB | 343.00 KiB/s, done.
Resolving deltas: 100% (147/147), done.

(ins)[asinha@ankur  fedora-packages]$ cd fpaste/

(ins)[asinha@ankur  fpaste(master=)]$ fedpkg --release 32 local
Downloading fpaste-0.4.0.1.tar.gz
######################################################################## 100.0%
Could not execute local: Could not find the release/dist from branch name 32
Please specify with --release

(ins)[asinha@ankur  fpaste(master=)]$ fedpkg --release f32 local

setting SOURCE_DATE_EPOCH=1595808000
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.oUgpOj
+ umask 022
+ cd /home/asinha/Documents/02_Code/00_mine/fedora-packages/fpaste
+ cd /home/asinha/Documents/02_Code/00_mine/fedora-packages/fpaste
+ rm -rf fpaste-0.4.0.1
+ /usr/bin/gzip -dc /home/asinha/Documents/02_Code/00_mine/fedora-packages/fpaste/fpaste-0.4.0.1.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd fpaste-0.4.0.1
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.DRePTj
+ umask 022
+ cd /home/asinha/Documents/02_Code/00_mine/fedora-packages/fpaste
+ cd fpaste-0.4.0.1
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Txi6mg
+ umask 022
+ cd /home/asinha/Documents/02_Code/00_mine/fedora-packages/fpaste
+ '[' /home/asinha/Documents/02_Code/00_mine/fedora-packages/fpaste/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64 '!=' / ']'
+ rm -rf /home/asinha/Documents/02_Code/00_mine/fedora-packages/fpaste/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64
++ dirname /home/asinha/Documents/02_Code/00_mine/fedora-packages/fpaste/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64
+ mkdir -p /home/asinha/Documents/02_Code/00_mine/fedora-packages/fpaste/BUILDROOT
+ mkdir /home/asinha/Documents/02_Code/00_mine/fedora-packages/fpaste/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64
+ cd fpaste-0.4.0.1
+ mkdir -p /home/asinha/Documents/02_Code/00_mine/fedora-packages/fpaste/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64/usr/bin
+ make install BINDIR=/home/asinha/Documents/02_Code/00_mine/fedora-packages/fpaste/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64/usr/bin MANDIR=/home/asinha/Documents/02_Code/00_mine/fedora-packages/fpaste/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64/usr/share/man
install -d /home/asinha/Documents/02_Code/00_mine/fedora-packages/fpaste/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64/usr/bin
install -p -m0755 fpaste /home/asinha/Documents/02_Code/00_mine/fedora-packages/fpaste/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64/usr/bin
install -d /home/asinha/Documents/02_Code/00_mine/fedora-packages/fpaste/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64/usr/share/man/man1
install -p -m 644 docs/man/en/fpaste.1 /home/asinha/Documents/02_Code/00_mine/fedora-packages/fpaste/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64/usr/share/man/man1/
+ /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 0.4.0.1-3.fc32 --unique-debug-suffix -0.4.0.1-3.fc32.x86_64 --unique-debug-src-base fpaste-0.4.0.1-3.fc32.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/asinha/Documents/02_Code/00_mine/fedora-packages/fpaste/fpaste-0.4.0.1
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-ldconfig
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0
+ /usr/lib/rpm/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
mangling shebang in /usr/bin/fpaste from /usr/bin/env python3 to #!/usr/bin/python3
Processing files: fpaste-0.4.0.1-3.fc32.noarch
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.6b4rqk
+ umask 022
+ cd /home/asinha/Documents/02_Code/00_mine/fedora-packages/fpaste
+ cd fpaste-0.4.0.1
+ DOCDIR=/home/asinha/Documents/02_Code/00_mine/fedora-packages/fpaste/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64/usr/share/doc/fpaste
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /home/asinha/Documents/02_Code/00_mine/fedora-packages/fpaste/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64/usr/share/doc/fpaste
+ cp -pr README.rst /home/asinha/Documents/02_Code/00_mine/fedora-packages/fpaste/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64/usr/share/doc/fpaste
+ cp -pr TODO /home/asinha/Documents/02_Code/00_mine/fedora-packages/fpaste/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64/usr/share/doc/fpaste
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.y0MUah
+ umask 022
+ cd /home/asinha/Documents/02_Code/00_mine/fedora-packages/fpaste
+ cd fpaste-0.4.0.1
+ LICENSEDIR=/home/asinha/Documents/02_Code/00_mine/fedora-packages/fpaste/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64/usr/share/licenses/fpaste
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /home/asinha/Documents/02_Code/00_mine/fedora-packages/fpaste/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64/usr/share/licenses/fpaste
+ cp -pr COPYING /home/asinha/Documents/02_Code/00_mine/fedora-packages/fpaste/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64/usr/share/licenses/fpaste
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: fpaste = 0.4.0.1-3.fc32
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: /usr/bin/python3
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/asinha/Documents/02_Code/00_mine/fedora-packages/fpaste/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64
Wrote: /home/asinha/Documents/02_Code/00_mine/fedora-packages/fpaste/fpaste-0.4.0.1-3.fc32.src.rpm
Wrote: /home/asinha/Documents/02_Code/00_mine/fedora-packages/fpaste/noarch/fpaste-0.4.0.1-3.fc32.noarch.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.RvDbBh
+ umask 022
+ cd /home/asinha/Documents/02_Code/00_mine/fedora-packages/fpaste
+ cd fpaste-0.4.0.1
+ /usr/bin/rm -rf /home/asinha/Documents/02_Code/00_mine/fedora-packages/fpaste/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64
+ RPM_EC=0
++ jobs -p
+ exit 0
2 Likes

I also get the error you get while trying to give karma. Asking in the fedora qa channel, but if they’re not aware of the issue, it’ll be best for us to file one with bodhi upstream.

3 Likes

Reported here now, please add additional comments:

2 Likes

Ok, that’s strange to me. Maybe there are some other packages I have installed which are responsible for the issue?

However, here is my complete output, using fedpkg -v --release f32 local. Note that I cannot use fedpkg co fpaste, as I have not set it up.

[rpmpackageuser@notebook fpaste]$ rpm -qa \*rpkg\*
rpkg-common-1.60-7.fc32.noarch
rpkg-2.7-5.fc32.noarch
python3-rpkg-1.60-7.fc32.noarch
[rpmpackageuser@notebook fpaste]$ wget https://kojipkgs.fedoraproject.org//packages/fpaste/0.4.0.1/1.fc32/src/fpaste-0.4.0.1-1.fc32.src.rpm
--2020-08-11 10:14:08--  https://kojipkgs.fedoraproject.org//packages/fpaste/0.4.0.1/1.fc32/src/fpaste-0.4.0.1-1.fc32.src.rpm
Resolving kojipkgs.fedoraproject.org (kojipkgs.fedoraproject.org)... 38.145.60.20, 38.145.60.21
Connecting to kojipkgs.fedoraproject.org (kojipkgs.fedoraproject.org)|38.145.60.20|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 36546 (36K) [application/x-rpm]
Saving to: ‘fpaste-0.4.0.1-1.fc32.src.rpm’

fpaste-0.4.0.1-1.fc32.src.rpm 100%[===============================================>]  35.69K   109KB/s    in 0.3s  

2020-08-11 10:14:09 (109 KB/s) - ‘fpaste-0.4.0.1-1.fc32.src.rpm’ saved [36546/36546]

[rpmpackageuser@notebook fpaste]$ rpm2cpio fpaste-0.4.0.1-1.fc32.src.rpm |cpio -idm
69 blocks
[rpmpackageuser@notebook fpaste]$ fedpkg -v --release f32 local
Could not execute local: join() argument must be str, bytes, or os.PathLike object, not 'NoneType'
Traceback (most recent call last):
  File "/usr/bin/fedpkg", line 11, in <module>
    load_entry_point('fedpkg==1.38', 'console_scripts', 'fedpkg')()
  File "/usr/lib/python3.8/site-packages/fedpkg/__main__.py", line 87, in main
    sys.exit(client.args.command())
  File "/usr/lib/python3.8/site-packages/pyrpkg/cli.py", line 2164, in local
    self.sources()
  File "/usr/lib/python3.8/site-packages/pyrpkg/cli.py", line 2598, in sources
    self.cmd.sources(outdir)
  File "/usr/lib/python3.8/site-packages/pyrpkg/__init__.py", line 2075, in sources
    if not os.path.exists(self.sources_filename):
  File "/usr/lib/python3.8/site-packages/pyrpkg/__init__.py", line 1099, in sources_filename
    return os.path.join(self.path, self.layout.sources_file_template)
  File "/usr/lib64/python3.8/posixpath.py", line 90, in join
    genericpath._check_arg_types('join', a, *p)
  File "/usr/lib64/python3.8/genericpath.py", line 152, in _check_arg_types
    raise TypeError(f'{funcname}() argument must be str, bytes, or '
TypeError: join() argument must be str, bytes, or os.PathLike object, not 'NoneType'

So, the only other involved packages are fedpkg and python3-libs:
fedpkg-1.38-4.fc32.noarch
python3-libs-3.8.5-2.fc32.x86_64

About the bodhi issue: Thanks for reporting it. I think I have nothing to add at the moment.

1 Like

Ok, I made a completely reproducible version of the error by using a podman container:

steps to reproduce:
fresh fedora 32 container:
$ podman run -it registry.fedoraproject.org/fedora:32-x86_64
# dnf update
# dnf install fedpkg wget make
# cd home
# wget wget https://kojipkgs.fedoraproject.org//packages/fpaste/0.4.0.1/1.fc32/src/fpaste-0.4.0.1-1.fc32.src.rpm
# rpm2cpio fpaste-0.4.0.1-1.fc32.src.rpm |cpio -idm
# fedpkg --release f32 local
This works fine.
Now upgrade with updates-testing.
# dnf --enablerepo=updates-testing update
# fedpkg -v --release f32 local
Could not execute local: join() argument must be str, bytes, or os.PathLike object, not 'NoneType'
Traceback (most recent call last):
  File "/usr/bin/fedpkg", line 11, in <module>
    load_entry_point('fedpkg==1.38', 'console_scripts', 'fedpkg')()
  File "/usr/lib/python3.8/site-packages/fedpkg/__main__.py", line 87, in main
    sys.exit(client.args.command())
  File "/usr/lib/python3.8/site-packages/pyrpkg/cli.py", line 2164, in local
    self.sources()
  File "/usr/lib/python3.8/site-packages/pyrpkg/cli.py", line 2598, in sources
    self.cmd.sources(outdir)
  File "/usr/lib/python3.8/site-packages/pyrpkg/__init__.py", line 2075, in sources
    if not os.path.exists(self.sources_filename):
  File "/usr/lib/python3.8/site-packages/pyrpkg/__init__.py", line 1099, in sources_filename
    return os.path.join(self.path, self.layout.sources_file_template)
  File "/usr/lib64/python3.8/posixpath.py", line 90, in join
    genericpath._check_arg_types('join', a, *p)
  File "/usr/lib64/python3.8/genericpath.py", line 152, in _check_arg_types
    raise TypeError(f'{funcname}() argument must be str, bytes, or '
TypeError: join() argument must be str, bytes, or os.PathLike object, not 'NoneType'

Do you get the same result?
And by the way, people are now giving positive karma on bodhi and I can still not comment and prevent a potentially broken package from being sent to stable…

2 Likes

That’s OK. The idea of the karma system is that updates get pushed as long as they work for most people. As in, updates aren’t blocked if they receive one negative karma, unless they are critical path updates which fedpkg isn’t. If they’re not working for individuals, as in this case, we debug that and see why. From the karma the update is receiving, it’s more likely to be a corner case that will affect a small number of users.

I’ll go test your reproducer out now. Please also mention it on the bug if you haven’t already.

1 Like

Update: Miro found another regression and edited the update to not go to stable automatically. He’s alsor run into the bodhi issue and filed a ticket with Fedora infra also:

https://pagure.io/fedora-infrastructure/issue/9219

Seems like the issue is known and is being worked upon too. The workaround is to use the bodhi cli tool for the time being:

1 Like

This isn’t reproducing the error for me. Very weird:

(ins)[asinha@ankur  ~]$ podman run -it registry.fedoraproject.org/fedora:32-x86_64
Trying to pull registry.fedoraproject.org/fedora:32-x86_64...
Getting image source signatures
Copying blob dd9f43919ba0 done
Copying config 00ff39a8bf done
Writing manifest to image destination
Storing signatures
[root@b90ae827b8be /]# sudo dnf update
...
Complete!

[root@b90ae827b8be /]# dnf install fedpkg wget make
...
Complete!

[root@b90ae827b8be /]# cd

[root@b90ae827b8be ~]# ls
anaconda-ks.cfg  anaconda-post-nochroot.log  anaconda-post.log  original-ks.cfg

[root@b90ae827b8be ~]# git clone https://src.fedoraproject.org/rpms/fpaste.git
Cloning into 'fpaste'...
remote: Enumerating objects: 359, done.
remote: Counting objects: 100% (359/359), done.
remote: Compressing objects: 100% (298/298), done.
remote: Total 359 (delta 146), reused 117 (delta 49)
Receiving objects: 100% (359/359), 69.66 KiB | 614.00 KiB/s, done.
Resolving deltas: 100% (146/146), done.

[root@b90ae827b8be ~]# cd fpaste/
[root@b90ae827b8be fpaste]# fedpkg --release f32 local
Downloading fpaste-0.4.0.1.tar.gz
######################################################################## 100.0%

setting SOURCE_DATE_EPOCH=1595808000
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Yr7ZyS
+ umask 022
+ cd /root/fpaste
+ cd /root/fpaste
+ rm -rf fpaste-0.4.0.1
+ /usr/bin/gzip -dc /root/fpaste/fpaste-0.4.0.1.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd fpaste-0.4.0.1
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.kyMAJS
+ umask 022
+ cd /root/fpaste
+ cd fpaste-0.4.0.1
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.fTQgiR
+ umask 022
+ cd /root/fpaste
+ '[' /root/rpmbuild/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64 '!=' / ']'
+ rm -rf /root/rpmbuild/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64
++ dirname /root/rpmbuild/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64
+ mkdir -p /root/rpmbuild/BUILDROOT
+ mkdir /root/rpmbuild/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64
+ cd fpaste-0.4.0.1
+ mkdir -p /root/rpmbuild/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64/usr/bin
+ make install BINDIR=/root/rpmbuild/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64/usr/bin MANDIR=/root/rpmbuild/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64/usr/share/man
install -d /root/rpmbuild/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64/usr/bin
install -p -m0755 fpaste /root/rpmbuild/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64/usr/bin
install -d /root/rpmbuild/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64/usr/share/man/man1
install -p -m 644 docs/man/en/fpaste.1 /root/rpmbuild/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64/usr/share/man/man1/
+ /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 0.4.0.1-3.fc32 --unique-debug-suffix -0.4.0.1-3.fc32.x86_64 --unique-debug-src-base fpaste-0.4.0.1-3.fc32.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /root/fpaste/fpaste-0.4.0.1
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-ldconfig
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0
+ /usr/lib/rpm/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
mangling shebang in /usr/bin/fpaste from /usr/bin/env python3 to #!/usr/bin/python3
Processing files: fpaste-0.4.0.1-3.fc32.noarch
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.1QZATQ
+ umask 022
+ cd /root/fpaste
+ cd fpaste-0.4.0.1
+ DOCDIR=/root/rpmbuild/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64/usr/share/doc/fpaste
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /root/rpmbuild/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64/usr/share/doc/fpaste
+ cp -pr README.rst /root/rpmbuild/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64/usr/share/doc/fpaste
+ cp -pr TODO /root/rpmbuild/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64/usr/share/doc/fpaste
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.4A0PoT
+ umask 022
+ cd /root/fpaste
+ cd fpaste-0.4.0.1
+ LICENSEDIR=/root/rpmbuild/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64/usr/share/licenses/fpaste
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /root/rpmbuild/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64/usr/share/licenses/fpaste
+ cp -pr COPYING /root/rpmbuild/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64/usr/share/licenses/fpaste
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: fpaste = 0.4.0.1-3.fc32
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: /usr/bin/python3
Checking for unpackaged file(s): /usr/lib/rpm/check-files /root/rpmbuild/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64
Wrote: /root/fpaste/fpaste-0.4.0.1-3.fc32.src.rpm
Wrote: /root/fpaste/noarch/fpaste-0.4.0.1-3.fc32.noarch.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.AIRz4T
+ umask 022
+ cd /root/fpaste
+ cd fpaste-0.4.0.1
+ /usr/bin/rm -rf /root/rpmbuild/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64
+ RPM_EC=0
++ jobs -p
+ exit 0


[root@b90ae827b8be fpaste]# dnf --enablerepo=updates-testing update
...
Upgraded:
  cpio-2.13-6.fc32.x86_64             krb5-libs-1.18.2-19.fc32.x86_64     krb5-workstation-1.18.2-19.fc32.x86_64     libkadm5-1.18.2-19.fc32.x86_64     libmetalink-0.1.3-13.fc32.x86_64     python3-requests-gssapi-1.2.2-1.fc32.noarch
  python3-rpkg-1.60-7.fc32.noarch     rpkg-common-1.60-7.fc32.noarch

Complete!


[root@b90ae827b8be fpaste]# fedpkg --release f32 local
setting SOURCE_DATE_EPOCH=1595808000
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.JFWpdq
+ umask 022
+ cd /root/fpaste
+ cd /root/fpaste
+ rm -rf fpaste-0.4.0.1
+ /usr/bin/gzip -dc /root/fpaste/fpaste-0.4.0.1.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd fpaste-0.4.0.1
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8iz6Mp
+ umask 022
+ cd /root/fpaste
+ cd fpaste-0.4.0.1
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.EdtnTq
+ umask 022
+ cd /root/fpaste
+ '[' /root/rpmbuild/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64 '!=' / ']'
+ rm -rf /root/rpmbuild/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64
++ dirname /root/rpmbuild/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64
+ mkdir -p /root/rpmbuild/BUILDROOT
+ mkdir /root/rpmbuild/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64
+ cd fpaste-0.4.0.1
+ mkdir -p /root/rpmbuild/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64/usr/bin
+ make install BINDIR=/root/rpmbuild/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64/usr/bin MANDIR=/root/rpmbuild/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64/usr/share/man
install -d /root/rpmbuild/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64/usr/bin
install -p -m0755 fpaste /root/rpmbuild/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64/usr/bin
install -d /root/rpmbuild/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64/usr/share/man/man1
install -p -m 644 docs/man/en/fpaste.1 /root/rpmbuild/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64/usr/share/man/man1/
+ /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 0.4.0.1-3.fc32 --unique-debug-suffix -0.4.0.1-3.fc32.x86_64 --unique-debug-src-base fpaste-0.4.0.1-3.fc32.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /root/fpaste/fpaste-0.4.0.1
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-ldconfig
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0
+ /usr/lib/rpm/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
mangling shebang in /usr/bin/fpaste from /usr/bin/env python3 to #!/usr/bin/python3
Processing files: fpaste-0.4.0.1-3.fc32.noarch
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.1ukpkr
+ umask 022
+ cd /root/fpaste
+ cd fpaste-0.4.0.1
+ DOCDIR=/root/rpmbuild/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64/usr/share/doc/fpaste
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /root/rpmbuild/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64/usr/share/doc/fpaste
+ cp -pr README.rst /root/rpmbuild/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64/usr/share/doc/fpaste
+ cp -pr TODO /root/rpmbuild/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64/usr/share/doc/fpaste
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.NXEVAr
+ umask 022
+ cd /root/fpaste
+ cd fpaste-0.4.0.1
+ LICENSEDIR=/root/rpmbuild/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64/usr/share/licenses/fpaste
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /root/rpmbuild/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64/usr/share/licenses/fpaste
+ cp -pr COPYING /root/rpmbuild/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64/usr/share/licenses/fpaste
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: fpaste = 0.4.0.1-3.fc32
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: /usr/bin/python3
Checking for unpackaged file(s): /usr/lib/rpm/check-files /root/rpmbuild/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64
Wrote: /root/fpaste/fpaste-0.4.0.1-3.fc32.src.rpm
Wrote: /root/fpaste/noarch/fpaste-0.4.0.1-3.fc32.noarch.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.QRqhlt
+ umask 022
+ cd /root/fpaste
+ cd fpaste-0.4.0.1
+ /usr/bin/rm -rf /root/rpmbuild/BUILDROOT/fpaste-0.4.0.1-3.fc32.x86_64
+ RPM_EC=0
++ jobs -p
+ exit 0
[root@b90ae827b8be fpaste]#

For the records, I’m able to reproduce.

2 Likes

Me too.

(post must be at least 20 char

1 Like

Ok.
It seems that it fails if there is no sources file.
The sources file, in this case, contains

SHA512 (fpaste-0.4.0.1.tar.gz) = 7003db75e36b0d2e2cf0a705a2207f5c26c119c7f5696074884251da6e48de0df063b09214610cd6d454cc117666ba5c19b7975f2e8ab08af6961cea42096171

Indeed, using fedpkg clone fpaste, there is no problem.
Indeed git clone https://src.fedoraproject.org/rpms/fpaste.git (used by @FranciscoD) downloads this file as well.

4 Likes

I think there are some changes, look at this comment: https://pagure.io/rpkg/pull-request/393#comment-68318
I’m not a developer. And I don’t follow the development of rpkg, but it looks that the behavior has changed related to the mentioned sources files. Maybe you could ask who develop such package for clarifications. You can file an issue there: https://pagure.io/rpkg

4 Likes

Thanks everyone. So the bodhi issue is apparently fixed in https://github.com/fedora-infra/bodhi/pull/4090 and will eventually be deployed and the issue with fedpkg has an easy workaround (thanks to @alciregi). So this solves it for me.
Thanks again.

4 Likes

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.